GAIDE
AGENTS.md8 starsChanged 3 months agoMITView on GitHub
How to use this file: this is the canonical briefing for any coding agent working on this repository — Claude Code, Google Antigravity, Cursor, Codex, Zed, Copilot, Gemini CLI, or a human. Tools that read AGENTS.md load it natively; Claude Code loads it via .claude/CLAUDE.md; Antigravity via .agents/rules/. Fill in the sections marked with [ ]. Project name: [PROJECT NAME] One-line description: [WHAT THE APPLICATION DOES] Current status: [concept | in development | in production | in maintenance] Tool-specific bindings…
- Reads credentials
- Deletes or force-pushes
- Commits and pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Ecoa-PUC-Rio/GAIDEword for word, first seen Aug 19, 2026
Other versions1 project uses a version of this.
Word for word · 1
- Ecoa-PUC-Rio/GAIDE★ 8100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,700 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository7 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- adr-writerSkill
- code-reviewerSkill
- security-reviewerSkill
- spec-writerSkill
- test-generatorSkill
- verifierSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
22 rules. About 0 are common, 20 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈20
Distinctive · estimate
This author's own choices. Worth a look.
2
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 47
Before any code change, the agent MUST:
- Very specific: line 68
Never read .env files, private keys (*.pem, *.key, id_rsa*), or credential stores (~/.ssh, ~/.aws, ~/.config/gcloud).
- Distinctive: line 69
Never run git push --force, git reset --hard, or pipe downloads into a shell.
- Distinctive: line 89
Change size: prefer small, atomic changes.
- Distinctive: line 90
Comments: only when the *why* is not obvious from the code.
- Very specific: line 92
Logging: follow the convention defined in a docs/adr/NNNN-logging-strategy.md ADR (create one if missing).
- Distinctive: line 99
Simplicity first: prefer the smallest code that solves the actual problem.
- Distinctive: line 107
Use this sequence in every non-trivial session.
- Distinctive: line 110
Read AGENTS.md, the relevant spec, and the constitution if the task changes behavior.
- Distinctive: line 114
Write down what is known, what is ambiguous, and what decisions require confirmation.
- Distinctive: line 115
If the task is underspecified, ask before implementing.
- Distinctive: line 119
Prefer testable criteria over general statements like "works well".
- Distinctive: line 122
If behavior changes, confirm the applicable spec exists.
- Distinctive: line 123
If no spec exists, propose writing one before implementation.
- Distinctive: line 127
Do not refactor adjacent code.
- Distinctive: line 128
Do not add abstractions or options that were not requested.
- Distinctive: line 129
Keep the diff limited to the feature or bug being solved.
- Distinctive: line 132
Run the smallest relevant validation: targeted tests, syntax checks, security checks, or manual verification.
- Distinctive: line 133
Treat verification as part of the task, not an optional afterthought.
- Distinctive: line 136
Check whether the change stayed inside scope.
- Distinctive: line 137
Remove dead code only if it was created by this task.
- Distinctive: line 142
Do not claim completion without evidence from the actual checks run.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md 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
Project Briefing
How to use this file: this is the canonical briefing for any coding agent working on this repository — Claude Code, Google Antigravity, Cursor, Codex, Zed, Copilot, Gemini CLI, or a human. Tools that read
AGENTS.mdload it natively; Claude Code loads it via.claude/CLAUDE.md; Antigravity via.agents/rules/. Fill in the sections marked with[ ].
Overview
Project name: [PROJECT NAME]
One-line description: [WHAT THE APPLICATION DOES]
Current status: [concept | in development | in production | in maintenance]
Tech stack
- Primary language:
[e.g., Python 3.12 / Node.js 22 / Go 1.23] - Framework:
[e.g., FastAPI / Next.js / etc.] - Database:
[e.g., PostgreSQL 16] - Deployment:
[e.g., GCP Cloud Run / AWS ECS / on-prem k8s]
Relevant folder structure
.
├── AGENTS.md This file — canonical agent briefing
├── agents/ Portable agent procedures (single source)
│ ├── skills/ Skills: spec writing, review, ADRs, tests, verification
│ └── reviewers/ Clean-context reviewer rubrics
├── scripts/ Portable enforcement checks (run in any tool, or by hand)
├── specs/ SDD specs — source of truth for behavior
├── docs/adr/ Architecture Decision Records
├── PROGRESS.md Session log — read at start, update at end
├── src/ Source code
└── tests/ TestsTool-specific bindings (generated from the portable sources by scripts/sync-adapters.sh — never edit them directly): .claude/ for Claude Code, .agents/ for Antigravity.
Session protocol
- At session start: run
./init.sh(environment bring-up + health check — a failure means inherited broken state), then readPROGRESS.mdand the recentgit logto understand where the last session left off. If the previous session left something broken, fix that before starting new work.PROGRESS.mdis local and gitignored — if it doesn't exist yet, create it (title + dated entries with done / next / known issues, newest first). - At session end: append an entry to
PROGRESS.md(done / next / known issues).
Mandatory operating principles
Before any code change, the agent MUST:
- Read the constitution at
specs/constitution.md. - Check whether a spec exists for the feature at
specs/<feature>/spec.md. - If no spec exists, propose writing one using the
spec-writerskill before coding. - Follow the SDD flow: spec → plan → tasks → implementation.
- Never edit tests or task lists to make work appear done (Constitution Principle 9).
Enforcement checks
The checks in scripts/ are the portable enforcement layer. In Claude Code they fire automatically as hooks; in every other tool, run them yourself:
scripts/check-file.sh <file>— syntax check after editing a filescripts/check-security.sh <file>— SAST (semgrep) / dependency scan (osv-scanner) on an edited filescripts/check-secrets.sh— secret-pattern scan of content on stdinscripts/check-clean-state.sh— before ending a session with uncommitted changes: secrets (gitleaks) + test suite
Whatever the tool, the guaranteed floor is the same for everyone: pre-commit (.pre-commit-config.yaml) and CI (.github/workflows/security.yml).
Ground rules (enforced as deny-permissions where the tool supports it)
- Never read
.envfiles, private keys (*.pem,*.key,id_rsa*), or credential stores (~/.ssh,~/.aws,~/.config/gcloud). - Never run
git push --force,git reset --hard, or pipe downloads into a shell. - Secrets never enter versioned files, even as examples (Constitution Principle 6).
Code conventions
[e.g., ESLint config / Black + Ruff / gofmt][e.g., tests required for every public function][e.g., Conventional Commits]
Critical integrations
[List internal systems this project integrates with. For each, indicate whether there's an MCP configured.]
[System X]—[via MCP / via REST API / via client library]
MCP servers are declared in .mcp.json (canonical reference). See docs/mcp-setup.md for connecting them in each tool.
How the agent should work
- Current autonomy mode: HIC (every code change requires explicit human approval before commit).
- Change size: prefer small, atomic changes. No sweeping refactors without an ADR.
- Comments: only when the why is not obvious from the code.
- Tests: changing code that affects behavior without changing/adding tests is forbidden.
- Logging: follow the convention defined in a
docs/adr/NNNN-logging-strategy.mdADR (create one if missing).
Karpathy-inspired operating principles
These principles complement the constitution and keep agent behavior aligned with lean, deliberate coding:
- Think before coding: state assumptions explicitly, surface uncertainty early, and ask clarifying questions instead of silently guessing.
- Simplicity first: prefer the smallest code that solves the actual problem; avoid speculative abstractions, unnecessary config, or "clever" designs.
- Surgical changes: touch only what is required for the task; do not refactor or "clean up" unrelated code, and preserve the existing style unless the task requires a justified change.
- Goal-driven execution: define success criteria upfront, verify with tests or checks, and loop until the result is demonstrably correct rather than merely plausible.
In practice, this means: clarify ambiguities before implementation, keep diffs minimal, and verify behavior against the spec before claiming the task is done.
Session operating loop
Use this sequence in every non-trivial session. It is intentionally explicit so the agent does not drift into vague "make it work" mode:
- Read the brief and the repo contract
- Read
AGENTS.md, the relevant spec, and the constitution if the task changes behavior. - Identify the exact user goal and the scope boundary.
- Read
- State assumptions and surface uncertainty
- Write down what is known, what is ambiguous, and what decisions require confirmation.
- If the task is underspecified, ask before implementing.
- Define success criteria before code
- Translate the request into verifiable outcomes: what should happen, what should not happen, and how it will be checked.
- Prefer testable criteria over general statements like "works well".
- Check for the required spec/test path
- If behavior changes, confirm the applicable spec exists.
- If no spec exists, propose writing one before implementation.
- For behavioral fixes, add or update the failing test first.
- Make the smallest possible change
- Do not refactor adjacent code.
- Do not add abstractions or options that were not requested.
- Keep the diff limited to the feature or bug being solved.
- Verify against the actual task
- Run the smallest relevant validation: targeted tests, syntax checks, security checks, or manual verification.
- Treat verification as part of the task, not an optional afterthought.
- Review for drift
- Check whether the change stayed inside scope.
- Remove dead code only if it was created by this task.
- Confirm there are no accidental edits outside the requested feature.
- Report outcome with evidence
- State what changed, what was validated, and what remains uncertain.
- Do not claim completion without evidence from the actual checks run.
This loop is the default for agent work in this repository, and it should be used whenever the task is more than a one-line typo or a trivial edit.
Available skills
Source of truth in agents/skills/ (Claude Code exposes them as /name via .claude/skills/; Antigravity as /name workflows via .agents/workflows/ — both generated):
spec-writer— write SDD specscode-reviewer— review the current diff in a clean context (rubric inagents/reviewers/code-reviewer.md; never pass the reviewer the implementation conversation)security-reviewer— security review of the current diff (rubric inagents/reviewers/security-reviewer.md); use for changes touching auth, sensitive data, external input, or new dependenciesverifier— exercise a feature end-to-end against the spec's criteria; the only path toverifiedstatusadr-writer— record architectural decisionstest-generator— generate tests from a spec
Contacts and governance
- Maintainers:
[names / emails] - Review channel:
[e.g., GitHub PR / Slack #channel] - Human-response SLA:
[e.g., 24h on business days]
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.

