Agent skill
codebase-review
Holistic read-only codebase health review to find architecture drift, dead code, test gaps, and doc gaps.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/codebase-review
SKILL.md
Codebase Review
Strategic read-only review of the codebase. Produce actionable findings. No fixes.
Inputs
Scope (domains or systems to focus on). Target branch (default main).
Review-aware
Before starting: check if <slug>.findings.md exists for this scope. If it does, build on prior findings rather than starting over.
Workflow
-
Load context — Read AGENTS.md for invariants and authoritative systems. Check GitHub activity (
gh issue list --state open,gh pr list) to identify hotspots. -
Sample strategically — Focus on:
- Recent churn areas (from git log)
- Systems flagged in open issues or PRs
- Determinism violations (anything outside logistics_tick/combat_tick)
- Duplicated systems or ambiguous authority
- Autoload/UI coupling
- Dead code or unreferenced assets
- Test coverage gaps on critical paths
-
Report — Group findings by severity (Critical/Major/Minor) with
path:lineand impact description. -
Track findings — For Critical and Major findings, create GitHub issues via
/issue. For AIDE framework findings, use/issuewith appropriate labels.
Reference
- Project invariants: AGENTS.md
- Coding patterns:
docs/CODING_GUIDELINES.md - Testing requirements:
docs/TESTING_POLICY.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?