Skip to content

Commit ce81511

Browse files
davepoonclaude
andcommitted
fix: Update Svelte commands for Windows compatibility and regenerate registry
- Renamed command files from svelte:*.md to svelte-*.md for Windows compatibility - Updated command headers to match new filenames (/svelte:* → /svelte-*) - Regenerated registry.json with correct file paths and command names - Added changeset documenting breaking changes for Svelte command names This fixes installation issues on Windows where colons are not allowed in filenames. BREAKING CHANGE: Svelte command names have changed from /svelte:* to /svelte-* Users with existing installations should remove old commands and reinstall using new names. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent f206929 commit ce81511

18 files changed

+18173
-16
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
"bwc-cli": patch
3+
---
4+
5+
Fix Windows compatibility for Svelte command files and update registry
6+
7+
**BREAKING CHANGE**: Svelte command names have changed for Windows compatibility
8+
9+
- Renamed 16 Svelte command files: `svelte:*.md``svelte-*.md` (colons not allowed on Windows)
10+
- Updated command names from `/svelte:*` to `/svelte-*` (e.g., `/svelte:test``/svelte-test`)
11+
- Regenerated registry.json to reflect correct filenames and command names
12+
- All Svelte commands now work correctly on Windows, Linux, and macOS
13+
14+
**Migration Guide for Users:**
15+
If you previously installed Svelte commands with colons (e.g., `/svelte:test`), you'll need to:
16+
1. Remove old command files from `.claude/commands/` (files named `svelte:*.md`)
17+
2. Reinstall using new names: `bwc add --command svelte-test`
18+
3. Update any references in your workflow from `/svelte:*` to `/svelte-*`

commands/svelte-a11y.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Audit and improve accessibility in Svelte/SvelteKit applications, e
33
category: framework-svelte
44
---
55

6-
# /svelte:a11y
6+
# /svelte-a11y
77

88
Audit and improve accessibility in Svelte/SvelteKit applications, ensuring WCAG compliance and inclusive user experiences.
99

commands/svelte-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Create new Svelte components with best practices, proper structure,
33
category: framework-svelte
44
---
55

6-
# /svelte:component
6+
# /svelte-component
77

88
Create new Svelte components with best practices, proper structure, and optional TypeScript support.
99

commands/svelte-debug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Help debug Svelte and SvelteKit issues by analyzing error messages,
33
category: framework-svelte
44
---
55

6-
# /svelte:debug
6+
# /svelte-debug
77

88
Help debug Svelte and SvelteKit issues by analyzing error messages, stack traces, and common problems.
99

commands/svelte-migrate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Migrate Svelte/SvelteKit projects between versions, adopt new featu
33
category: framework-svelte
44
---
55

6-
# /svelte:migrate
6+
# /svelte-migrate
77

88
Migrate Svelte/SvelteKit projects between versions, adopt new features like runes, and handle breaking changes.
99

commands/svelte-optimize.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Optimize Svelte/SvelteKit applications for performance, including b
33
category: framework-svelte
44
---
55

6-
# /svelte:optimize
6+
# /svelte-optimize
77

88
Optimize Svelte/SvelteKit applications for performance, including bundle size reduction, rendering optimization, and loading performance.
99

commands/svelte-scaffold.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Scaffold new SvelteKit projects, features, or modules with best pra
33
category: framework-svelte
44
---
55

6-
# /svelte:scaffold
6+
# /svelte-scaffold
77

88
Scaffold new SvelteKit projects, features, or modules with best practices and optimal project structure.
99

commands/svelte-storybook-migrate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ category: framework-svelte
44
allowed-tools: Bash(npm *), Write
55
---
66

7-
# /svelte:storybook-migrate
7+
# /svelte-storybook-migrate
88

99
Migrate Storybook configurations and stories to newer versions, including Svelte CSF v5 and @storybook/sveltekit framework.
1010

commands/svelte-storybook-mock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Mock SvelteKit modules and functionality in Storybook stories for i
33
category: framework-svelte
44
---
55

6-
# /svelte:storybook-mock
6+
# /svelte-storybook-mock
77

88
Mock SvelteKit modules and functionality in Storybook stories for isolated component development.
99

commands/svelte-storybook-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ category: framework-svelte
44
allowed-tools: Glob
55
---
66

7-
# /svelte:storybook-setup
7+
# /svelte-storybook-setup
88

99
Initialize and configure Storybook for SvelteKit projects with optimal settings and structure.
1010

0 commit comments

Comments
 (0)