svelte-code-writer
/svelte-code-writer
Udostępnia narzędzia CLI do wyszukiwania w dokumentacji Svelte 5 i analizy kodu, wymagane przy tworzeniu, edycji i analizie komponentów .svelte oraz modułów .svelte.ts i .svelte.js.
- Autor
- sveltejs ↗
- Repozytorium
- ai-tools ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 26.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Udostępnia narzędzia CLI do wyszukiwania w dokumentacji Svelte 5 i analizy kodu, wymagane przy tworzeniu, edycji i analizie komponentów .svelte oraz modułów .svelte.ts i .svelte.js.
Oryginalny opis (EN)
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.
Jak działa
- CLI tools
- Workflow
Podgląd SKILL.md
--- 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 ```bash npx @sveltejs/mcp list-sections ``` Lists all available Svelte 5 and SvelteKit documentation sections with titles and paths. ### Get documentation ```bash npx @sveltejs/mcp get-documentation "<section1>,<section2>,..." ``` Retrieves full documentation for specified sections. Use after `list-sections` to fetch relevant docs. **Example:** ```bash npx @sveltejs/mcp get-documentation "$state,$derived,$effect" ``` ### Svelte autofixer ```bash 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 from `package.json` (e.g. `5.16.0`) so version-specific suggestions are enabled. The major must be 4 or 5 (default: 5) **Examples:** ```bash # 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 1. **Uncertain about syntax?** Run `list-sections` then `get-documentation` for relevant topics 2. **Reviewing/debugging?** Run `svelte-autofixer` on the code to detect issues 3. **Always validate** - Run `svelte-autofixer` before finalizing any Svelte component
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · sveltejs/ai-tools | 100 | MIT |
| zx06/xsql | 100 | MIT |
Identyczna treść występuje jeszcze w 4 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 28.10.2026 · wersja paczki 67362b8a2bf9 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100code-style-svelte
Stosuje zasady stylu komponentów Svelte przy tworzeniu plików .svelte, strukturze komponentów, przejściach, układzie oraz stanie URL i nawigacji w SvelteKit. - 100svelte
Stosuje konwencje runes i SvelteKit przy pisaniu, przeglądzie i debugowaniu komponentów Svelte oraz modułów .svelte.ts. - 90svelte
Stosuje standardy Svelte 5 i SvelteKit do komponentów i aplikacji full-stack, w plikach svelte, ts, js i css. - 100svelte
Stosuje wzorce Epicenter dla Svelte 5: runes, komponenty, cykl życia i stan oparty na workspace, przy edycji plików .svelte i .svelte.ts. - 100svelte
Renderuje specyfikacje JSON jako drzewa komponentów Svelte 5 w json-render, w tym budowanie interfejsów z JSON, katalogi komponentów i renderowanie specyfikacji wygenerowanych przez AI. - 86svelte
Pomaga tworzyć frontendy Svelte, SvelteKit, responsywnego UI i w pracy z kompilacją.