Skip to main content

svelte-cli

Svelte CLI (sv) - project scaffolding, add-ons installation, dev/build commands. Use when creating new Svelte/SvelteKit projects or adding features via CLI. For Svelte code questions use svelte skill. For SvelteKit routing use svelte-kit skill.

Informations de source

Dépôt
digi4care/opencode-mastery
Dernière activité de la source
21 février 2026 à 09:55
Langue détectée de SKILL.md
anglais
Étoiles
0
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Explorateur de fichiers
40 fichiers

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
svelte-cli
description
Svelte CLI (sv) - project scaffolding, add-ons installation, dev/build commands. Use when creating new Svelte/SvelteKit projects or adding features via CLI. For Svelte code questions use svelte skill. For SvelteKit routing use svelte-kit skill.
license
MIT
compatibility
opencode
metadata
{"author":"OpenCode Community","version":"2.0","source":"https://svelte.dev/docs/cli"}
# Svelte CLI (sv) Command-line interface for Svelte/SvelteKit project management. ## When to Use - Creating new Svelte/SvelteKit projects - Adding packages (ESLint, Drizzle, MCP, mdsvex) - Running dev server, build, or type check - Managing package manager settings ## Quick Reference ```bash # Create project sv create my-app sv create my-app --template minimal --types ts # Add packages sv add eslint sv add drizzle sv add mdsvex sv add mcp sv add lucia # Development sv dev # Start dev server sv build # Production build sv preview # Preview build sv check # Type check ``` ## Common Commands | Command | Description | | ------------ | ----------------------- | | `sv create` | Scaffold new project | | `sv add` | Add packages to project | | `sv remove` | Remove packages | | `sv sync` | Sync types | | `sv migrate` | Run migrations | ## Configuration Project configured via `svelte.config.js` and package.json. ## References - references/drizzle.md - Database setup - references/eslint.md - Linting configuration - references/lucia.md - Auth integration - references/mcp.md - Model Context Protocol - references/mdsvex.md - Markdown integration - references/package-managers.md - bun and alternative managers - references/troubleshooting.md - Common issues - references/best-practices.md - Project setup tips
Voir sur GitHub