Fs sveltekit init
Scaffolds new SvelteKit projects autonomously. Use when initializing a brand new Svelte codebase via headless CLI.From its SKILL.md
npx -y skills add meyverick/agy-skills --skill fs-sveltekit-initAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.1 KB, 474 tokens by cl100k_base, as published. Nobody here has run it
SvelteKit Headless Initialization
This skill executes the completely headless (non-interactive) scaffolding of a new SvelteKit project. It complies with the "Everything as Code" (IaC) foundational pillar, ensuring reproducible, automated creation of project structures without manual terminal intervention.
When to Use
- Use when the user requests a new Svelte application to be built from scratch.
- NOT for modifying an existing Svelte codebase.
Core Process
Phase 1: Modern Svelte Scaffolding (sv)
Do not attempt to create the +page.svelte files manually.
You must use the modern sv scaffolding tool in strictly non-interactive mode.
Execute the following command, replacing <APP_NAME>:
npx sv create <APP_NAME> --template minimal --types ts --no-add-ons
Phase 2: Deterministic Package Management (pnpm)
To ensure lockfile integrity and deterministic builds (Everything as Code), use pnpm rather than npm if available.
cd <APP_NAME>
pnpm install
Phase 3: Immediate Verification
Verify the initialization succeeded by building the application:
pnpm run build
Common Rationalizations
| Rationalization | Reality |
|---|---|
"I will just mkdir and manually write package.json and vite.config.ts." | Manual scaffolding leads to outdated configurations and missing svelte.config.js setups. Always use the official CLI. |
"I'll run npm create svelte without flags." | The process will hang indefinitely waiting for user TTY input. You must use headless flags via npx sv create. |
Red Flags
- Creating boilerplate files (
app.html,vite.config.js) manually viawrite_to_file. - Commands hanging in the background because of interactive prompts.
Verification
Before concluding the initialization:
- The official
npx sv createscaffolding command was used in headless mode. - Dependencies were installed via
pnpmto ensure deterministic resolution. -
pnpm installandpnpm run buildcompleted with code 0.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.