---
name: svelte
description: Svelte and SvelteKit development with built-in reactivity, stores, SSR/SSG, and modern web patterns.
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
---
# Svelte Skill
Expert assistance for building applications with Svelte and SvelteKit.
## Capabilities
- Create Svelte components with reactive declarations
- Implement Svelte stores for state management
- Configure SvelteKit for SSR/SSG/SPA
- Build API routes and form actions
- Set up load functions for data fetching
- Implement transitions and animations
## Usage
Invoke this skill when you need to:
- Build Svelte/SvelteKit applications
- Create reactive components
- Implement server-side rendering
- Set up form handling with actions
- Configure deployment
## Inputs
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| componentName | string | Yes | Component name |
| sveltekit | boolean | No | Using SvelteKit (default: true) |
| typescript | boolean | No | Use TypeScript (default: true) |
| ssr | boolean | No | Enable SSR (default: true) |
## Component Patterns
### Basic Component
```svelte
```
## Best Practices
- Use reactive declarations ($:) for derived values
- Leverage SvelteKit's load functions for data
- Use form actions for mutations
- Keep stores simple and focused
- Use TypeScript for type safety
## Target Processes
- svelte-application-development
- sveltekit-full-stack
- jamstack-development
- frontend-architecture