chanjoongx

Craft Audit — Security skill for Claude Code

Security community

Scan the codebase for anti-patterns per CRAFT.md (read-only, no edits).

How to install Craft Audit

Installs to ~/.claude/commands/chanjoongx-mdbrain-craft-audit.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/chanjoongx/mdbrain/HEAD/.claude/commands/craft-audit.md -o ~/.claude/commands/chanjoongx-mdbrain-craft-audit.md

Restart Claude Code, or start a new session, for it to be picked up.

What Craft Audit does


description: Scan the codebase for anti-patterns per CRAFT.md (read-only, no edits) argument-hint: "[path]"

Read `CRAFT.md` from the project root. Then delegate to the `craft-specialist` subagent with the following brief:

Perform a read-only Brownfield Phase 0 audit on: $ARGUMENTS (defaults to `src/` if no argument).

Steps:

  1. Enumerate files under scope
  2. Identify Top 10 longest files (wc -l, sorted desc)
  3. Run the atlas (A1-A20) against the scope
  4. Grade confi

Alternatives in Security

  • Tech Debt Skill — Claude Code skill that produces a thorough, file-cited tech debt audit of an entire codebase 590 ★
  • Security Check — Scan project for security issues — exposed secrets, missing .gitignore entries, unsafe patterns 335 ★
  • Data Viz Audit — Audit a data visualization for chart type selection, accessible color palette, annotations, and anti-patterns 309 ★

Full documentation available on GitHub

View Source Repository