Svelte + AGENTS.md
Project guide every AI coding agent reads (commands, structure, rules). This page shows exactly what pickstack adds to a Svelte project for AGENTS.md: the packages, the new files and the changes to existing ones. Every combination is installed, built, linted and tested in CI.
$ npm create pickstack@latest my-app -- --framework svelte --modules agents-md --yesCustomize in the configurator
New files
# my-app
Stack: Svelte 5, Vite, TypeScript.
## Commands
- `npm install`: install dependencies
- `npm run dev`: start the dev server
- `npm run build`: production build
- `npm run preview`: serve the production build
- `npm run typecheck`: type-check
## Project structure
- `src/main.ts` mounts `src/App.svelte`; components live in `src/lib/`.
## Conventions
- Svelte 5 runes (`$state`, `$derived`, `$props`), not Svelte 4 stores or `export let`.
- TypeScript strict mode; avoid `any`.
## Before finishing a change
Run `npm run typecheck` and fix what they report.
Project files
.gitignoreAGENTS.mdREADME.mdindex.htmlpackage.jsonsrc/App.sveltesrc/app.csssrc/lib/Counter.sveltesrc/main.tssvelte.config.jstsconfig.app.jsontsconfig.jsontsconfig.node.jsonvite.config.ts