code-review
Skill2 starsChanged 3 months agoMITView on GitHub
Review the diff of substantial work after `verify` and before the commit: a gate-weakening scan, then fresh-eyes axes for standards and for spec plus commit-message fidelity, plus a security axis on auth, payments, PII, external input, crypto or uploads, each reported by severity. Use before committing anything bigger than a trivial fix.
188 other projects use a version of this.
Adopted by
Most recently taken up by
- github/spec-kittheir own version, first seen Nov 23, 2026
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- rafaelob/pragmatic-agent-skillstheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- dzhng/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use starter, media-processing and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ww-w-aiSkillstarter
Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).
Also in 4 projects that use this
mrgoonieSkillmedia-processing
Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.
Also in 5 projects that use this
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 15 projects that use this
mrgoonieSkillaesthetic
Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.
Also in 4 projects that use this
AWSSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 32 projects that use this
AWSSkillresolving-merge-conflicts
Use when you need to resolve an in-progress git merge/rebase conflict.
Also in 48 projects that use this
- +1 more from mrgoonie
- +2 more from aws
Other versions188 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 188
- mattpocock/skills★ 335ksame name
- microsoft/vscode★ 196ksame name
- github/spec-kit★ 153ksame name
- shareAI-lab/learn-claude-code★ 78ksame name
- github/awesome-copilot★ 40ksame name
- langchain-ai/deepagents★ 30ksame name
- microsoft/vcpkg★ 28ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- microsoft/onnxruntime★ 22ksame name
178 more not listed
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.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- architectSkill
- beginSkill
- calibrateSkill
- checkpointSkill
- complySkill
- critical-thinkingSkill
- debugSkill
- deliverSkill
- design-guardSkill
- designSkill
- handoverSkill
- ingestSkill
- maintainSkill
- scope-guardSkill
- scopeSkill
- skill-authorSkill
- specSkill
- stackSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 76
On a platform stack: When the stack file's header declares a hosted platform, the seven that describe object structure (3, 4, 5, 6, 10, 11, …
- Distinctive: line 106
Every finding here quotes its source: the spec line for behavior, and for message drift the subject plus the hunk it fails to cover.
“Common” is measured: kept by at least 6 in 10 of the 175 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
code-review: fresh eyes on the diff, one axis at a time
Runs before substantial work is committed, after verify has passed. Trivial changes (a typo,
a one-line fix with an obvious cause) skip it; everything with a spec gets it. The subject is
the actual diff about to be committed, not the intention behind it.
Ground rules
- Independent axes, fresh eyes each. Two axes always run (A and B); a third (C) runs only when the diff is security-sensitive, per its own trigger below. If your tool has subagents, give each axis that runs its own subagent with only the inputs named below. Without subagents, run them as sequential passes, re-reading the diff from scratch each time and carrying no conclusions across.
- Skip what tooling already enforces. Formatting, line caps, denylist, secrets and the rest
of
checks/check.mjsplus the stack gates are the machines' job. A finding a gate would have caught means the gates were not run; stop and run them. - Report by severity per axis: blocker, major, minor. The axes are never merged into one ranked list. Each finding names the file and location, states the problem, and proposes the smallest fix.
First: did this diff weaken a gate?
The axes below hand formatting, denylist, secrets and the rest of checks/check.mjs to the
machines. That hand-off holds only while the machines still run at full strength, so this scan
comes first on every review. It is mechanical and needs no fresh eyes: one pass over the diff,
looking for the moves that lower the bar instead of clearing it.
- A test stopped running: deleted, renamed out of what the runner collects, marked skipped or
pending (
.skip,xit,@pytest.mark.skip, a commented-out body), or parked by an.onlythat takes its neighbors with it. - A test stopped asserting: the name survives, but the assertion is gone, softened to a truthiness check, or rewritten to expect whatever the code now produces.
- A threshold moved the easy way: a coverage minimum, a line or size budget, a lint severity dropped to warning, an allowed-failures count raised.
- A check switched off: a rule disabled in config, a strictness flag flipped, an entry
dropped from
checks/config.json, a CI step removed or made non-blocking, a hook shortened,--no-verifyanywhere. - A suppression appeared at the call site:
eslint-disable,@ts-ignore,# noqa,# type: ignoreand their kin.
A hit is a blocker unless the diff makes the case in the open, in the same commit: the behavior under test genuinely went away with the code, or the gate itself was wrong and the message or spec says why and what replaced it. Silence is the tell. AGENTS.md forbids bypassing a gate; this is the one moment when the bypass is still visible as a diff instead of as a habit.
Axis A: standards conformance
Inputs: the diff, docs/standards/GLOBAL.md, and the stack file in docs/standards/.
Question: does this code meet the written standards, and is it free of the classic smells?
Baseline of thirteen smells to check by name, beyond whatever the standards say:
- Mysterious name: the name needs the implementation to be understood.
- Duplicated code: the same knowledge written twice.
- Feature envy: a function that mostly manipulates another module's data.
- Data clumps: the same group of values traveling together unbundled.
- Primitive obsession: domain concepts passed around as bare strings and numbers.
- Repeated switches: the same case analysis dispatched in several places.
- Shotgun surgery: one conceptual change forcing edits in many files.
- Divergent change: one file edited for many unrelated reasons.
- Speculative generality: hooks and options for a future nobody scheduled.
- Message chains: reaching through object after object to get one value.
- Middle man: a layer that only forwards to the next layer.
- Refused bequest: inheriting an interface and ignoring most of it.
- Hedged naming: a name that records the edit history instead of the thing (
utils2,enhanced_*,*_v2,*_final, aFooManagersitting next toFoo). Not the same as a mysterious name: this one is clear enough, it is evasive. It exists because nobody chose between the old version and the new one, so both ship. The fix is the choice: replace the original, or name what actually differs about this one.
On a platform stack. When the stack file's header declares a hosted platform, the seven that
describe object structure (3, 4, 5, 6, 10, 11, 12) go quiet against solution XML, flow
definitions and generated exports. The other six survive the translation and are where the
findings are: a flow named New flow 1, the same logic copied into three flows, a solution
edited for unrelated reasons, one change forcing edits across a dozen artifacts, options nobody
asked for, and Flow - Copy shipping beside the original. The subject of the review is what the
platform actually runs - flows, apps, business rules, security roles, connector permissions,
environment variables - read in the platform's own terms, with the export diff treated as the
transport it is. The discriminator matters here: churn the exporter produced (reordered nodes,
regenerated ids, timestamps) is not a finding, while a security role granting more than the spec
asked for is one whether or not the diff makes it obvious. The standards file's platform craft
section (environment strategy, naming, blessed and deprecated patterns, connector governance) is
the written standard this axis holds it to.
Axis B: spec and message fidelity
Inputs: the diff, the spec (tier S: the request as recorded), and the commit message about to be used. Question: does the diff do exactly what the spec says, no less and no more, and does the message describe the diff that is actually there?
- Missing behavior: an acceptance criterion or stated requirement the diff does not satisfy. Quote the spec line in the finding.
- Scope creep: behavior in the diff that no spec line asks for. Quote the nearest spec line it exceeds, or state that no line covers it. Creep goes to INTAKE.md, not into the commit.
- Message drift: the message and the diff describe different work. The type is wrong for
what changed (
fix:on new behavior,docs:on a code change), the subject names the intention rather than what a reader will find in the diff, a second change rides along unmentioned, or theTraces-to:trailer names an item this diff does not serve. A welcome extra is still undeclared work: name it in the message or lift it out of the commit. - Every finding here quotes its source: the spec line for behavior, and for message drift the subject plus the hunk it fails to cover. A fidelity finding with nothing quoted is an opinion and belongs on axis A or nowhere.
Axis C: security (conditional)
Runs only when the diff touches at least one of these six surfaces. When it touches none, record "axis C: not triggered" and skip it - this is what keeps the axis off the cost of every review (decision 0015): a login form pays for it, a copy change does not.
- auth: authentication, sessions, tokens, identity, or access-control decisions.
- payments: money movement, billing, orders, anything with a price.
- PII: personal data read, stored, exported, or logged (a GDPR/AVG surface).
- external input: any value crossing a trust boundary - request bodies and params, webhook and third-party payloads, file contents, message-queue data.
- crypto: encryption, hashing, signing, token or key generation, security-relevant randomness.
- uploads: files received from a client (a high-risk case of external input, named on its own because it breaks in its own ways).
Inputs: the diff, the security floor in docs/standards/GLOBAL.md, and the stack file. The
secrets scan and the dependency audit already run as gates; this axis is the design judgment they
cannot make. Question: on the surfaces the diff touches, does it hold the floor and avoid the
classic breaks? Seven breaks to check by name, drawn from the OWASP Top 10 classes plus GDPR/AVG
data minimization (grounds: NIST SSDF PW.7, ISO/IEC 27001:2022 A.8.28):
- Missing authorization: an action or query that confirms the caller is logged in but not that this caller may touch this specific record.
- Unsanitized sink: external input reaching a query, shell command, path, template, or redirect without being parameterized, encoded, or allow-listed for that sink.
- Fail-open check: an auth or validation branch whose failure path falls through to allow instead of deny, the floor's "fail closed" read backwards.
- Sensitive data leaking sideways: a secret, token, or PII field flowing into a log, a URL, an error message, or a client response that should not carry it.
- Weak or hand-rolled crypto: a home-grown cipher or token scheme, a predictable random source for a security value, an unsalted or fast password hash, a secret compared non-constant-time.
- Trusting the client's file: an upload accepted on its client-supplied name or type, written to an executable or web-served path, or stored with no size or type bound.
- Collecting more than needed: new personal data gathered or kept past the stated purpose (GDPR/AVG data minimization).
Report at blocker, major, or minor like the other axes, each finding naming the surface, the concrete break, and the smallest fix. A security finding sits on the never-simplify-away floor (AGENTS.md): a blocker here is fixed, not accepted away.
After the review
Blockers are fixed before the commit; the fix goes back through verify. Majors are fixed, or
put to the owner one at a time as a consequence for a user (what breaks for whom, and what
accepting it costs), with your recommended answer; a major the owner accepts is recorded where
it lands, never left in the chat. Minors are fixed cheaply now or recorded (INTAKE.md for
ideas, DEBT.md with a defer: marker for accepted debt). Refactoring findings are applied
here, in the review stage, as their own change: never folded into the implementing diff
(see docs/standards/GLOBAL.md). Report the outcome per axis in a few lines, then proceed
to scope-guard and the commit. ⚓
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.

