Skip to content

goldenprofile/agent-audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Agent Audit

AI agent self-audit skill for Claude Code.

Checks project documentation freshness, finds recurring errors in git history, generates guardrails, and produces actionable fixes — so the agent stays calibrated to the real state of your project.

What it does

Block Description
Documentation & Context Validates CLAUDE.md, ARCHITECTURE.md, ROADMAP.md, CHANGELOG.md against the actual codebase
Recurring Errors & Guardrails Analyzes git history for fix/revert patterns, generates rules and automated checks
Proactivity Surfaces next steps from ROADMAP, TODO/FIXME trends, and high-leverage actions
Confidence Calibration Identifies blind spots — parts of the project the agent understands poorly
Connections & Insights Finds logic duplication, implicit dependencies, priority mismatches

Audit modes

  • Full — all 5 blocks + report + auto-apply. After milestones or major refactors.
  • Quick — blocks 1-2 (docs + errors). After a productive session.
  • Targeted — single block on demand.

Triggers

Use /agent-audit or say:

  • "audit", "self-check", "meta-review"
  • "check CLAUDE.md", "what's outdated", "update context"
  • "what errors do you keep making", "what should we lock in"
  • "we finished the feature", "sprint done", "what's next" (after major work)

Does not trigger on small fixes or cosmetic commits.

Installation

Copy agent-audit.md to your Claude Code commands directory:

# Global (available in all projects)
cp agent-audit.md ~/.claude/commands/

# Per-project
cp agent-audit.md .claude/commands/

Output

Generates docs/audit-report-YYYY-MM-DD.md with:

  • Prioritized findings (critical / warning / ok)
  • Concrete file edits to apply
  • Questions to close knowledge gaps
  • Suggestions for next steps

License

MIT

About

AI agent self-audit skill for Claude Code.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors