A Claude Code skill for shadcn-svelte - a Svelte 5 port of shadcn/ui with beautifully designed, accessible components.
Install the latest release using curl:
curl -fsSL https://github.com/antstanley/shadcn-svelte-skill/releases/latest/download/install.sh | bash
This installs the skill to ~/.claude/skills/shadcn-svelte.
# Download and run the install script for a specific version
curl -fsSL https://github.com/antstanley/shadcn-svelte-skill/releases/download/v1.0.0/install.sh | bash
python scripts/package_skill.py shadcn-svelte dist
mkdir -p ~/.claude/skills/shadcn-svelte
unzip dist/shadcn-svelte.skill -d ~/.claude/skills/shadcn-svelte
Once installed, the skill activates when you ask Claude about:
"Add a dialog component to my SvelteKit app"
"How do I create a form with validation using shadcn-svelte?"
"Set up dark mode in my Svelte project"
"Create a data table with sorting and pagination"
.
├── shadcn-svelte/ # The skill source
│ ├── SKILL.md # Main instructions
│ └── references/ # Component & guide docs
├── source/ # Downloaded upstream docs
│ ├── llms.txt # Doc index with local paths
│ └── docs/ # Raw documentation
├── scripts/ # Build & maintenance scripts
├── prompts/ # LLM prompts for maintenance
└── .github/workflows/ # CI/CD automation
python scripts/validate_skill.py shadcn-svelte
python scripts/package_skill.py shadcn-svelte dist
Creates dist/shadcn-svelte.skill.
Releases are automated via GitHub Actions when a version tag is pushed to the main branch.
Update CHANGELOG.md with the new version section:
## [1.1.0] - 2025-01-25
### Added
- New feature description
### Changed
- Change description
Commit the changelog:
git add CHANGELOG.md
git commit -m "docs: update changelog for v1.1.0"
Create and push a version tag:
git tag v1.1.0
git push origin main
git push origin v1.1.0
The workflow will automatically:
main branch.skill file attachedTags must follow semantic versioning: v{major}.{minor}.{patch}
v1.0.0 - Initial releasev1.1.0 - New features (backward compatible)v1.0.1 - Bug fixesThe skill's documentation comes from shadcn-svelte.com. To update:
python scripts/download_docs.py
This downloads:
.md files referenced in llms.txtsource/docs/source/llms.txt with local pathsUse the provided prompt with Claude Code to update the skill:
cat prompts/UPDATE_SKILL.md
Or run Claude Code in this directory and ask:
Read prompts/UPDATE_SKILL.md and follow the instructions to update the skill
based on any changes in source/docs/
The prompt guides Claude to:
shadcn-svelte/references/ with new contentSKILL.md if neededpython scripts/validate_skill.py shadcn-svelte
python scripts/package_skill.py shadcn-svelte dist
A GitHub workflow runs daily at 4am UTC to:
Review and merge these PRs to keep the skill up to date.
MIT