draft_v0 / instructions
Copilot instructions0 starsChanged 8 months agoMITView on GitHub
After finishing any task that modifies files, always ask: "Would you like me to commit these changes?" Do NOT commit automatically. If yes, follow the commit prompt (.github/prompts/commit.prompt.md) and commitlint rules.
The file
We split this copilot-instructions.md into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
#NoMessLeftBehind: - Never leave broken builds, every error must be resolved
- Very specific: line 32
Use ref as a regular prop
- Very specific: line 33
Use React.lazy + <Suspense> for code splitting
- Very specific: line 44
After finishing any task that modifies files, always ask: "Would you like me to commit these changes?" Do NOT commit automatically.
- Very specific: line 45
Do NOT commit automatically.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot Instructions
Engineering Philosophy
- First Principles Over Convention - Question assumptions, understand WHY things work
- Simple Over Clever - Solve the actual problem, not the general case
- Measure, Don't Guess - Data over intuition for performance claims
- #NoMessLeftBehind - Never leave broken builds, every error must be resolved
Tech Stack
- Frontend: React 19, TypeScript, TanStack Router/Query, Bootstrap 5.3, DSAi Design System
- Backend: Node.js, Express, TypeScript
- Database: Prisma ORM
- State: TanStack Query (server), Zustand (client), React Hook Form (forms)
Code Standards
- TypeScript strict mode, no
anyunless absolutely necessary - 4-space indentation
- camelCase (variables/functions), PascalCase (types/components), UPPER_SNAKE_CASE (constants)
- Max 300 lines per component, max 5 nesting levels
- Conventional commits:
feat:,fix:,refactor:,docs:,chore:,test:
React 19
- No
forwardRef,propTypes, orReact.FC(all removed in React 19) - Use
refas a regular prop - Use
React.lazy+<Suspense>for code splitting - Loading states: LoadingOverlay/SuspenseLoader only (never early return spinners)
Architecture
- Layered: Route → Controller → Service → Repository → Database
- Feature-based organization, proper separation of concerns
- Monorepo-aware: build only modified services
After Completing Any Task
After finishing any task that modifies files, always ask: "Would you like me to commit these changes?"
Do NOT commit automatically. If yes, follow the commit prompt (.github/prompts/commit.prompt.md) and commitlint rules.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

