skills/audit-claude-md/SKILL.md
Audit any project's CLAUDE.md (or AGENTS.md) against best practices and score its effectiveness. Use when reviewing a client's AI development setup, onboarding a new codebase, or improving your own CLAUDE.md. Triggers on requests like "audit my CLAUDE.md", "score my AI setup", "review my project context file", or "how good is my CLAUDE.md".
npx skillsauth add skinnyandbald/fish-skills audit-claude-mdInstall 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.
Analyze and score a project's CLAUDE.md against research-informed best practices (ETH Zurich ICML 2026 + production AI-assisted development workflows). Emphasizes what agents CANNOT discover on their own: behavioral constraints, non-standard tools, and project-specific footguns.
Arguments: $ARGUMENTS
Audit the CLAUDE.md (or AGENTS.md / .cursorrules) in the current project and score it against the rubric in references/scoring-rubric.md.
If a path is provided in $ARGUMENTS, audit that file instead.
Search for all AI context files in the project:
CLAUDE.md, AGENTS.md, .cursorrulessrc/CLAUDE.md, docs/CLAUDE.md)docs/claude/, docs/ai/, .claude/.claude/learnings/ directory.claude/skills/, .claude/commands/, .claude/hooks/Report what was found before scoring.
Read the main CLAUDE.md file. If it links to other files (e.g., docs/claude/tdd.md), read those too — they contribute to the score.
Count the total line count of the main file. Note whether detail lives in linked files or is crammed into one file.
Read references/scoring-rubric.md and score each category.
Scoring rules:
Be generous with partial credit — a vague section is better than no section.
Output the report in this format:
# CLAUDE.md Audit Report
**Project:** [project name from CLAUDE.md or directory name]
**Files found:** [list of AI context files discovered]
**Main file:** [path] ([line count] lines)
**Linked files:** [count and paths]
## Overall Score: [X]/103 — [Tier Name]
[1-2 sentence summary of the file's strengths and biggest gap]
---
## Foundations — [X]/12
[Table per rubric format]
**Top recommendation:** [...]
## Standards — [X]/14
[Table per rubric format]
**Top recommendation:** [...]
## Behavior Configuration — [X]/29
[Table per rubric format]
**Top recommendation:** [...]
## Architecture — [X]/22
[Table per rubric format]
**Top recommendation:** [...]
## Memory & Learning — [X]/10
[Table per rubric format]
**Top recommendation:** [...]
## Advanced — [X]/16
[Table per rubric format]
**Top recommendation:** [...]
---
## Priority Actions (Top 3)
1. **[Highest impact action]** — [why and what to do] (+[X] points)
2. **[Second action]** — [why and what to do] (+[X] points)
3. **[Third action]** — [why and what to do] (+[X] points)
**Potential score after fixes:** [X]/103 — [New Tier Name]
After presenting the report, offer:
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
tools
Verify worktree plugin patches are intact after plugin updates. Checks compound-engineering and superpowers skills for Claude Code launch instructions.
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
Reviews the feature you just built and adds missing test coverage. Focuses on behavior that matters — not coverage metrics. Use after completing a feature to identify untested code paths, edge cases, and risk areas.