Feature · Coding agents

Agent-ready

the-doctor is built to be run by coding agents as well as people. The CLI defaults to an agent output format that is compact and easy to parse, it can scope an audit to exactly the files an agent just touched, and the-doctor.report publishes an Agent Skill and llms.txt so Claude Code, Cursor, OpenCode, and other agents can discover how to run the audit and fix what it finds.

Audit only what the agent changed

An agent that writes a file and audits before staging it can include untracked files in the scope. Pair it with --format json for a machine-readable report and --max-duration to cap time on large repos.

Terminal
npx -y @geoql/vue-doctor --staged --include-untracked --format json
npx -y @geoql/nuxt-doctor --changed-files-from origin/main --max-duration 90

Agent Skill and discovery files

the-doctor.report serves an Agent Skill describing how to install, run, and push an audit, listed in the /.well-known/agent-skills/index.json discovery index. llms.txt and llms-full.txt give answer engines and agents a plaintext summary of the product in one request.

  • https://the-doctor.report/llms.txt
  • https://the-doctor.report/llms-full.txt
  • https://the-doctor.report/.well-known/agent-skills/index.json

A tight fix loop

Agents run the audit, apply --fix for the 60+ mechanical rules, then fix the rest using the explain output for each rule id. The deterministic score gives the agent a clear stop condition: keep going until the score is at or above the target and nothing at error level remains.

Terminal
npx -y @geoql/vue-doctor --fix
npx -y @geoql/vue-doctor explain watch-without-cleanup
npx -y @geoql/vue-doctor --threshold 90 --fail-on error