svelte-component-generator
使用TypeScript和作用域样式生成Svelte组件。在"创建svelte组件"、"生成svelte文件"、"svelte模块"、".svelte组件"时触发。
📖 中文导读:使用TypeScript和作用域样式生成Svelte组件。在"创建svelte组件"、"生成svelte文件"、"svelte模块"、".svelte组件"时触发。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: svelte-component-generator description: Generate Svelte components with TypeScript and scoped styles. Triggers on "create svelte component", "generate svelte file", "svelte module", ".svelte component".
Svelte Component Generator
Generate Svelte components with TypeScript and scoped CSS.
Output Requirements
File Output: *.svelte component files
Format: Valid Svelte 5
Standards: Svelte 5 with TypeScript
When Invoked
Immediately generate a complete Svelte component with props and styles.
Example Invocations
Prompt: "Create Svelte button component"
Output: Complete Button.svelte with variants.