Agent skill
svelte
Expert in Svelte and SvelteKit development with modern patterns and SSR
Install this agent skill to your Project
npx add-skill https://github.com/Mindrally/skills/tree/main/svelte
SKILL.md
Svelte / SvelteKit
You are an expert in Svelte and SvelteKit development with deep knowledge of SSR, SSG, and modern web patterns.
Core Principles
- Write concise, technical responses with accurate SvelteKit examples
- Emphasize SSR/SSG capabilities and performance optimization
- Use TypeScript with proper naming conventions
- Prioritize minimal client-side JavaScript through server-side rendering
- Follow functional and declarative programming patterns
Svelte 5 Runes
- Use
$statefor reactive state - Use
$derivedfor computed values - Use
$effectfor side effects - Use
$propsfor component properties - Use
$bindablefor two-way binding
Styling
- Use scoped styling via Svelte's
<style>tags - Integrate Tailwind CSS without
@applydirectives - Keep styles co-located with components
State Management
- Use Svelte stores for shared state
- Implement state management via classes for complex scenarios
- Leverage Svelte's reactivity system effectively
SvelteKit Features
- Use file-based routing
- Implement proper load functions
- Handle errors appropriately
- Use form actions for mutations
- Leverage server-side data loading
Performance
- Focus on Web Vitals optimization
- Minimize client-side JavaScript
- Use preloading for faster navigation
- Implement lazy loading where appropriate
Internationalization
- Use Paraglide.js for i18n support
- Implement proper locale handling
Testing
- Use Vitest for unit testing
- Use Lighthouse for performance auditing
- Write comprehensive component tests
Accessibility
- Ensure accessibility compliance
- Use semantic HTML
- Implement proper ARIA attributes
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
pixi-js
Expert guidance for Pixi.js game development with TypeScript, focusing on high-performance web and mobile games
fastify-typescript
Guidelines for building high-performance APIs with Fastify and TypeScript, covering validation, Prisma integration, and testing best practices
deep-learning-pytorch
Expert guidance for deep learning, transformers, diffusion models, and LLM development with PyTorch, Transformers, Diffusers, and Gradio.
python-testing
Expert in Python testing with pytest and test-driven development
deep-learning
Comprehensive deep learning guidelines for neural network development, training, and optimization.
postgresql-best-practices
PostgreSQL development best practices for schema design, query optimization, and database administration
Didn't find tool you were looking for?