code-review
Skill1 starsChanged 4 months agoMITView on GitHub
Find bugs and potential issues in code changes.
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 repository19 other files it gives its agents.
- auto-commitSkill
- cleanSkill
- coverageSkill
- documentSkill
- purifySkill
- refactorSkill
- spae-buildSkill
- spae-checkSkill
- spae-fixSkill
- spae-inspectSkill
- spae-orchestrateSkill
- spae-planSkill
- spae-prepareSkill
- spae-spawnSkill
- spae-specSkill
- spae-verifySkill
- testSkill
- tipSkill
- troubleshootSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 9 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 50
Commit or PR scope: the commit message(s) or PR title and description.
- Very specific: line 69
Read relevant project documentation (AGENTS.md, ORIENT.md, DESIGN.md), nearby code, and tests for grounding.
- Very specific: line 119
VERIFY passes. Use | block scalars for multi-line suggestion and excerpt fields.
- Distinctive: line 140
Verify findings against AGENTS.md before reporting.
- Very specific: line 141
Default to PHASE_CAP (7) phases as a single named constant—never scatter phase-count literals across the workflow.
- Distinctive: line 148
No finding without direct code evidence.
- Distinctive: line 149
No praise, broad commentary, or unrelated cleanup requests.
- Distinctive: line 150
No large raw tool output; summarize diagnostics.
- Distinctive: line 151
Don't change project source files during review.
- Distinctive: line 152
Don't flag: missing comments/docs, performance micro-optimizations without evidence the path runs hot, hypothetical inputs (unless the diff …
- Very specific: line 156
Run VERIFY, PERSIST, and REPORT once, after the phase sweep—never per phase.
- Distinctive: line 163
Don't speculate about code outside the diff.
- Very specific: line 168
When a stack context block arrives (for example, Stack: Python 3.12, asyncio), apply its language-specific severity adjustments—it takes …
- Very specific: line 179
Every suppressed_findings entry cites qualifying intent evidence—never a general or vague rationale.
- Very specific: line 181
If findings or suppressed findings exist: code-review-report.yaml written and conforms to references/report-schema.json.
- Distinctive: line 192
Keep prose terse while ensuring clarity.
- Distinctive: line 195
Use lists and sub-lists over paragraphs and long sentences.
“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 agent
When to use
- Reviewing diffs, commits, PRs, or changed files before merge.
- Auditing generated code or refactors for regressions.
Goal
Conduct a skeptical, evidence-based review that flags only material defects—incorrect behavior, data loss, security vulnerabilities, or crashes. Return prioritized findings with exact code citations.
Scope
In scope:
- Lines added or modified in the diff
- New public API contracts introduced by the diff
- Security and correctness of new logic
Out of scope:
- Unchanged code visible in context
- Architecture or design concerns
- Missing tests or test coverage
- Style, formatting, naming conventions
DRY/ abstraction suggestions- Hypothetical callers or inputs (unless new public API)
Input
Determine scope from the first available source:
- Files or folders provided by the user.
- Current changes in the repository: staged,
unstaged, anduntrackedfiles in a versioned project.
Abort with a clear message if no scope detected.
Gather intent grounding matching the resolved scope:
- Commit or
PRscope: the commit message(s) orPRtitle and description. - Uncommitted-changes or file scope: comments near each changed
hunk, plus any intent the requester stated when invoking the review.
Workflow
- GATE—Identify changed files and diff boundaries; abort if no
scope. Delete
code-review-report.yamlfrom the project root if present. - ORIENT—Read
references/code-review-guide.mdfor categories, severity levels, decision rules, scope, and calibration. Readreferences/report-schema.jsonas the output contract. Anchor to review goal; name what the review won't change.- Ground runtime execution model (single-threaded CLI, async loop, multi-threaded server, isolated worker) and threat model.
- Gather intent grounding (see Input) for the
hunksunder review before the category passes.
- ACT—Execute:
- Read relevant project documentation (
AGENTS.md,ORIENT.md,DESIGN.md), nearby code, and tests for grounding. - Detect and run configured linters, type checkers, and static analysis; treat tool errors as confirmed findings.
- Sweep up to
PHASE_CAP(7) phases against a running ledger; stop the first phase that contributes zero new candidates:- Each phase scans every category below in full before consulting the ledger—produce the complete candidate list first, then dedupe. Skipping already-covered ground before scanning defeats the sweep.
- Each phase carries a rotating heightened-focus category, cycling
((phase - 1) mod 8) + 1through the category order below— rotation adds focus without narrowing scope; every phase still scans all 8. - Tag each candidate with a defect signature:
category:path:line-or-range:short-defect-slug. Treat a candidate as new only when its signature stays absent from the ledger. - Append new candidates to the ledger after each phase.
- Categories (every phase scans all):
- Correctness: Logic, conditions, bounds, formulas, collection mutation.
- Null and type safety: Null/undefined
dereferences, unchecked Result/Option types, unsafe coercions. - Concurrency: Shared mutable state, lock release paths,
read-modify-writeatomicity,asyncrace conditions. - Security: Injection,
hardcodedcredentials, auth bypass,PIIin logs, unsafedeserialization, missing boundary validation. - Resource management: File, socket, connection, lock, or allocation without guaranteed release.
- Error handling: Silently discarded errors, wrong return on
error branch,
unpropagatederrors. - API misuse: Deprecated functions, wrong argument order, ignored return values, missing required options.
- Data integrity:
Unvalidatedindex/size/key inputs, broken serialization contracts, truncation risk.
- Read relevant project documentation (
- VERIFY—Run once, after the phase sweep completes—never per phase.
Prove each ledger finding against code, project mandates, and app
threat model. Apply decision rules from the guide (resource leak,
injection, null safety, concurrency, error handling, intent check).
- Drop speculative, out-of-scope, or
unexploitabletheoretical findings from activefindings. - Route findings lacking concrete exploit paths or carrying
qualifying intent evidence to
suppressed_findingsciting the missing trigger scenario—never emit them infindings.
- Drop speculative, out-of-scope, or
- PERSIST—Skip only when both
findingsandsuppressed_findingsstay empty. Otherwise writecode-review-report.yamlto the project root conforming toreferences/report-schema.json; omit thesuppressed_findingskey entirely when empty. Write once, after VERIFY passes. Use|block scalars for multi-linesuggestionandexcerptfields. - REPORT—Sort findings by severity. Emit the result following the result directives and result template.
Directives
- Cite each finding with a quoted excerpt and
path:line. - Rank findings:
Critical,High,Medium,Low,Nit.- Emit
Nitonly when trivially co-located with a higher-severity finding.
- Emit
- Verdict:
Request Changes(any confirmed, practically exploitable Critical/High) ·Comment(Medium/Low only) ·Approve(no findings). Derive verdict fromfindingsonly—suppressed_findingsnever shifts it. - Filter candidate findings against the app threat model,
KISS, andYAGNI; reject defensive bloat, ungrounded guardrails, and theoretical non-exploits. - Mark uncertainty explicitly: "Context may change this finding, but…"
- Suggest targeted, scope-appropriate fixes; don't rewrite the patch.
- Omit empty categories and "none found" sections.
- Verify findings against
AGENTS.mdbefore reporting. - Default to
PHASE_CAP(7) phases as a single named constant—never scatter phase-count literals across the workflow. - Surface phases run in the result
Actionslist (for example,ran 3/7 phases, stopped on saturation).
Constraints
- No finding without direct code evidence.
- No praise, broad commentary, or unrelated cleanup requests.
- No large raw tool output; summarize diagnostics.
- Don't change project source files during review.
- Don't flag: missing comments/docs, performance micro-optimizations without evidence the path runs hot, hypothetical inputs (unless the diff introduces a new public-facing API), or theoretical vulnerabilities outside the app threat model.
- Run
VERIFY,PERSIST, andREPORTonce, after the phase sweep—never per phase.
Calibration
- Precision over recall—one high-confidence Critical beats five speculative Mediums.
- Don't speculate about code outside the diff.
- Note ambiguous intent in the finding rather than assuming defect.
- Flag the defect; don't editorialize about the author or decision.
- Language-specific idioms inform findings—don't flag idiomatic use as incorrect.
- When a stack context block arrives (for example,
Stack: Python 3.12, asyncio), apply its language-specific severity adjustments—it takes precedence.
Verification
- Static analysis output checked when available and practical.
- Findings map to diff or file excerpts and line references.
- Severity reflects user impact or
exploitability. - Suggestions describe concrete changes.
- Report matches workspace mandates.
- Every
suppressed_findingsentry cites qualifying intent evidence—never a general or vague rationale. - If findings or suppressed findings exist:
code-review-report.yamlwritten and conforms toreferences/report-schema.json. - Ledger dedup keys off the defect signature
(
category:path:line-or-range:slug)—no phase counts a finding new without a fresh signature. - Phase sweep halts on the first zero-new-finding phase, or at
PHASE_CAP(7), whichever comes first.
Result directives
- Minimum words. Maximum signal.
- Keep prose terse while ensuring clarity.
- Optimize prose for agent, token, and context efficiency.
- Split actions and summaries into terse bullet points.
- Use lists and sub-lists over paragraphs and long sentences.
- Omit inapplicable fields.
- Emit the result template as live markdown—never in a code fence.
- Output nothing outside the template.
Result template
<!-- prettier-ignore-start -->### Execution Summary
- **Actions**:
- [Terse list of actions taken]
- **Files**:
- [Terse list of affected files]
- **Findings**:
- [Terse list of notable findings]
- **Resolutions**:
- [Terse list of recommended fixes to findings]
- **Summary**:
- [Terse list summarizing outcome]
> **Code Review Status** • `[scope]`
> **Result**: [Issues Found | No Issues | Failed]
> **Impact**: [Terse impact statement]<!-- prettier-ignore-end -->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.

