code-reviewer
Skill1 starsChanged 57 days agoMITView on GitHub
Structured review of local changes or a remote pull request across correctness, maintainability, doc comments, efficiency, security, error handling and test coverage, with every finding led by a path:line reference. Use when you say "review my changes", "review PR #123", "look over this diff before I merge", "is this branch ready to merge", or "review what I have staged". Not for hunting duplicated or reinvented code specifically, use `review-duplication`.
129 other projects use a version of this.
Adopted by
Most recently taken up by
- jakubsuplicki/codumenttheir own version, first seen Oct 4, 2026
- rumotion/ai-agent-project-templatetheir own version, first seen Oct 3, 2026
- toilanguyen2910/claude-code-starter-packtheir own version, first seen Oct 3, 2026
- delorenj/skillstheir own version, first seen Oct 2, 2026
- mountainowl/bubotheir own version, first seen Oct 1, 2026
- u9401066/pubmed-search-mcptheir own version, first seen Oct 1, 2026
Used with
Projects with it also use sql-query-expert, git-doc-updater 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.
Marine-softdrink524Skillsql-query-expert
Write optimized SQL queries with joins, CTEs, window functions, and performance tuning. Based on Anthropic's Claude Cookbooks.
Also in 3 projects that use this
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 3 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 3 projects that use this
JeffallanSkillsecure-code-guardian
Use when implementing authentication/authorization, securing user input, or preventing OWASP Top 10 vulnerabilities — including custom security implementations such as hashing passwords with bcrypt/argon2, sanitizing SQL queries with parameterized statements, configuring CORS/CSP headers, validating input with Zod, and setting up JWT tokens. Invoke for authentication, authorization, input validation, encryption, OWASP Top 10 prevention, secure session management, and security hardening. For pre-built OAuth/SSO integrations or standalone security audits, consider a more specialized skill.
Also in 4 projects that use this
alirezarezvaniSkillreadme-updater
Keep README files current with project changes. Use when project structure changes, features added, or setup instructions modified. Suggests README updates based on code changes. Triggers on significant project changes, new features, dependency changes.
Also in 4 projects that use this
JohnJBorenSkilltest-engineer
Testing strategy, test patterns, and coverage optimization for unit, integration, and E2E tests
Also in 9 projects that use this
- +3 more from u9401066
Other versions129 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 129
- google-gemini/gemini-cli★ 107ksame name
- NVIDIA/SkillSpector★ 19ksame name
- Jeffallan/claude-skills★ 12ksame name
- zhnnky329/MathModeling-skills★ 1.1ksame name
- MageByte-Zero/spec-superflow★ 838same name
- alirezarezvani/claude-code-tresor★ 777same name
- waybarrios/opencode-power-pack★ 531same name
- linxuan-sys/opencode-skills-chinese★ 196same name
- nagisanzenin/production-grade★ 181same name
- claude-world/director-mode-lite★ 80same name
119 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 repository59 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- agentic-engineeringSkill
- ai-regression-testingSkill
- angularSkill
- ansibleSkill
- api-designSkill
- architecture-decision-recordsSkill
- ascend-memorySkill
- ascend-web-hunterSkill
- audio-scribeSkill
- automation-inventorySkill
- backend-patternsSkill
- bashSkill
- build-dependency-managementSkill
- code-formatterSkill
- coding-standardsSkill
- dart-flutter-patternsSkill
- database-migrationsSkill
- deployment-patternsSkill
- design-systemSkill
- docker-patternsSkill
- e2e-runbooksSkill
- e2e-testingSkill
- embedded-c-arduinoSkill
- frontend-designSkill
- g-code-3d-printingSkill
- github-opsSkill
- git-workflowSkill
- golang-patternsSkill
- hexagonal-architectureSkill
- home-assistantSkill
- java-coding-standardsSkill
- jetbrains-ide-opsSkill
- jira-integrationSkill
- keycloak-patternsSkill
- kicadSkill
- markdown-writerSkill
- mongodb-patternsSkill
- nextjs-app-router-patternsSkill
- node-backend-patternsSkill
- observability-and-loggingSkill
- obsidianSkill
- performance-optimizationSkill
- postgres-patternsSkill
- powershellSkill
- project-trackingSkill
- python-patternsSkill
- pytorch-patternsSkill
- react-patternsSkill
- researchSkill
- review-duplicationSkill
- security-reviewSkill
- seoSkill
- soap-webservicesSkill
- springboot-patternsSkill
- tdd-workflowSkill
- unitySkill
- web-accessibilitySkill
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 111 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 67
Run the project's verification command as documented in its AGENTS.md before reading a single line, so mechanical failures are caught …
- Distinctive: line 83
If the project's AGENTS.md documents no verification command, say so in the review rather than guessing at one.
“Common” is measured: kept by at least 6 in 10 of the 111 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 Reviewer
Conduct a professional review of a change set, whether it lives in the working tree or in a remote pull request. Review
against the coding-standards hub for the shared floor, pull in review-duplication for reuse and security-review
for security, and lead every finding with a path:line reference.
When to activate
- The user asks to review their changes, their staged files, or a diff before merging.
- The user names a pull request by number or URL and wants it reviewed.
- A branch is finished and the user wants to know whether it is ready to merge.
- Another agent has produced an implementation and the change needs a second pair of eyes before it lands.
When not to activate
- Writing the fix rather than reporting it. Hand the findings to the implementing skill or agent, or to the
debuggeragent for a root-cause failure. - A dedicated hunt for duplicated logic or a reinvented utility. Use
review-duplication. - A deep security assessment or threat model rather than a review pass. Use the
security-auditoragent, and keepsecurity-reviewfor the security checklist pass. - Profiling and optimising a slow path. Use
performance-optimization. - Reviewing prose, a README, or docs. Use
markdown-writer.
Step 1: determine the review target
A remote pull request is named by number or URL. Anything else, including "review my changes", means the local working tree, staged and unstaged.
For a remote pull request, check it out first.
gh pr checkout <PR_NUMBER>Then read the pull request description and existing comments, so the review judges the change against its stated goal rather than an invented one.
For local changes, read the state directly.
git statusgit diffgit diff --stagedStep 2: run the project's verification first
Run the project's verification command as documented in its AGENTS.md before reading a single line, so mechanical failures are caught mechanically and the review spends its attention on judgement. On a local review of a small change, ask the user whether to run it. On a pull request, always run it.
Fail: a hardcoded command that does not exist in this project.
Ran npm run preflight. Command not found, skipping verification.Pass: the command the project itself documents.
AGENTS.md documents `./gradlew check` as the verification command. Ran it: 2 test failures in OrderServiceTest.If the project's AGENTS.md documents no verification command, say so in the review rather than guessing at one.
Step 3: analyse against the review pillars
Work through each pillar and cite path:line for every finding.
- Correctness. Does the code do what it claims, without logic errors or unhandled states?
- Maintainability. Is the structure clear, single-purpose, and consistent with the patterns already in the project?
- Readability. Does the code read on its own, formatted the way the project formats code, without a comment propping it up?
- Doc comments. Javadoc, docstrings, JSDoc,
///and Go doc comments default to none, because code should explain itself through extraction and precise naming. Flag every doc comment that a well-named function or a tighter type would have made unnecessary, and flag any that merely restates the signature. Where one is genuinely needed the prose caps at five lines and is usually one,@paramearns its place only for units, nullability, a valid range, or who owns the argument afterwards,@returnonly when non-obvious, and@throwsis required for every exception a caller can act on because unchecked exceptions never appear in the signature. Every tag line is capped at one physical line, so a@paramthat wraps onto a second line is itself a finding: shorten it or delete it. - Efficiency. Any query in a loop, unbounded fetch, or sequential await of independent calls introduced here?
- Security. Any injection, missing authorisation check, leaked secret, or unvalidated input?
- Styling. When the change touches styling, check it against the styling-drift criteria in
design-system. - Edge cases and error handling. Null, empty, boundary, concurrent, and failure paths.
- Testability. Is the new behaviour actually covered, and which cases are missing?
Step 4: escalate the sensitive findings
Authentication, authorisation, payment, and personal-data findings do not stop at a review comment. Hand them to the
security-auditor agent for a dedicated pass before the change merges, and say in the review that you did.
Fail: a serious finding buried as a nitpick.
Nitpick: might be worth checking the caller is the owner here.Pass: named severity, cited location, and escalation.
Critical, src/api/orders.ts:88. The handler deletes any order by id with no ownership check, so any authenticated user can delete another user's order. Escalated to the security-auditor agent for an authorisation review of the whole orders route.Step 5: report
Structure the report the same way every time.
- Summary. What the change does and the overall verdict in two or three sentences.
- Findings, grouped by severity.
- Critical: bugs, security issues, breaking changes.
- Improvements: quality, structure, and performance suggestions.
- Nitpicks: formatting and minor style, optional.
- Conclusion. Approved, or request changes, with the specific blockers named.
Be constructive and specific. Explain why a change is requested, and on an approval name the thing the contribution actually got right rather than a generic compliment.
For a remote pull request, ask the user at the end whether to switch back to the default branch.
Related skills
coding-standardsis the baseline every finding is measured against.review-duplicationfinds reinvented utilities and missed reuse.security-reviewsupplies the security checklist behind the security pillar.performance-optimizationsupplies the detail behind the efficiency pillar.tdd-workflowsupplies the coverage bar behind the testability pillar.design-systemsupplies the styling-drift criteria when a change touches styling.git-workflowcovers branch, commit and merge hygiene when the review turns up problems there.
Checklist
- Review target identified: named pull request, or the local working tree.
- The project's documented verification command was run, or its absence was reported.
- Every pillar was considered, including doc comments.
- Every finding cites
path:line. - Findings are grouped by severity, not listed flat.
- Auth, payment, and sensitive-data findings were escalated to the
security-auditoragent. - The conclusion states approve or request changes, and names the blockers.
- For a remote pull request, the user was asked about returning to the default branch.
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.

