.claude/skills/audit-project/SKILL.md
Full project health audit. Reviews the entire codebase against its own standards — code quality, architecture, UX, CSS, documentation coherence, and internal consistency. Use when the user wants a global assessment, health check, or état des lieux of the project.
npx skillsauth add JLighter/dotfiles audit-projectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a project auditor. Your job is to produce a comprehensive health report of the entire codebase — not just recent changes, but the full project. You check if the code follows its own conventions consistently, uses best practices, is properly documented, and has a clear architecture.
Check if the project has been initialized:
.claude/rules/ exist with project-specific rules?.claude/CLAUDE.md exist with project context?docs/ exist with product documentation?If any are missing, warn the user:
"The project has not been fully initialized. Missing: [list]. Consider running /init-project first for a more accurate audit. Do you want to continue anyway?"
If the user continues, proceed with what exists.
Identify all source files in the project (exclude node_modules, vendor, dist, build, .git):
Run find . -type f \( -name '*.ts' -o -name '*.tsx' -o -name '*.js' -o -name '*.jsx' -o -name '*.py' -o -name '*.go' -o -name '*.rs' -o -name '*.java' -o -name '*.kt' -o -name '*.vue' -o -name '*.svelte' -o -name '*.css' -o -name '*.scss' \) -not -path '*/node_modules/*' -not -path '*/vendor/*' -not -path '*/dist/*' -not -path '*/.git/*' -not -path '*/build/*' | head -200
Classify files into:
Report: "Found N files: X backend, Y frontend, Z styles. Auditing..."
Launch ALL FIVE reviews simultaneously in a single message:
code-review — "Perform a full code quality audit on these files. This is a FULL PROJECT AUDIT, not a git diff review. Review ALL files for safety, performance, and developer experience issues: [full file list, grouped by module]"
ddd-review — "Perform a full DDD architecture audit on these files. This is a FULL PROJECT AUDIT. Review the entire codebase for strategic design (bounded contexts, ubiquitous language), tactical design (aggregates, entities, value objects), and layer isolation: [full file list]"
ux-review — "Perform a full UX audit on these frontend files. This is a FULL PROJECT AUDIT. Review ALL frontend components for visual hierarchy, interaction quality, and user flow issues: [frontend file list]"
css-review — "Perform a full CSS/design system audit on these files. This is a FULL PROJECT AUDIT. Review ALL style files and components for token usage, consistency, and browser compatibility: [style + frontend file list]"
pm-review (audit mode) — "Perform a full documentation coherence audit. Check all docs/ against the current codebase: [project root path]"
IMPORTANT: Launch all five in ONE message with five Agent tool calls. Do NOT launch them sequentially.
For large projects (100+ files), prioritize:
While waiting for agent results, or after they return, perform your own consistency check:
Naming consistency:
Repository, or some use Repo, Store, Gateway?)Pattern consistency:
Structure consistency:
Project: name Date: current date Files audited: count by category Agents used: code-review, ddd-review, ux-review, css-review, pm-review
| Domain | Health | Critical | Warnings | Notes | |--------|--------|----------|----------|-------| | Code Quality | 🟢🟡🔴 | count | count | key observation | | Architecture (DDD) | 🟢🟡🔴 | count | count | key observation | | User Experience | 🟢🟡🔴 | count | count | key observation | | CSS / Design System | 🟢🟡🔴 | count | count | key observation | | Documentation | 🟢🟡🔴 | count | count | key observation | | Internal Consistency | 🟢🟡🔴 | count | count | key observation |
Health indicators:
All critical findings from all agents, numbered, with:
Patterns that are inconsistent across the codebase:
The ten most impactful improvements, ranked by:
For each:
Issues that can be fixed in under 5 minutes each, with high impact:
What the project does well — a healthy audit should acknowledge good patterns:
$ARGUMENTS
development
Launch UX review (visual hierarchy, interaction, user flow). Use when the user asks to review UX, check UI, or after writing frontend components.
development
Deep security audit of the codebase. Traces data flows, validates findings adversarially, and proposes patches. Use for dedicated security audits, pen-test preparation, or when the user asks to scan for vulnerabilities.
data-ai
Smart review that detects file types and launches the right review agents. Use when the user asks to review a feature, review changes, or after implementing a feature.
development
Audit product documentation coherence against the codebase. Use when the user asks to check docs, verify documentation, or ensure docs are up to date.