mcpbeat Sign in

Phx Audit Skill for Claude

Project health audit and health check — architecture, performance, tests, dependencies, code quality. Use when assessing overall project health, before releases, or after refactors.

3k tokens
context cost
the whole folder, loaded on every use
3
files
instructions only
0
copies elsewhere
how many repositories repackaged it
514
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill phx-audit

What comes with it

9 618 bytes besides the instruction
references/architecture-checks.md
references/scoring-methodology.md

The instruction itself

11 sections, as written by the author

Project Health Audit

Comprehensive project-wide health assessment across five independent concern tracks.

Usage

/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 commits

When to Use

  • Quarterly health checks
  • Before major releases
  • After large refactors
  • New team member onboarding (understand codebase health)

Iron Laws

  • Complete every selected track before synthesizing — partial results make

cross-category scores misleading

  • Scope each track to concrete directories and checks — vague project-wide

analysis produces generic findings

  • Never compare scores across projects — track trends only within the same

codebase

  • Run quick mode before full mode — catch basic failures before expensive

analysis

Portable Audit Workflow

  • Create .claude/audit/reports/ and .claude/audit/summaries/.
  • Run the quick checks below. Stop and report a blocker when the project cannot

compile or its test command cannot start.

  • Complete five tracks: architecture, performance, security, tests, and

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.

  • Write one evidence-focused report per track under .claude/audit/reports/.

Report issues only, cite paths and lines, and use one summary line for a

clean area.

  • After all selected reports exist, deduplicate findings, identify

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.

Output Format

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 Mode (--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 Mode (--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 |

Incremental Mode (--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

Relationship to Other Commands

| 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

  • references/scoring-methodology.md - How scores are calculated
  • references/architecture-checks.md - Detailed architecture criteria

Other skills for the same job

different authors, same section of the catalogue
Receiving Code Review
by ZhanlinCui
×7

Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation

2k tokens
Requesting Code Review
by ZhanlinCui
×6

Use when completing tasks, implementing major features, or before merging to verify work meets requirements

2k tokens
Git Commit
by github
vendor ×3

Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping

799 tokens
Github Code Review
by ComeOnOliver
×3

Comprehensive GitHub code review with AI-powered swarm coordination

13k tokens
Karpathy Guidelines
by hyyhf
×3

Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.

629 tokens
Code Reviewer
by google-gemini
vendor ×2

Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.

795 tokens
Agent MD Refactor
by softaworks
×2

Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation.

4k tokens
Commit Work
by softaworks
×2

Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.

2k tokens

How to use it

Copy the folder

Take oliver-kriska/claude-elixir-phoenix-pi-phx-audit from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.