dotfiles
AGENTS.md5 starsChanged 2 days agoMITView on GitHub
Read by any coding agent working in this repository (Claude Code loads it through CLAUDE.md). The project skills in .claude/skills/ are the standard here: where one disagrees with a global or personal skill, the project skill wins. plan-deck, design-pipeline and strict-tdd are the skills aval distributes from skills/; they apply here as well. Run the focused package or -run pattern while iterating and the full suite once at the end. Every report of work, by a person or an agent,…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- alvaroofernaandez/avalword for word, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 1
- alvaroofernaandez/aval★ 5100% 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 35,337 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 repository36 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- aval-architectureSkill
- aval-docsSkill
- aval-release-notesSkill
- aval-releaseSkill
- aval-testingSkill
- accessibilitySkill
- ai-sdk-5Skill
- architecture-evidenceSkill
- branch-prSkill
- chained-prSkill
- cognitive-doc-designSkill
- design-pipelineSkill
- design-refactorSkill
- docker-build-optimizedSkill
- docker-space-optimizerSkill
- herdrSkill
- issue-creation-proSkill
- kiri-dockerSkill
- kiri-healthSkill
- laws-of-uxSkill
- lightpanda-browserSkill
- mac-disk-cleanupSkill
- pdf-reportSkill
- plan-deckSkill
- prs-proSkill
- react-19Skill
- readme-guardianSkill
- readme-portalSkill
- repo-prepSkill
- skill-creatorSkill
- strict-tddSkill
- tailwind-4Skill
- typescriptSkill
- work-unit-commitsSkill
- zod-4Skill
The file
We split this AGENTS.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
- Very specific: line 3
Read by any coding agent working in this repository (Claude Code loads it through CLAUDE.md).
- Very specific: line 24
Assert errors, not text: Use errors.Is or errors.As, never err.Error() comparisons.
- Very specific: line 28
Visible surfaces: Run the design pipeline and aval design ack <surface> before editing one.
- Very specific: line 44
Run the focused package or -run pattern while iterating and the full suite once at the end.
- Distinctive: line 48
Every report of work, by a person or an agent, states:
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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
Agent instructions for aval
Read by any coding agent working in this repository (Claude Code loads it through CLAUDE.md). The project skills in .claude/skills/ are the standard here: where one disagrees with a global or personal skill, the project skill wins.
Load the project skill before the task
| Task | Skill |
Package boundaries, a new package, interface or seam, an import between internal/ packages, before and after a refactor | aval-architecture |
| Writing or changing a test, TDD, running any suite, flaky or slow tests | aval-testing |
| Any Markdown file, README, guide, ADR or documentation image | aval-docs |
| Versioning, the changelog, tagging or publishing a release | aval-release |
| Release notes and the changelog of a version, in English and Spanish, and the GitHub release body | aval-release-notes |
Executing a plan from odd/tasks, or slides of a plan | plan-deck |
Any visible surface: a TUI screen, CLI output, layout, style, copy, or .agents/DESIGN.md | design-pipeline |
| Any feature, bug fix or behavioural refactor | strict-tdd |
plan-deck, design-pipeline and strict-tdd are the skills aval distributes from skills/; they apply here as well.
Hard rules
- Go only. New behaviour is Go in
cmd/orinternal/. No shell or Python; dotfiles sourced by zsh (home/) are the only exception. - Strict TDD. RED first: a test that fails on its assertion, not on a compile or import error. Then GREEN with the minimum code, then refactor.
- Assert errors, not text. Use
errors.Isorerrors.As, nevererr.Error()comparisons. User-facing text is pinned in one place. - Tests are deterministic. Temp dirs only through
t.TempDir(); no fixed sleeps. - Commits. Conventional Commits, one reviewable unit each, with its tests. No
Co-Authored-Byor AI attribution. - Plan before execution. Substantial work gets a plan in
odd/tasks/<feature>.mdand a deck (plan-deck) before the first source edit. - Visible surfaces. Run the design pipeline and
aval design ack <surface>before editing one; prove it withaval design gate. - Never push unasked.
- Hooks and the statusline never load config. They are hot paths: pure work on their input, no config read, no exec, no network. Amended 2026-11-23 (ADR 0007): a hook may start an already resolved tool under a timeout, never on its no-op path. Amended 2026-11-28 (ADR 0009):
aval hook guardmay read its private allow-list, only after a rule has matched. - Opening the hub writes nothing and never touches the network. It reads local state only (the update badge uses refs already fetched).
- Decisions are recorded, never rewritten. A changed decision gets a dated amendment or a new ADR.
Commands
go test ./... # the full suite
go test ./tests/ -run Architecture # the import-boundary gate
go vet ./...
gofmt -l . # must print nothing
go test -race -count=1 ./path/... # chasing a flake: race detector, no cacheRun the focused package or -run pattern while iterating and the full suite once at the end.
Output contract
Every report of work, by a person or an agent, states:
- What ran: the exact command, its exit code, and the pass, fail and skip counts.
- What did not run, and why: a suite skipped, a build tag not set, a tool missing. Skipped is not passed.
- Failures: the test name and the tail of its output, not a paraphrase.
- TDD evidence: the RED line (the failing assertion) and the GREEN output.
Report only what ran and what you observed. Never invent evidence.
Where things live
cmd/aval: the entry point, a thin wrapper.internal/: leaves (agent/*,devops/*,term/*,herdr/*,deck,design/ack,design/gate,release,docs/*,devmode,i18n,ui/caps,testenv) andtools/*import nothing internal;design/hookimports onlydesign/ack;core/*imports onlycore/*andrelease;uisits oncore/*,devmode,i18n,releaseandui/caps;ui/clionui,ui/capsandi18n. The model and the allowlist are indocs/architecture/model.mdand ADR 0002;go test ./tests/ -run Architectureenforces them.tests/: repo-level guards (budgets, workflows, docs, architecture).odd/tasks/: plans, one file per feature.docs/adr/: architecture decision records..agents/DESIGN.md: the design contract for every visible surface.install.manifest: whataval installlinks; code reads it, never hard-codes paths.config/claude/CLAUDE.md: the global file aval installs for its users, not this project's instructions.
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.

