- 对 Svelte 组件使用 .svelte 扩展名
- 在
<script>标签中使用 TypeScript 语法: svelte
- 在
Sveltekit Tailwind Typescript Guide Svelte Component Syntax
Use when working with SvelteKit — component syntax, .svelte files, TypeScript script tags
Sveltekit Tailwind Typescript Guide Svelte Component Syntax by liaosw97 · 5069934
npx skillmds@latest add liaosw97/sveltekit-tailwind-typescript-guide-svelte-component-syntax File contents
---name: sveltekit-tailwind-typescript-guide-svelte-component-syntaxdescription: Use when working with SvelteKit — component syntax, .svelte files, TypeScript script tags---- 对 Svelte 组件使用 .svelte 扩展名 - 在 `<script>` 标签中使用 TypeScript 语法: svelte <script lang="ts"> // TypeScript 代码在这里 </script>
liaosw97/awesome-rules-skills/tree/main/plugins/sveltekit-tailwind/skills/sveltekit-tailwind-typescript-guide-svelte-component-syntax commit 506993469e
Frequently asked questions
Run npx skillmds@latest add liaosw97/sveltekit-tailwind-typescript-guide-svelte-component-syntax in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Use when working with SvelteKit — component syntax, .svelte files, TypeScript script tags It is listed under Web & Frontend on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
liaosw97 (@liaosw97) published this skill. Their other Agent Skills are listed on their SkillMD profile.