template / setup-docs-lint
AGENTS.md20 starsChanged 3 months agoApache-2.0View on GitHub
This composite action provisions the external tools required by the blocking documentation linter. Both Static Health Report and Documentation Lint must call this action before running scripts/audit/lint_docs.py. - actions/setup-node and actions/cache remain pinned to full SHAs. - setup-node enables cache: npm (CI-FAST-DOCSLINT-NPM-1): the npm download cache is keyed on the lockfile by the official action; npm ci semantics stay unchanged (deterministic reinstall), only tarball downloads are skipped. - Mermaid diagrams are rendered by the real mmdc command against a real…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository37 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .agents/skills/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- fonds/AGENTS.mdAGENTS.md
- .github/actions/AGENTS.mdAGENTS.md
- .github/actions/setup-python-env/AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- .github/ISSUE_TEMPLATE/AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- infrastructure/AGENTS.mdAGENTS.md
- projects/AGENTS.mdAGENTS.md
- rules/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- advanced-evaluationSkill
- bdi-mental-statesSkill
- context-compressionSkill
- context-degradationSkill
- context-fundamentalsSkill
- context-optimizationSkill
- evaluationSkill
- filesystem-contextSkill
- harness-engineeringSkill
- hosted-agentsSkill
- latent-briefingSkill
- long-horizon-promptingSkill
- memory-systemsSkill
- multi-agent-patternsSkill
- project-developmentSkill
- self-improvement-loopsSkill
- tool-designSkill
- continual-learningSkill
- gauss-open-gauss-cliSkill
- infrastructure-overviewSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Run actionlint after editing this action or either caller.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
setup-docs-lint — technical reference
This composite action provisions the external tools required by the blocking
documentation linter. Both Static Health Report and Documentation Lint
must call this action before running scripts/audit/lint_docs.py.
Invariants
actions/setup-nodeandactions/cacheremain pinned to full SHAs.setup-nodeenablescache: npm(CI-FAST-DOCSLINT-NPM-1): the npm download cache is keyed on the lockfile by the official action;npm cisemantics stay unchanged (deterministic reinstall), only tarball downloads are skipped.- Mermaid diagrams are rendered by the real
mmdccommand against a realchrome-headless-shell; missing tools fail closed. - The resolved Chrome path is exported through
GITHUB_ENVfor later workflow steps in the caller job. - Python setup and
uv syncremain caller responsibilities.
Verification
- Run
actionlintafter editing this action or either caller. - The CI
Documentation LintandStatic Health Reportjobs are the real behavioral controls because the hosted-runner cache andGITHUB_ENVpropagation are GitHub Actions behavior.
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.

