
Svelte Code Writer
Skill让 agent 在创建、修改或分析 Svelte 组件与模块时,通过 npx 调用 @sveltejs/mcp 命令行:列出并查阅 Svelte 5 与 SvelteKit 文档章节,用 svelte-autofixer 检查代码问题,并在交付前用它校验每个组件。Svelte 官方技能。
name: svelte-code-writer
description: CLI tools for Svelte 5 documentation lookup and code analysis. MUST be used whenever creating, editing or analyzing any Svelte component (`.svelte`) or Svelte module (`.svelte.ts`/`.svelte.js`). If possible, this skill should be executed within the `svelte-file-editor` subagent for optimal results.
CLI tools
You have access to @sveltejs/mcp CLI for Svelte-specific assistance. Use these commands via npx:
List documentation sections
npx @sveltejs/mcp list-sections
Lists all available Svelte 5 and SvelteKit documentation sections with titles and paths.
Get documentation
npx @sveltejs/mcp get-documentation "<section1>,<section2>,..."
Retrieves full documentation for specified sections. Use after list-sections to fetch relevant docs.
Example:
npx @sveltejs/mcp get-documentation "$state,$derived,$effect"
Svelte autofixer
npx @sveltejs/mcp svelte-autofixer "<code_or_path>" [options]
Analyzes Svelte code and suggests fixes for common issues.
Options:
--async- Enable async Svelte mode (default: false)--svelte-version- Target version, ideally the full version frompackage.json(e.g.5.16.0) so version-specific suggestions are enabled. The major must be 4 or 5 (default: 5)
Examples:
# Analyze inline code (escape $ as \$)
npx @sveltejs/mcp svelte-autofixer '<script>let count = \$state(0);</script>'
# Analyze a file
npx @sveltejs/mcp svelte-autofixer ./src/lib/Component.svelte
# Target Svelte 4
npx @sveltejs/mcp svelte-autofixer ./Component.svelte --svelte-version 4
Important: When passing code with runes ($state, $derived, etc.) via the terminal, escape the $ character as \$ to prevent shell variable substitution.
Workflow
- Uncertain about syntax? Run
list-sectionsthenget-documentationfor relevant topics - Reviewing/debugging? Run
svelte-autofixeron the code to detect issues - Always validate - Run
svelte-autofixerbefore finalizing any Svelte component
相關資源

React Composition Patterns
SkillVercel 出品的 React 组合模式指南:用复合组件、状态提升和清晰的 Context 接口取代布尔 props 泛滥,含 React 19 API 变化,适合重构组件库与评审组件架构。
vercel-labs/agent-skills33.5k
Vercel React Best Practices
SkillVercel 工程团队整理的 React 与 Next.js 性能规范,70 条规则按影响排序,涵盖消除请求瀑布、包体积、服务端性能与重复渲染,供编写、评审与重构时对照。Vercel 官方维护。
vercel-labs/agent-skills33.4k
Antfu Conventions
SkillAnthony Fu 对 JavaScript / TypeScript 项目的约定与工具偏好:代码组织、显式导入、Vitest 测试写法,以及 @antfu/ni、开启 antislop 的 @antfu/eslint-config、Knip、tsdown 和统一的 ci 脚本,新建项目时参照 antfu/starter-ts 模板。
antfu/skills6k
Impeccable
Plugin前端设计质量插件:一个技能加 24 个命令(audit、critique、polish 等),内置 61 条确定性检测规则,找出 AI 生成界面的常见设计毛病并逐项打磨。
pbakaus/impeccable105k
Angular CLI MCP Server
MCPAngular CLI 内置的 MCP 服务器(ng mcp):让 agent 检索 angular.dev 官方文档、获取最佳实践、列出工作区项目、启动开发服务器并运行构建与测试目标,支持只读与离线模式。Angular 团队官方维护。
angular/angular-cli27k
Biome
CLIWeb 项目一体化工具链:为 JS、TS、JSX、JSON、CSS 与 GraphQL 提供快速格式化和 500 多条规则的 lint,格式与 Prettier 高度兼容,check --write 一次修复。
biomejs/biome26.1k