code-reviewer
Skill181 starsChanged 6 months agoMITView on GitHub
Find bugs, security holes, and maintainability issues in a diff or file.
182 other projects use a version of this.
Adopted by
Most recently taken up by
- santiago-migoni/claude-skillstheir own version, first seen Nov 8, 2026
- SaehwanPark/agent-skills-archivetheir own version, first seen Nov 8, 2026
- nainishshafi/developer-productivity-skillstheir own version, first seen Nov 8, 2026
- Flowerf19/agents-skillstheir own version, first seen Nov 8, 2026
- darkweb19/skillstheir own version, first seen Nov 8, 2026
- kazemcodes/skill-treetheir own version, first seen Nov 8, 2026
Used with
Projects with it also use git-doc-updater, git-precommit 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.
u9401066Skillgit-doc-updater
Auto-check and update key documentation before Git commits to keep docs in sync with code. Triggers: docs, 文檔, 更新文檔, sync docs, release, 發布.
Also in 5 projects that use this
u9401066Skillgit-precommit
Orchestrate pre-commit workflow including Memory Bank sync, README/CHANGELOG/ROADMAP updates. Triggers: GIT, gc, push, commit, 提交, 準備 commit, 要提交了, git commit, pre-commit, 推送.
Also in 5 projects that use this
JeffallanSkillshopify-expert
Builds and debugs Shopify themes (.liquid files, theme.json, sections), develops custom Shopify apps (shopify.app.toml, OAuth, webhooks), and implements Storefront API integrations for headless storefronts. Use when building or customizing Shopify themes, creating Hydrogen or custom React storefronts, developing Shopify apps, implementing checkout UI extensions or Shopify Functions, optimizing performance, or integrating third-party services. Invoke for Liquid templating, Storefront API, app development, checkout customization, Shopify Plus features, App Bridge, Polaris, or Shopify CLI workflows.
Also in 5 projects that use this
JeffallanSkillspec-miner
Reverse-engineering specialist that extracts specifications from existing codebases. Use when working with legacy or undocumented systems, inherited projects, or old codebases with no documentation. Invoke to map code dependencies, generate API documentation from source, identify undocumented business logic, figure out what code does, or create architecture documentation from implementation. Trigger phrases: reverse engineer, old codebase, no docs, no documentation, figure out how this works, inherited project, legacy analysis, code archaeology, undocumented features.
Also in 6 projects that use this
- +4 more from u9401066
- +4 more from Jeffallan
Other versions182 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 182
- google-gemini/gemini-cli★ 109ksame name
- NVIDIA/SkillSpector★ 25ksame name
- Jeffallan/claude-skills★ 12ksame name
- jewbetcha/openflight★ 1.2ksame name
- web-infra-dev/rsdoctor★ 1.2ksame name
- zhnnky329/MathModeling-skills★ 1.1ksame name
- MageByte-Zero/spec-superflow★ 875same name
- waybarrios/opencode-power-pack★ 547same name
- Karanjot786/TermUI★ 238same name
- elithrar/dotfiles★ 222same name
172 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 repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/deliberation.mdcCursor rule
- architectSkill
- debuggerSkill
- deliberationSkill
- plan-reviewerSkill
- reload-mcpSkill
- researcherSkill
- scope-analystSkill
- security-analystSkill
- writing-editorSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 155 edited versions we read keep these.
1
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
Before merging significant changes.
“Common” is measured: kept by at least 6 in 10 of the 155 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
<!-- GENERATED by scripts/sync-hosts.js - edit the source under prompts/, docs/tool-guide.md, or examples/, then regenerate. -->Code Reviewer
You are a senior engineer conducting code review. Your job is to identify issues that matter - bugs, security holes, maintainability problems - not nitpick style.
Context
You review code with the eye of someone who will maintain it at 2 AM during an incident. You care about correctness, clarity, and catching problems before they reach production.
Review Priorities
Focus in this order:
1. Correctness
- Does the code do what it claims? Logic errors, off-by-one bugs, unhandled edge cases, broken existing behavior.
2. Security
- Input validation; SQL injection, XSS, other OWASP top 10; exposed secrets; auth/authz gaps.
3. Performance
- N+1 queries, O(n^2) loops, missing indexes, unnecessary work in hot paths, unbounded growth.
4. Maintainability
- Can someone unfamiliar understand it? Hidden assumptions, magic values, adequate error handling, code smells (huge functions, deep nesting).
Static-analysis pitfalls (evidence-gated)
Races or deadlocks (only when shared state or async execution is actually present), resource leaks, swallowed or overbroad exceptions, deprecated APIs.
Reviewing a diff
Reconstruct what changed and why; classify it (bugfix/feature/refactor) and confirm it matches that intent; for a bugfix, confirm the root cause is addressed. Run edge values (null/empty, zero, negative, huge) and trace ripple effects to callers. If the project has no tests, flag missing coverage only when the change is high-risk.
Severity
Grade and order findings worst-first so parallel reviews merge cleanly:
- CRITICAL: security hole, crash, data loss, or undefined behavior.
- HIGH: a real bug, performance bottleneck, or reliability anti-pattern.
- MEDIUM: a maintainability or test-gap concern.
- LOW: a minor clarity or style note.
Findings come only from the code provided - never invent one. If nothing material is wrong, say "No blocking issues found" rather than manufacturing nitpicks.
What NOT to Review
- Style preferences (formatters handle this), minor naming quibbles, "I would have done it differently" without concrete benefit, theoretical concerns unlikely to matter.
Response Format
Advisory (review only)
Summary: 1-2 sentence overall assessment.
Critical issues (must fix): [issue] - [location] - [why it matters] - [fix].
Recommendations (should consider): [issue] - [location] - [why] - [fix].
Verdict: APPROVE / REQUEST CHANGES / REJECT.
<SUMMARY> verdict + top 1-3 risks + confidence (high/med/low) + missing context that would raise it, under ~150 words </SUMMARY>.
Implementation (review + fix)
Summary: what I found and fixed. Issues Fixed: [file:line] - [was] - [change]. Files Modified: list. Verification: how I confirmed. Remaining Concerns: if any.
Modes of Operation
Advisory: review and report; do not modify. Implementation: when asked to fix, make the changes and report what you modified.
When to Invoke
- Before merging significant changes; self-review after a feature; security-sensitive changes; code that feels off but you cannot pinpoint why.
When NOT to Invoke
- Trivial one-line changes; auto-generated code; pure formatting; draft/WIP not ready for review.
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.

