Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Project health audit and health check — architecture, performance, tests, dependencies, code quality. Use when assessing overall project health, before releases, or after refactors.
.claude/skills/oliver-kriska-phx-audit/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | -4% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 20% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -1% | 0% |
| case-17 | ✗→✓ | ▲ Improved | -2% | 0% |
| case-22 | ✗→✓ | ▲ Improved | 8% | 0% |
Comprehensive project-wide health assessment across five independent concern tracks.
/skill:phx-audit # Full audit (default)
/skill:phx-audit --quick # 2-3 minute pulse check
/skill:phx-audit --focus=security # Deep dive single area
/skill:phx-audit --focus=performance
/skill:phx-audit --since abc123 # Incremental audit since commit
/skill:phx-audit --since HEAD~10 # Audit last 10 commitscross-category scores misleading
analysis produces generic findings
codebase
analysis
.claude/audit/reports/ and .claude/audit/summaries/.compile or its test command cannot start.
dependencies. Native generic workers may run independent tracks in parallel when the runtime provides them; otherwise run every track sequentially in this session. Never require named custom agents.
.claude/audit/reports/.Report issues only, cite paths and lines, and use one summary line for a clean area.
cross-category correlations, calculate scores using references/scoring-methodology.md, and write .claude/audit/summaries/project-health-{date}.md.
If two or more optional workers fail or hit limits, finish the missing tracks sequentially. Never present an incomplete track as audited.
Report an executive health score, per-category scores for Architecture, Performance, Security, Tests, and Dependencies, critical issues, top recommendations, and an Immediate/Short-term/Long-term action plan.
--quick)Only run essential checks (~2-3 minutes):
Run mix compile --warnings-as-errors, then mix hex.audit && mix deps.audit, then mix xref graph --format stats, then mix test --trace 2>&1 | tail -20.
Skip: Full security scan, N+1 analysis, test quality metrics, architecture deep dive.
--focus=area)Run only the selected concern track with its deeper checks:
| Focus | Extra checks | |-------|--------------| | security | Full OWASP review, Sobelow, manual authorization patterns | | performance | Query plans, N+1 inventory, profiling evidence | | architecture | Full xref graph, coupling matrix, cohesion | | tests | Coverage by context, isolation, flaky-test indicators | | deps | Vulnerabilities, licenses, maintenance status |
--since <commit>)Analyze only changes since a specific commit. Useful for pre-merge checks:
Run git diff --name-only <commit>...HEAD to identify changed files, then run targeted audits on changed files only (skips full project scan).
Combines with other flags: /skill:phx-audit --since HEAD~5 --focus=security
| Command | Scope | Frequency | |---------|-------|-----------| | /skill:phx-review | Changed files (diff) | Every PR | | /skill:phx-audit | Entire project | Quarterly | | /skill:phx-boundaries | Context structure | On-demand | | /skill:phx-verify | Compile/test pass | Anytime |
references/scoring-methodology.md - How scores are calculatedreferences/architecture-checks.md - Detailed architecture criteriaOther measured skills in the registry, with their headline benchmark lift.