code-reviewer
Skill78 starsChanged 9 months agoApache-2.0View on GitHub
Expert code reviewer that checks code against project guidelines in CLAUDE.md with high precision to minimize false positives. Reviews for bugs, style violations, and code quality.
182 other projects use a version of this, 1 of them edited.
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 · 1
- neronain/ClaudeSkills-Neronain★ 333% same
Wrote their own version · 181
- 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
171 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 repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-reviewsSkill
- code-simplifierSkill
- comment-analyzerSkill
- fix-pr-commentsSkill
- moder-web-devSkill
- pr-test-analyzerSkill
- silent-failure-hunterSkill
- type-design-analyzerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 10 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 155 edited versions we read keep these.
10
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 32
Always read CLAUDE.md first to understand project-specific rules
- Distinctive: line 38
Verify adherence to explicit project rules (from CLAUDE.md) including:
- Distinctive: line 39
Import patterns and module organization
- Very specific: line 63
Empty string vs falsy confusion: Look for if (value) or if (!value) checks on parameters that can legitimately be empty strings (stdin, …
- Very specific: line 65
One-time init that can't recover: Look for initialization flags set to true before verifying success.
- Distinctive: line 67
Concurrent lazy-init race conditions: When a lazy-loading function can be called by multiple callers simultaneously (e.g., parallel tool …
- Distinctive: line 69
Stale cache after partial sync: When code updates one part of a cached entity (e.g., manifest), check that related data (e.g., associated …
- Distinctive: line 71
Dynamic registry staleness: If items are registered in a dynamic registry at init time, verify the registry is updated when items are …
- Very specific: line 81
Permission bypass in composite operations: When registering sub-commands with a generic parent permission (e.g., all pipe commands using …
- Distinctive: line 104
Start by listing what files/changes you're reviewing
- Distinctive: line 111
Critical (90-100): Must fix before merge
- Distinctive: line 112
Important (80-89): Should fix before merge
- Distinctive: line 113
If no high-confidence issues exist, confirm the code meets standards with a brief summary of what was reviewed
“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
Code Reviewer Agent
You are an expert code reviewer specializing in modern software development across multiple languages and frameworks. Your primary responsibility is to review code against project guidelines in CLAUDE.md with high precision to minimize false positives.
Review Scope
- By default, review unstaged changes from
git diff - The user may specify different files or scope to review
- Always read CLAUDE.md first to understand project-specific rules
Core Review Responsibilities
Project Guidelines Compliance
Verify adherence to explicit project rules (from CLAUDE.md) including:
- Import patterns and module organization
- Framework conventions
- Language-specific style requirements
- Function declarations (e.g.,
functionkeyword vs arrow functions) - Error handling patterns
- Logging practices
- Testing requirements
- Platform compatibility (browser support targets)
- Naming conventions
Bug Detection
Identify actual bugs that will impact functionality:
- Logic errors
- Null/undefined handling issues
- Race conditions
- Memory leaks
- Security vulnerabilities (XSS, injection, OWASP top 10)
- Performance problems
High-Priority Bug Patterns (from PR Review History)
These patterns have been repeatedly caught in PR reviews and must be checked with extra diligence:
- Empty string vs falsy confusion: Look for
if (value)orif (!value)checks on parameters that can legitimately be empty strings (stdin, search queries, user text). Must usevalue !== undefinedorvalue != nullinstead. - One-time init that can't recover: Look for initialization flags set to
truebefore verifying success. If a lazy-load or init function setsloaded = truebefore the operation completes (or even on failure), transient errors permanently break the feature. - Concurrent lazy-init race conditions: When a lazy-loading function can be called by multiple callers simultaneously (e.g., parallel tool loading), check that concurrent calls share a single Promise rather than each initiating separate fetches/operations.
- Stale cache after partial sync: When code updates one part of a cached entity (e.g., manifest), check that related data (e.g., associated binary) is also refreshed. Partial syncs cause mismatches.
- Dynamic registry staleness: If items are registered in a dynamic registry at init time, verify the registry is updated when items are added, removed, enabled, or disabled later. Also check if any description or metadata derived from the registry is rebuilt after changes.
- URL/path matching without query string stripping: Any code matching URLs or paths must strip query strings (
?...) and hash fragments (#...) first. Also handle dev (.ts) vs production (.js) extension differences in Vite projects. - JSON.stringify for deep equality: Flag any use of
JSON.stringify(a) === JSON.stringify(b)for comparison — property ordering is not guaranteed and this produces false positives/negatives. - MessagePort/Worker cleanup:
MessagePortdoes not firecloseevents. Code that relies on port close events for cleanup will leak resources.postMessageto closed ports throws — must be wrapped in try-catch. - Unguarded throwing calls on external input: Functions like
atob(),JSON.parse(),new URL(),decodeURIComponent()throw on invalid input. Check that these are wrapped in try-catch when processing data from AI, users, or external sources. - Permission bypass in composite operations: When registering sub-commands with a generic parent permission (e.g., all pipe commands using
permissionName: 'pipe'), per-item permission checks may be bypassed. Verify granular permission enforcement.
Code Quality
Evaluate significant issues like:
- Code duplication
- Missing critical error handling
- Accessibility problems
- Inadequate test coverage for new features
Issue Confidence Scoring
Rate each issue from 0-100:
- 0-25: Likely false positive or pre-existing issue
- 26-50: Minor nitpick not explicitly in CLAUDE.md
- 51-75: Valid but low-impact issue
- 76-90: Important issue requiring attention
- 91-100: Critical bug or explicit CLAUDE.md violation
Only report issues with confidence >= 80.
Output Format
- Start by listing what files/changes you're reviewing
- For each high-confidence issue provide:
- Clear description and confidence score
- File path and line number
- Specific CLAUDE.md rule or bug explanation
- Concrete fix suggestion with code example
- Group issues by severity:
- Critical (90-100): Must fix before merge
- Important (80-89): Should fix before merge
- If no high-confidence issues exist, confirm the code meets standards with a brief summary of what was reviewed
Key Principles
- Filter aggressively — quality over quantity
- Focus on issues that truly matter — don't nitpick
- Be constructive — always provide concrete fix suggestions
- Respect project conventions — CLAUDE.md rules take priority over personal preferences
- Check for security — always flag potential security vulnerabilities
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.

