How to audit a codebase for AI-agent readiness
When to use: Before the team commits to doing a lot of feature work through Claude or Codex.
Flow
-
Run the auditAudit this repo for AI-agent readiness. Score each dimension and list the top 5 friction points.✓ Copied→ Dimension scores + specific files to fix
-
Prioritize fixesWhich of those fixes would give the biggest agent-effectiveness lift per hour of work?✓ Copied→ Ranked list with effort/impact
-
Apply the top fixApply fix #1 end-to-end — edit files, update docs, add tests.✓ Copied→ Diff + confirmation
Outcome: A concrete improvement plan and at least one applied fix making the repo friendlier to AI agents.
Pitfalls
- Audit turns into a generic 'improve docs' blob — Ask for file:line level findings, not abstract advice