pickstack

SvelteKit + GitHub Copilot

Copilot instructions and MCP servers for VS Code. This page shows exactly what pickstack adds to a SvelteKit project for GitHub Copilot: 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 sveltekit --modules copilot --yes
Customize in the configurator

New files

.github/copilot-instructions.md
# my-app

Follow the commands, structure, conventions and checks in AGENTS.md at the repository root.
.vscode/mcp.json
{
  "servers": {
    "svelte": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@sveltejs/mcp"]
    }
  }
}
AGENTS.md
# my-app

Stack: SvelteKit, Svelte 5, 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

- Routes are files in `src/routes/` (`+page.svelte`, `+layout.svelte`); shared code in `src/lib/`.
- Import from `src/lib` with the `#lib` alias (package.json `imports`).

## Conventions

- Svelte 5 runes (`$state`, `$derived`, `$props`).
- Pages are prerendered with adapter-static; keep routes static or change the adapter.
- TypeScript strict mode; avoid `any`.

## Before finishing a change

Run `npm run typecheck` and fix what they report.

Project files

Related templates