mcpbeat Sign in

Claude MD Review Skill for Claude

Audit a CLAUDE.md file for the patterns that actually degrade Claude Code's output — vagueness, unnamed files, stale facts, and bloat. Use when asked to review, audit, improve, shrink, or fix a CLAUDE.md, and when a project's results feel inconsistent or Claude keeps rediscovering the same context.

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
2442
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/wesammustafa/Claude-Code-Everything-You-Need-to-Know --skill claude-md-review

The instruction itself

5 sections, as written by the author

CLAUDE.md Review

Audit a CLAUDE.md against the failure modes that actually cost output quality.

Premise: CLAUDE.md loads into context on every single session, so every line is either paying rent or costing you tokens on every turn forever. Most "the model isn't following instructions" problems are instruction problems.

Steps

  • Read the target file (default ./CLAUDE.md; also check ~/.claude/CLAUDE.md and any nested **/CLAUDE.md if the project has them, since the closest one wins).
  • Score each dimension below and quote the specific lines that fail.
  • Output the report format at the bottom. Propose concrete rewrites, not "consider being more specific."

What to check

Specificity — the highest-leverage dimension.

  • Flag unfalsifiable directives: "write clean code", "follow best practices", "be careful", "use good naming".
  • Every rule should be checkable by reading a diff. "Refactor functions over 40 lines" is checkable; "keep functions short" is not.

Named anchors.

  • Rules that reference "the config", "our API layer", or "the usual pattern" force rediscovery every session. Replace with real paths: src/config/env.ts, src/api/client.ts.
  • Verify every path, command, and filename mentioned still exists. Report the dead ones — a CLAUDE.md pointing at a deleted file actively misleads.

Staleness.

  • Version numbers, model names, and tool commands that no longer match the repo.
  • Instructions for a framework, script, or directory that's since been removed.
  • Cross-check build/test/lint commands against package.json, Makefile, pyproject.toml, or equivalent — a wrong test command is worse than none.

Bloat and rent.

  • Anything derivable from the code itself (file tree listings, dependency lists, restating what a function does). Claude can read the repo.
  • Long procedures that only apply to one occasional task: those belong in a skill, whose body loads only when used, rather than in context on every turn.
  • Generic advice that applies to all software everywhere and therefore teaches nothing about *this* project.

Conflicts.

  • Rules that contradict each other, or contradict what the code actually does. Flag both sides and ask which wins.
  • Precedence surprises: a nested CLAUDE.md or ~/.claude/CLAUDE.md overriding what the author expects.

What's missing. The gaps worth calling out, if absent:

  • How to run tests, build, and lint — the three things needed to self-verify a change.
  • Non-obvious project constraints (a directory that must not be touched, a generated file, a required migration step).
  • Conventions that are genuinely surprising and not visible from a quick read of the code.

Output format

## CLAUDE.md review — <path> (<N> lines)

**Verdict:** <one sentence>

### Blocking
- L<n>: <quoted line> → <concrete rewrite>

### Worth fixing
- L<n>: <quoted line> → <concrete rewrite>

### Delete (costs context on every session, earns nothing)
- L<n>–<m>: <what and why>

### Missing
- <gap> → <suggested line to add>

**Estimated size after edits:** <N> lines (from <M>)

Rules

  • Quote real line numbers and real text. Never invent a finding to fill a section.
  • If a section has no findings, write None. — a clean file is a valid result.
  • Prefer deleting to rewriting. The best CLAUDE.md is short enough that people actually read it.
  • Do not edit the file unless asked. Report first.

Other skills for the same job

different authors, same section of the catalogue
Hook Development
by anthropics
vendor ×2

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

16k tokens scripts
Hook Development
by anthropics
vendor ×2

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

16k tokens scripts
Copilot SDK
by christophacham
×2

Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent.

6k tokens
Cass
by Dicklesworthstone
×2

Coding Agent Session Search - unified CLI/TUI to index and search local coding agent history from Claude Code, Codex, Gemini, Cursor, Aider, ChatGPT, Pi-Agent, Factory, and more. Purpose-built for AI agent consumption with robot mode.

6k tokens
Dcg
by Dicklesworthstone
×2

Destructive Command Guard - High-performance Rust hook for Claude Code that blocks dangerous commands before execution. SIMD-accelerated, modular pack system, whitelist-first architecture. Essential safety layer for agent workflows.

4k tokens
Makepad Skills
by ComeOnOliver
×2

Makepad UI development skills for Rust apps: setup, patterns, shaders, packaging, and troubleshooting.

2k tokens
Varlock Claude Skill
by ComeOnOliver
×2

Secure environment variable management ensuring secrets are never exposed in Claude sessions, terminals, logs, or git commits

3k tokens
Create Agentsmd
by github
vendor ×1

Prompt for generating an AGENTS.md file for a repository

2k tokens

How to use it

Copy the folder

Take wesammustafa/claude-md-review from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.