Svelte Scaffold
Scaffold new SvelteKit projects, features, or modules with best practices and optimal project structure.
npx claude-code-templates@latest --command svelte/svelte-scaffold Scanned by NVIDIA SkillSpector
Automated static analysis (no LLM) · v2.12.0 · 2026-10-23
Partial analysis: some checks could not run on this component.
SkillSpector looks for patterns such as shell commands, credential access, network calls or unpinned dependencies. An observation is something worth reading in the files before you install, not a confirmed vulnerability. Components that run code locally, like hooks, MCP servers and security tooling, naturally show more of them.
- npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.MCP Rug Pull · svelte-scaffold.md:16
Learn more about NVIDIA SkillSpector.
Content
/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:
Project Types:
New SvelteKit Project:
- Use
npx sv createwith 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
- Use
Project Structure:
project/ ├── src/ │ ├── routes/ │ │ ├── (app)/ │ │ ├── (auth)/ │ │ └── api/ │ ├── lib/ │ │ ├── components/ │ │ ├── stores/ │ │ ├── utils/ │ │ └── server/ │ ├── hooks.server.ts │ └── app.html ├── tests/ ├── static/ └── [config files]Essential Features:
- Environment variable setup
- Database configuration
- Authentication scaffolding
- API route templates
- Error handling
- Logging setup
- Deployment configuration
Configuration Files:
svelte.config.js- Optimized settingsvite.config.js- Build optimizationplaywright.config.js- E2E testingtailwind.config.js- Styling (if selected).env.example- Environment templatedocker-compose.yml- Container setup
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