Claude_code_for-Bo
Copilot instructions2 starsChanged 3 months agoMITView on GitHub
Follow the root AGENTS.md and the nearest nested AGENTS.md for the files you edit. For every feature, bugfix, refactor, or workflow change:
In this repository7 other files it gives its agents.
- adapters/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- desktop/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- site/AGENTS.mdAGENTS.md
- src/AGENTS.mdAGENTS.md
The file
We split this copilot-instructions.md into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 3
Follow the root AGENTS.md and the nearest nested AGENTS.md for the files you edit.
- Distinctive: line 7
Treat tool access as capability, not authorization.
- Very specific: line 10
Add same-area tests with the production change.
- Very specific: line 12
Use unit tests for pure logic, API/request-shape tests for server/provider/runtime behavior, Testing Library/Vitest for desktop UI and …
- Very specific: line 17
Run the focused regression first, then bun run check:impact and every selected surface/contract check.
- Distinctive: line 18
Do not present skipped, blocked, not-run, mock, build-only, or stale evidence as passed live/runtime verification.
≈ “Common” is an estimate: at least 1 in 5 of the 3,894 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
AI Coding Instructions
Follow the root AGENTS.md and the nearest nested AGENTS.md for the files you edit.
For every feature, bugfix, refactor, or workflow change:
- Treat tool access as capability, not authorization. Do not commit, push, open/merge a PR, release, run live providers, or change repository settings unless explicitly requested.
- Inspect
git status --short, identify the changed surface, define the intended behavior and failure signal, and inspect the nearest implementation and tests before editing. - Identify the changed surface before coding:
desktop,server/runtime,adapter,native,docs,provider/runtime,agent-loop,persistence,policy/ci, orrelease. - Add same-area tests with the production change. Do not leave production behavior untested unless the PR explicitly carries the maintainer override
allow-missing-tests. - Preserve or improve the coverage ratchet. New or changed executable production lines must pass the changed-line coverage threshold in
scripts/quality-gate/coverage-thresholds.json; do not edit coverage baselines or thresholds without maintainer approval viaallow-coverage-baseline-change. - Use unit tests for pure logic, API/request-shape tests for server/provider/runtime behavior, Testing Library/Vitest for desktop UI and stores, and E2E or desktop UI smoke for user-visible cross-boundary flows.
- Ad-hoc browser automation (manual verification, screenshots, exploratory UI checks) goes through the
ego-browserskill. Theagent-browserbinary is reserved for the committedcheck:desktop-ui-smokelane anddesktop/scripts/e2e-*-agent-browser.sh; do not reach for it as a general browser tool. - Provider/auth/runtime-env/model-window/proxy changes require offline
bun run check:provider-contract; desktop chat/WebSocket/session-runtime changes requirebun run check:chat-contract. - Required PR evidence must be deterministic: use fake credentials, temporary config/home paths, mocked or loopback transports, explicit cleanup, and restored environment state. Never call a real provider or use saved machine credentials in required tests.
- For agent loop, tool execution, provider routing, model selection, file editing, permissions, session resume, and desktop chat changes, include mock/fixture/contract tests. Live smoke is trusted-maintainer evidence only and requires explicit authorization; finding local credentials is not authorization.
- Run the focused regression first, then
bun run check:impactand every selected surface/contract check. Runbun run verifyonly before claiming PR-ready/push-ready or when full validation was requested. - Do not present skipped, blocked, not-run, mock, build-only, or stale evidence as passed live/runtime verification.
- In the final handoff or PR description, include changed files, tests added, commands actually run with pass/fail counts, checks not run, coverage report path when generated, deterministic E2E evidence, live report path or explicit maintainer-only deferral, and known residual risk.
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.

