codebase-review
Skill0 starsChanged 5 days agoMITView on GitHub
Scores a repository for agent-readiness and AI readiness, and proposes changes without editing the target. Covers AGENTS.md, CLAUDE.md, naming, and repo layout.
- Reads credentials
6 other projects use a version of this.
Adopted by
Most recently taken up by
- Aaqibhafeezkhan/skillselftheir own version, first seen Nov 29, 2026
- psw7205/skillstheir own version, first seen Nov 16, 2026
- nielsmadan/skillstheir own version, first seen Nov 8, 2026
- timharris707/skillstheir own version, first seen Sep 5, 2026
- ba0918/claude-skillstheir own version, first seen Jul 9, 2026
- ryankolean/summit-claude-skillstheir own version, first seen Apr 17, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- timharris707/skills★ 44same name
- ryankolean/summit-claude-skills★ 4same name
- nielsmadan/skills★ 1same name
- psw7205/skills★ 1same name
- Aaqibhafeezkhan/skillself★ 0same name
- ba0918/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 19
If the path is a git checkout, record git status --porcelain and git rev-parse HEAD.
- Very specific: line 22
Write the report in the shape of references/report-template.md.
- Distinctive: line 45
Referenced shared modules: Import a shared module at each use and export a clear signature.
- Distinctive: line 50
Fresh offline sandbox: Read only. Do not run tests.
- Very specific: line 52
Secrets: Keep secrets and never-read paths out of search, under a name the agent recognizes (for example .env).
- Distinctive: line 75
Run the done command. If it fails, revert that row and say so.
- Distinctive: line 76
Add the outcome to the report: what changed, whether the done command passed, and HEAD before and after.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codebase review
Review mode is the default. Score the checklist and report problems only. Do not modify the target, apply fixes, write instruction files, or run the done command. Fix mode is opt-in and runs that command only on named rows.
The reply is only the report. Start with the verdict line. Do not print progress or status lines, such as "Mapping done; checking the tree." or "Still read-only; writing the table."
Input
A readable path. Optional focus: a directory, module, or area. None means the whole target.
Steps
- Stay read-only. Do not create, edit, format, delete, or commit in the target.
- If the path is a git checkout, record
git status --porcelainandgit rev-parse HEAD. Otherwise note that. - Map the focus: layout, languages, modules, entry points, instruction files, schemas, scripts, and git history.
- Score all 13 practices. Cite paths, names, and counts. The practices are your checklist. Do not name or number them in the report.
- Write the report in the shape of
references/report-template.md. - In review mode, repeat step 2. Stop if it changed. With no git checkout, confirm you wrote nothing.
Language
Write every problem and fix in plain, simple language a non-specialist can follow. Short sentences. No jargon or unexplained terms. Say "the same small function is copied into 3 files", not "duplicated helper". Say "nothing checks this rule automatically", not "unchecked invariant". File names and commands stay in code spans.
Scores
Used only to pick a severity. They are not rows.
- Good — holds across the focus. No row.
- Mixed — partly holds; say what's missing.
- Weak — missing or mostly fails where it applies.
- N/A — does not apply. No row.
Rubric
- Nearest sample. Agents copy the nearest, most frequent example, so keep one current sample next to the work. Weak: a stale or competing copy sits beside it. A vendored or locked copy counts only where it disagrees with the repo's rules.
- Exact names and error strings. Functions, variables, and errors need unique names, not
utils,helpers, orCard2. Console output, and UI copy if any, needs a stable phrase. Weak: a generic name, or an error with no stable phrase. - Names are the map. Folder, file, and symbol names should show where a feature lives. Use the same words in the feature name, files, functions, and UI copy, if any. Weak: the names do not match the words used to ask for it.
- Lean searchable tree. A hit enters context even if the file stays closed. Keep generated files, build output, logs, large data, old exports, and second experiments out. A committed file is still searched. Count committed generated files by count and bytes, including raster derivatives and visual-test baselines. Weak: that noise is committed.
- File size. Count source, tests, and styles, if any. Skip docs, generated or data files, lockfiles, fixtures, and snapshots. Good under 250, Mixed at 250–400 or for a minority over 400, Weak only when widespread.
- Referenced shared modules. Import a shared module at each use and export a clear signature. Weak: the same helper is written again in two or more places.
- Readable repo state. The working tree holds the current task. Commits are small and say what changed. One default branch needs no written naming rule. N/A with no git history. Weak: unrelated edits share the tree, or messages do not say what changed.
- One schema. One type or model plus its validator in one module counts (a TypeScript type and parser, a Pydantic model, a Go struct and validation). A doc or table of the same fields does not. Pasted values are practice 9. Weak: those fields are declared again in another type, struct, or validator.
- Instruction file. Short, at the root, plus one per project; the closest wins (https://agents.md/). Say only what the code cannot. Point from a file the agent always loads, instead of pasting a guide, sample, or values. Every path, script, and command it names must exist. Setup paths (
node_modules/) and tool-owned blocks (a framework rewrites them) do not count as broken references or pasting. Versioned docs for a fast-moving dependency are optional. No file: Weak only with unusual commands, required env vars, or hard rules; otherwise Mixed, and file-only parts are N/A. Weak: missing where those facts exist, or it pastes, or a named path or command is missing. A skill repeating its own commands is not Weak. - One done command. Document the done command (a test, a type check, or lint) and a fast check for one file or package. Good when
AGENTS.md, orREADMEif none, documents it and CI runs the same steps, even under a different script name. Subset jobs do not change the score. Do not add or run it. Weak: no done command is documented. - Fresh offline sandbox. Read only. Do not run tests. Good: a committed lockfile, a pinned toolchain or runtime file, and one documented setup command. Weak: no lockfile, setup is unwritten, or tests or setup call live URLs or need secrets missing from an env example.
- Hard rules are checked. Each "never" or "must" in the instruction file has a lint, test, hook, or CI step that prints the rule and the fix. N/A with no instruction file. Mixed when the checked rules print a fix and the leftover "must" cannot be linted. Weak: the rule is only prose, or the check prints only an exit code.
- Secrets. Keep secrets and never-read paths out of search, under a name the agent recognizes (for example
.env). Weak: a secret is committed, or the ignored path is not recognizable.
Severity
Critical only when an agent has no way to verify its work, or cannot set the project up at all. A done command that exists (for example in package.json) but is not documented is High, not Critical. A missing command named in the instruction file is also High when some other command can still check the work.
High: any other Weak. Medium: Mixed across several files. Low: Mixed in one place, or one file that contradicts an otherwise Good score. Sort by severity only: Critical, High, Medium, Low.
Report
Each distinct problem is one row: Sev, What's wrong, How to fix it. No practice names. No Good or N/A rows. Never list the same problem twice. If one row's fix also fixes another problem, fold that problem into the fixing row.
Below the table, a short detail section only for Critical and High. Head each with a short problem title, then Evidence (file:line where possible) and Change. Medium and Low get no detail section.
Fix mode
The user must name rows, such as "fix 1 and 3" (count from the top of the table). Do not push, open a pull request, or merge unless asked.
- Review. Write the report first.
- Pick. Change only the named rows.
- On a clean HEAD, record the commit.
- Branch. New branch or worktree. Leave the default branch untouched.
- Change. One commit per row: the smallest change that fixes that problem.
- Run the done command. If it fails, revert that row and say so.
- Add the outcome to the report: what changed, whether the done command passed, and HEAD before and after.
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
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.

