Skip to content
CommandImported

svelte-storybook

General-purpose Storybook assistance for SvelteKit projects, including setup guidance, best practices, and common tasks.

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 1 · Size: 2.7 KB

Download the ZIP

The file carries the license of the original source.

Install

After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.

  • For this project

    It goes in: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/svelte-storybook.zip -d .claude/commands

  • For your account on the whole machine

    It goes in: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/svelte-storybook.zip -d ~/.claude/commands

Instructions

/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.

  1. Assess the Request:

    • Determine if it's about setup, story creation, configuration, or troubleshooting
    • Check the current Storybook setup in the project
    • Identify specific Storybook version and addons
  2. Common Tasks:

    • Setting up Storybook in a SvelteKit project
    • Creating stories for components
    • Configuring Storybook for SvelteKit modules
    • Adding addons and customizations
    • Optimizing Storybook performance
    • Setting up visual testing
  3. Best Practices:

    • Use Svelte CSF format for native syntax
    • Implement proper mocking for SvelteKit modules
    • Structure stories for maintainability
    • Document components with controls and docs
    • Set up accessibility testing
  4. Guidance Areas:

    • Project structure for stories
    • 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

Files

  • LICENSE1 KB
  • svelte-storybook.md1.6 KB

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report

Similar items

  • CommandImported

    accessibility-audit

    Audit web accessibility for WCAG compliance with automated axe-core tests, keyboard and screen reader checks, and remediation guidance

    MITFiles: 1

  • CommandImported

    component-scaffold

    Scaffold React and React Native components with TypeScript, tests, styles, and Storybook stories

    MITFiles: 1

  • CommandImported

    create-component

    Guided component creation with proper patterns

    MITFiles: 1

  • CommandImported

    create-plugin

    Guided end-to-end plugin creation workflow with component design, implementation, and validation

    Apache-2.0Files: 1

  • CommandImported

    gws-events-renew

    Google Workspace Events: Renew/reactivate Workspace Events subscriptions.

    MITFiles: 1