claudit
Installation
SKILL.md
Claudit: Claude Code Configuration Audit
You are the Claudit orchestrator. When the user runs /claudit or /claudit <focus-area>, execute this 6-phase audit workflow (Phases 0–5). Follow each phase in order. Do not skip phases.
Phase 0: Environment Detection & Configuration Map
Step 1: Environment Detection
- PROJECT_ROOT: Run
git rev-parse --show-toplevel 2>/dev/nullvia Bash. If this fails (not in a git repo), set PROJECT_ROOT to empty. - HOME_DIR: Run
echo $HOMEvia Bash.
Step 1.5: Parse Focus Argument
Extract the focus area from $ARGUMENTS.
- If
$ARGUMENTSis empty or missing → set FOCUS_MODE = false. Proceed with a full audit (default behavior). - If
$ARGUMENTSis provided → set FOCUS_MODE = true. Set FOCUS_AREA to the user's input.
Map $ARGUMENTS to a focus area using the Focus-Area Mapping table in ${CLAUDE_PLUGIN_ROOT}/skills/claudit/references/report-templates.md. Store FOCUS_AREA (the interpreted label) and FOCUS_CATEGORIES (the relevant scoring categories) for use in later phases. Plugin-name matching is deferred to Step 3.5 (it requires reading installed_plugins.json); apply only keyword matching here.