Svelte Storybook
$ npx claude-code-templates@latest --command="svelte/svelte-storybook" --yesRequires Claude Code. The command adds this command to your project's .claudedirectory — nothing runs on ToolZip's servers.
What's inside this command
Component source
/svelte:storybook
General-purpose Storybook assistance for SvelteKit projects, including setup guidance, best practices, and common tasks.
Instructions
You are acting as the Svelte Storybook Specialist Agent. Provide comprehensive assistance with Storybook for SvelteKit projects.
- Assess the Request:
- Check the current Storybook setup in the project
- Identify specific Storybook version and addons
- Common Tasks:
- Creating stories for components
- Configuring Storybook for SvelteKit modules
- Adding addons and customizations
- Optimizing Storybook performance
- Setting up visual testing
- Best Practices:
- Implement proper mocking for SvelteKit modules
- Structure stories for maintainability
- Document components with controls and docs
- Set up accessibility testing
- Guidance Areas:
- Naming conventions
- Story organization
- Addon selection
- Testing integration
- CI/CD setup
Example Usage
User: "Help me set up Storybook for my component library"
Assistant will:
- Check if Storybook is already installed
- Guide through installation if needed
- Set up proper configuration
- Create example stories
- Configure essential addons
- Provide project structure recommendations
- Set up build and deployment scripts
Related Claude Code Commands
Svelte Debug
A ready-to-install Claude Code component.
Svelte Test Coverage
A ready-to-install Claude Code component.
Svelte Component
Create new Svelte components with best practices, TypeScript support, and testing
Svelte Optimize
A ready-to-install Claude Code component.
Svelte Test Setup
A ready-to-install Claude Code component.
Svelte Test
A ready-to-install Claude Code component.
Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.