تخطَّ إلى المحتوى
أمرمستورد

svelte-storybook

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

وصف مستورد لم يراجعه محرر بعد

جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.

التنزيل

الملفات: 1 · الحجم: 2.7 ك.ب

نزّل ملف ZIP

يحمل الملف ترخيص المصدر الأصلي.

التثبيت

بعد التنزيل، شغّل الأمر في الطرفية. يسأل unzip قبل أن يستبدل أي ملف موجود.

  • لهذا المشروع

    يوضع في: .claude/commands/

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

  • لحسابك على الجهاز كله

    يوضع في: ~/.claude/commands/

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

التعليمات

/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

الملفات

  • LICENSE1 ك.ب
  • svelte-storybook.md1.6 ك.ب

التعليقات (0)

لا تعليقات بعد. كن أول من يعلّق.

سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).

أبلغ

عناصر مشابهة

  • أمرمستورد

    accessibility-audit

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

    MITالملفات: 1

  • أمرمستورد

    component-scaffold

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

    MITالملفات: 1

  • أمرمستورد

    create-component

    Guided component creation with proper patterns

    MITالملفات: 1

  • أمرمستورد

    create-plugin

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

    Apache-2.0الملفات: 1

  • أمرمستورد

    gws-events-renew

    Google Workspace Events: Renew/reactivate Workspace Events subscriptions.

    MITالملفات: 1