A linter for your agent instructions. Checks AGENTS.md, CLAUDE.md and codex.md against the actual repo.
Severity: warn
An instruction says “run the tests” without a command, or the file has no commands at all.
AMC006 vague-instruction (warn)
Agents do best with exact commands. Two things are reported:
1. "Run the tests", "build the project", "run the linter" (also formatter and type check)
when the file contains no command for that task. If the file has one (for example a
`npm test` in a Commands section), the prose is fine and nothing is reported. A line that
already has inline code is never reported.
2. A root instruction file with no command at all. Without them an agent has to guess how to
build and test. Files that import another file (`@AGENTS.md`) and nested files are skipped.
Fix: add a Commands section with the exact install, build, test and lint commands.
`agent-md-caregiver --init` prints a skeleton. Suppress with `<!-- amc-ignore-next-line -->`.
AGENTS.md:
# A
Run the tests before you push.
Finding:
AGENTS.md:1:1 warn AMC006 No commands: agents cannot tell how to build, test or lint this project
fix: Add a Commands section with the exact install, build, test and lint commands (`--init` prints a skeleton).
Follow the fix: line of the finding, or see the end of the text above.
<!-- amc-ignore-next-line --> on the line before it.--rule AMC006=off, or { "rules": { "AMC006": "off" } } in .agentmdcaregiver.json.--rule AMC006=warn.