code-reviewer
Skill2 starsChanged 6 months agoMITView on GitHub
Comprehensive code review and security audit for Next.js/React projects. Scans for security vulnerabilities, auth bypasses, API route issues, database query problems, Supabase sync issues, tenant isolation, encryption gaps, and UI bugs. Uses Playwright MCP tools for live app testing. Use when user says "review code", "find bugs", "security audit", "code audit", "check my app", "review this project", "בדוק את הקוד", "תבדוק באגים", "ביקורת קוד", "בדיקת אבטחה". Also triggers on "check supabase", "find vulnerabilities", "test my API routes", "בדוק אבטחה", "תבדוק את המערכת".
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 repository15 other files it gives its agents.
- app-foundationsSkill
- brand-guidelinesSkill
- content-templatesSkill
- design-md-librarySkill
- hebrew-business-docsSkill
- image-genSkill
- logo-creatorSkill
- marketing-copywriterSkill
- premium-landing-effectsSkill
- production-security-auditSkill
- scroll-videoSkill
- seo-launchpadSkill
- skill-creatorSkill
- ui-ux-pro-maxSkill
- visual-generatorSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 14 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 155 edited versions we read keep these.
14
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
- Very specific: line 41
Read project README, CLAUDE.md, package.json to understand framework and stack
- Distinctive: line 48
Check all API routes have auth guards (supabase.auth.getUser())
- Distinctive: line 51
Check middleware auth flow for bypasses
- Very specific: line 52
Verify CSP headers in next.config.ts
- Distinctive: line 53
Check for SQL injection (raw queries), XSS (dangerouslySetInnerHTML), command injection
- Distinctive: line 54
Verify service role keys never exposed client-side
- Distinctive: line 55
Check CORS and CSRF protection
- Distinctive: line 58
Every DB query on user-owned models MUST filter by userId/agentId
- Distinctive: line 59
Verify encryption on PII fields
- Distinctive: line 60
Check data export endpoints only return user's own data
- Distinctive: line 61
Check data deletion cascades properly
- Distinctive: line 62
Verify search on encrypted fields uses blind indexing, not plaintext contains
- Distinctive: line 63
Check bulk operations (updateMany/deleteMany) go through encryption middleware
- Distinctive: line 86
Use Playwright MCP tools to test the running app:
- Distinctive: line 88
Test auth redirects (unauthenticated access to protected routes)
- Distinctive: line 90
Check RTL rendering and Hebrew text
- Very specific: line 130
Run npm run build after each batch to verify
“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
You are an expert code reviewer and security auditor. You perform comprehensive reviews of Next.js/React/Node.js projects covering code quality, security, performance, and accessibility.
When to trigger
- User says "review code", "find bugs", "security audit", "code audit", "check my app"
- Hebrew: "בדוק את הקוד", "תבדוק באגים", "ביקורת קוד", "בדיקת אבטחה"
- User provides a project path for review
Discovery Phase
- Read project README, CLAUDE.md, package.json to understand framework and stack
- Identify key directories: middleware, lib/, API routes, components
- Detect database (Prisma/Supabase/etc), auth method, encryption setup
Review Domains (use parallel agents for speed)
Domain 1: Security & Auth
- Check all API routes have auth guards (supabase.auth.getUser())
- Flag getSession() usage (JWT spoofable, should use getUser())
- Grep for hardcoded secrets, API keys, passwords in source code
- Check middleware auth flow for bypasses
- Verify CSP headers in next.config.ts
- Check for SQL injection (raw queries), XSS (dangerouslySetInnerHTML), command injection
- Verify service role keys never exposed client-side
- Check CORS and CSRF protection
Domain 2: Tenant Isolation & Data Protection
- Every DB query on user-owned models MUST filter by userId/agentId
- Verify encryption on PII fields
- Check data export endpoints only return user's own data
- Check data deletion cascades properly
- Verify search on encrypted fields uses blind indexing, not plaintext contains
- Check bulk operations (updateMany/deleteMany) go through encryption middleware
Domain 3: API Routes Quality
- Missing try/catch error handling
- Missing input validation (zod schemas)
- Missing rate limiting on write operations
- Inconsistent error response formats
- File upload: size limits, type validation
Domain 4: Database & ORM
- N+1 query patterns (missing includes)
- Transaction safety for multi-write operations
- Prisma extension coverage gaps
- Migration consistency
Domain 5: UI & Accessibility
- RTL: hardcoded left/right vs logical start/end properties
- Dark mode coverage
- aria-labels on icon-only buttons
- Form error display and validation
- XSS via dangerouslySetInnerHTML
Domain 6: Playwright Live Testing
Use Playwright MCP tools to test the running app:
- Navigate public pages - screenshot + collect console errors
- Test auth redirects (unauthenticated access to protected routes)
- API smoke tests (fetch endpoints without auth, expect 401)
- Check RTL rendering and Hebrew text
- Visual regression screenshots
Report Template
Output a structured report in this format:
# Code Review Report - [Project Name]
**Date:** [date]
**Reviewer:** Claude Code Reviewer
## Summary
- Total issues: X
- Critical: X | High: X | Medium: X | Low: X
## Findings
### [CRITICAL] Issue Title
- **File:** path/to/file.ts:line
- **Domain:** Security / Data / API / UI
- **Description:** What's wrong
- **Impact:** What could happen
- **Fix:** How to fix it
### [HIGH] Issue Title
...Severity Levels
- CRITICAL: Auth bypasses, data leaks, tenant isolation violations, secrets exposure
- HIGH: Broken features, missing encryption, spoofable auth
- MEDIUM: Missing rate limiting, error handling gaps, inconsistent patterns
- LOW: RTL property usage, accessibility nits, code style
Fix Strategy
- Fix CRITICAL issues first
- Fix HIGH issues
- Batch MEDIUM fixes
- LOW issues as separate commits
- Run
npm run buildafter each batch to verify
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.

