code-reviewer
Skill16 starsChanged 8 months agoMITView on GitHub
Language-agnostic code review. Checks correctness, security, and consistency with project conventions. Triggers on "review this", "review [file]", "check this code", "code review".
129 other projects use a version of this.
Adopted by
Most recently taken up by
- Lukk17/agent-standardstheir own version, first seen Oct 5, 2026
- 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
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 repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- security-checkSkill
- environment-checkSkill
- run-verificationSkill
- refactorSkill
- actSkill
- debug-sessionSkill
- generate-guardsSkill
- check-anthropicSkill
- code-reviewSkill
- debug-sessionSkill
- end-sessionSkill
- evolve-checkSkill
- evolveSkill
- fix-bugSkill
- forgetSkill
- frontend-designSkill
- guardSkill
- kit-healthSkill
- learnSkill
- map-codebaseSkill
- modeSkill
- parallel-prototypesSkill
- planSkill
- powershell-safeSkill
- product-riskSkill
- progress-reportSkill
- prototype-hypothesisSkill
- recallSkill
- refactoring-uiSkill
- scan-codebaseSkill
- scan-conventionsSkill
- search-firstSkill
- search-memorySkill
- shadow-codeSkill
- skill-creatorSkill
- smart-resumeSkill
- start-sessionSkill
- strategic-compactSkill
- tourSkill
- ux-heuristicsSkill
- verification-loopSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 111 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Check for each of these files and read them if they exist:
- Very specific: line 21
Add each one as a custom checklist item under a ### Project Lessons section
- Distinctive: line 26
Add violations of these as automatic failures regardless of the standard checklist
- Distinctive: line 29
Read the detected stack — use it to enable the right checklist sections:
- Very specific: line 36
If none of these files exist yet: skip Step 0, run the standard checklist only, and note at the top: No project context loaded — running …
- Distinctive: line 42
Read the file(s) being reviewed in full.
- Distinctive: line 48
Run every applicable section.
- Distinctive: line 131
If no project context exists yet, say so at the top — don't silently skip it
- Very specific: line 132
After finding a new pattern, suggest adding it to lessons.md via /learn
“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
Skill: code-reviewer
Trigger: "review this" · "review [file]" · "check this code" · "code review"
Steps
Step 0 — Load project context (before looking at any code)
Check for each of these files and read them if they exist:
memory/lessons.md
- Extract any lines flagged as mistakes, anti-patterns, or corrections
- Add each one as a custom checklist item under a
### Project Lessonssection - Example: "never use addRow on IDENTITY tables" → becomes a checklist item
memory/decisions.md
- Extract locked architectural decisions the code must follow
- Add violations of these as automatic failures regardless of the standard checklist
memory/complexity_profile.md (written by map-codebase)
- Read the detected stack — use it to enable the right checklist sections:
- SQL / ORM detected → enable Data Layer section
- Auth middleware detected → enable API / Endpoints section
- Frontend JS detected → enable JS Patterns section
- Python detected → enable Python Patterns section
- Java detected → enable Java Patterns section
If none of these files exist yet: skip Step 0, run the standard checklist only, and note at the top: No project context loaded — running generic checklist. Run map-codebase and a session to sharpen this.
Step 1 — Read the file(s)
Read the file(s) being reviewed in full. If a file is too large, grep for the patterns most likely to fail first.
Step 2 — Run checklist
Run every applicable section. Report every issue with file + line number. Report clean sections explicitly — never skip them silently.
Standard Checklist
Security
- No SQL / command injection — user input is quoted or parameterized before DB/shell use
- No secrets or API keys hardcoded
- Auth checks present on protected routes/endpoints
- User input validated at system boundaries (not trusted internally)
Correctness
- Null / undefined / empty checks before dereferencing
- Array bounds safe — no off-by-one
- Error paths return or throw — never fall through silently
- Async operations awaited or
.then()-chained correctly (JS) / try-catch present (Java/Python)
Data Layer (enabled if SQL/ORM detected)
- No
SELECT *— explicit column list - Single-row queries check for results before accessing
- Loop queries don't issue N+1 DB calls — pre-load with a map if needed
- INSERT/UPDATE includes required audit fields (created_at, created_by, org/tenant id)
API / Endpoints (enabled if auth/routing detected)
- Public endpoints registered correctly (auth-bypass list if applicable)
- Both success and error paths return a valid response
- Error messages don't expose stack traces or internal details
- Response shape matches what the frontend expects
JS Patterns (enabled if frontend JS detected)
- No
varin module scope leaking globals unintentionally - DOM access uses
getElementById/querySelector— not jQuery unless project uses it - No inline event handlers in dynamically generated HTML
- User data escaped before
innerHTML— never raw interpolation
Java Patterns (enabled if Java detected)
- No raw types — generics used properly
- Resources closed in finally or try-with-resources
- No swallowed exceptions (
catch (Exception e) {}) - Null checks before dereferencing
Python Patterns (enabled if Python detected)
- No mutable default arguments (
def f(x=[])) withused for file/connection handling- No bare
except:— always catch specific exceptions
Production Survival (always on — AI-generated code fails here most)
- Silent error swallowing —
catchblocks that return null, log nothing, and send no alert. Failures must surface.return nullin a catch is a red flag. - Race conditions — concurrent writes to shared state, unguarded async flows, double-submission on payment/booking/signup. Check: can two requests hit this at the same time?
- Naive retry logic — retries with no backoff (fixed
for i < 3loop). Under load this hammers a degraded API. Requires: exponential backoff + jitter + max delay cap. - Missing idempotency — charge/webhook/insert that can run twice and cause a double-charge or duplicate record. Check: is there a uniqueness guard, a processed flag, or an idempotency key?
- State assumptions — code that assumes clean initial state (empty arrays, zero counters, fresh DB). Production has 3 years of dirty edge cases. Check: what happens if this runs on an existing record?
Code Quality
- No duplicate logic that already exists elsewhere — reuse helpers
- No hardcoded values that should be constants or config
- Exceptions caught and handled — no swallowed errors
- Resources closed after use
Project Lessons (populated from lessons.md at runtime)
This section is built dynamically from your project's memory. Empty on first session.
Report Format
Context loaded: lessons.md (N patterns), decisions.md (N decisions), stack: [detected]
❌ [file]:[line] — [issue]
Fix: [specific fix]
✅ [section] — cleanEnd with: N issues found or Clean — no issues.
Notes
- Security and correctness first — style is secondary
- If no project context exists yet, say so at the top — don't silently skip it
- After finding a new pattern, suggest adding it to lessons.md via
/learn
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.

