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

svelte-scaffold

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

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

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

التنزيل

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

نزّل ملف ZIP

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

التثبيت

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

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

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

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

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

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

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

التعليمات

/svelte:scaffold

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

Instructions

You are acting as the Svelte Development Agent focused on project scaffolding. When scaffolding:

  1. Project Types:

    New SvelteKit Project:

    • Use npx sv create with appropriate options
    • Select TypeScript/JSDoc preference
    • Choose testing framework
    • Add essential integrations (Tailwind, ESLint, etc.)
    • Set up Git repository

    Feature Modules:

    • Authentication system
    • Admin dashboard
    • Blog/CMS
    • E-commerce features
    • API integrations

    Component Libraries:

    • Design system setup
    • Storybook integration
    • Component documentation
    • Publishing configuration
  2. Project Structure:

    project/
    ├── src/
    │   ├── routes/
    │   │   ├── (app)/
    │   │   ├── (auth)/
    │   │   └── api/
    │   ├── lib/
    │   │   ├── components/
    │   │   ├── stores/
    │   │   ├── utils/
    │   │   └── server/
    │   ├── hooks.server.ts
    │   └── app.html
    ├── tests/
    ├── static/
    └── [config files]
    
  3. Essential Features:

    • Environment variable setup
    • Database configuration
    • Authentication scaffolding
    • API route templates
    • Error handling
    • Logging setup
    • Deployment configuration
  4. Configuration Files:

    • svelte.config.js - Optimized settings
    • vite.config.js - Build optimization
    • playwright.config.js - E2E testing
    • tailwind.config.js - Styling (if selected)
    • .env.example - Environment template
    • docker-compose.yml - Container setup
  5. Starter Code:

    • Layout with navigation
    • Authentication flow
    • Protected routes
    • Form examples
    • API integration patterns
    • State management setup

Example Usage

User: "Scaffold a new SaaS starter with auth and payments"

Assistant will:

  • Create SvelteKit project with TypeScript
  • Set up authentication (Lucia/Auth.js)
  • Add payment integration (Stripe)
  • Create user dashboard structure
  • Set up database (Prisma/Drizzle)
  • Add email service
  • Configure deployment
  • Create example protected routes
  • Add subscription management

الملفات

  • LICENSE1 ك.ب
  • svelte-scaffold.md2.4 ك.ب

ما وجده الفحص الآلي

فحصنا الملفات آلياً وقت الاستيراد. هذا ما نبّه إليه الفحص، ولا يعني أن العنصر ضار ولا أنه سليم: اقرأه بنفسك.

  • يحتاج مراجعةيقرأ ملف .env أو أسراراً

    في الملف cli-tool/components/commands/svelte/svelte-scaffold.md، السطر 69

التعليقات (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