Craft Audit — Security skill for Claude Code
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
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:
- Enumerate files under scope
- Identify Top 10 longest files (
wc -l, sorted desc) - Run the
atlas (A1-A20) against the scope - 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 RepositoryRelated Skills
Harness Audit
Audit an existing Claude Code harness for configuration integrity (4-scope scan, JSON validity, anti-patterns,
Skill Quality Research
Craft-first quality review for Agent Skill repos — an LLM judges how well a skill is WRITTEN (trigger design,
Prompt Craft
Write or audit Claude Code SKILL.md files, CLAUDE.md instructions, and agent prompt templates — CC-specific pa
Open Skills
The improve- family: senior-advisor Claude Code skills that audit a codebase (copy, prompts, error handling, a
Memory Self Review
Mine recent agent history (claude-mem + usage stats) for recurring failures and repeated patterns, audit MEMOR
Review UX Audit
Full UX audit of a frontend codebase. Produces persona cards, journey maps, heuristic sweep, anti-pattern find
Related Agents
Promptplus Auditor
Use for a full, whole-codebase audit of existing C# code that already uses ConsolePlus/PromptPlus - anti-patte
Perf Pattern Scanner
Invoke first when a user asks for a performance audit, performance review, "find slow code", or "what's causin
Anti Pattern Scanner
Isolated subagent that scans a codebase for the 20 anti-patterns from Osmani's "The Effective Software Enginee