Audit a codebase for the 12 leverage points of agentic coding. Identifies gaps and provides prioritized recommendations. Use when improving agentic coding capability, analyzing why agents fail, or optimizing a codebase for autonomous work.
Limited to specific tools
Additional assets for this skill
This skill is limited to using the following tools:
Audit a codebase against the 12 leverage points framework to identify gaps and improve agentic coding success.
CLAUDE.md presence:
Search for: CLAUDE.md, .claude/CLAUDE.md
Check: Does it explain the project? Conventions? Common commands?
README.md quality:
Search for: README.md
Check: Does it explain structure? How to run? How to test?
Permissions configuration:
Search for: .claude/settings.json
Check: Are required tools allowed?
Standard out patterns:
Search for: print(, console.log(, logger., logging.
Check: Are success AND error cases logged?
Check: Can agent see what's happening?
Anti-pattern detection:
Look for: Silent returns, bare except blocks, empty catch blocks
These prevent agent visibility.
Type definitions:
Search for: interface, type, class, BaseModel, dataclass
Check: Are names information-dense? (Good: UserAuthToken, Bad: Data)
Internal docs:
Search for: *.md files, docstrings, comments
Check: Do they explain WHY, not just WHAT?
Test presence:
Search for: test_*.py, *.test.ts, *.spec.ts, *_test.go
Check: Do tests exist? Are they comprehensive?
Test commands:
Check: Is there a simple test command? (npm test, pytest, etc.)
Check: Do tests run quickly?
Entry points:
Check: Are entry points obvious? (main.py, index.ts, server.py)
File organization:
Check: Consistent structure? Related files grouped?
Check: File sizes reasonable? (< 1000 lines)
Slash commands:
Search for: .claude/commands/
Check: Are common workflows automated?
Automation:
Search for: GitHub Actions, hooks, triggers
Check: Are workflows automated?
After audit, provide:
| Leverage Point | Status | Priority | Recommendation |
|---|---|---|---|
| Context | Good/Fair/Poor | High/Med/Low | Specific action |
| ... | ... | ... | ... |
List top 3-5 improvements in order of impact:
For each leverage point:
## Leverage Point Audit Results
### Summary
- Tests: POOR (no test files found) - HIGHEST PRIORITY
- Standard Out: FAIR (some logging, missing error cases)
- Architecture: GOOD (clear structure, reasonable file sizes)
### Priority Actions
1. Add test suite - enables self-correction
2. Add error logging to API endpoints - enables visibility
3. Create /prime command - enables quick context
### Detailed Findings
[... specific recommendations ...]
```markdown
## Related Memory Files
- @12-leverage-points.md - Complete framework reference
- @agentic-kpis.md - How to measure improvement
- @agent-perspective-checklist.md - Quick pre-task checklist