agentleFS
wesammustafawesammustafa/Claude-Code-Everything-You-Need-to-Know/.claude/skills/claude-md-review/SKILL.md

claude-md-review

Skill3.1k starsChanged 5 months agoMITView on GitHub

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.

Trending

Quiet since October.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the wesammustafa/Claude-Code-Everything-You-Need-to-Know repository that our weekly crawl found: only 3 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read the target file (default ./CLAUDE.md.

    line 16
  2. Very specific:

    Every rule should be checkable by reading a diff.

    line 24
  3. Distinctive:

    Verify every path, command, and filename mentioned still exists.

    line 28
  4. Very specific:

    If a section has no findings, write None.

    line 74
  5. Distinctive:

    Prefer deleting to rewriting.

    line 75
  6. Distinctive:

    Do not edit the file unless asked.

    line 76

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. 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).
  2. Score each dimension below and quote the specific lines that fail.
  3. 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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.