React + GitHub Copilot
Copilot instructions and MCP servers for VS Code. This page shows exactly what pickstack adds to a React 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 react --modules copilot --yesCustomize in the configurator
New files
# my-app
Follow the commands, structure, conventions and checks in AGENTS.md at the repository root.
# my-app
Stack: React 19, 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.tsx` mounts the app; `src/App.tsx` is the root component.
- Components live in `src/components/`, pages (with a router) in `src/pages/`.
## Conventions
- Function components and hooks only; no class components.
- TypeScript strict mode; avoid `any`.
## Before finishing a change
Run `npm run typecheck` and fix what they report.
Project files
.github/copilot-instructions.md.gitignoreAGENTS.mdREADME.mdindex.htmlpackage.jsonsrc/App.tsxsrc/components/Counter.tsxsrc/index.csssrc/main.tsxtsconfig.jsonvite.config.ts