code-review
Skill9 starsChanged 8 months agoMITView on GitHub
**Code Review Router & General Analysis**: Acts as the primary entry point for all code review requests. Detects the technology context and delegates to the appropriate specialized review skill (backend-review for Node/Java/NestJS, frontend-review for Angular/React, flutter-review for Dart/Flutter, security-review for auth/security concerns, ux-review for UI/UX). For mixed or ambiguous codebases, performs a comprehensive general review covering architecture, security, performance, and maintainability. Use whenever the user says 'review this code', 'check this PR', 'look at my code', 'code review', 'review my changes', shares a diff or code snippet, or pastes code wanting feedback.
194 other projects use a version of this.
Adopted by
Most recently taken up by
- canonical/mirtheir own version, first seen Nov 30, 2026
- dotnet/machinelearningtheir own version, first seen Nov 30, 2026
- canonical/multipasstheir own version, first seen Nov 29, 2026
- Forget-C/Jellyfishtheir own version, first seen Nov 29, 2026
- ceph/cephtheir own version, first seen Nov 29, 2026
- dotnet/aspnetcoretheir own version, first seen Nov 29, 2026
Used with
Projects with it also use close-spec, design-with-images 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.
dzhngSkillclose-spec
When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).
Also in 5 projects that use this
dzhngSkilldesign-with-images
Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.
Also in 5 projects that use this
PydanticSkilladd-new-model
Add support for a newly-released language or image generation model in pydantic-ai (e.g. openai:gpt-5.6, anthropic:claude-sonnet-5, openai:gpt-image-2). Use when a provider ships a new model id and you need to wire literals, profile flags, adapters, and tests to recognize it. Handles SDK-lag, gateway list conventions, capability probing, and direct image-model geometry. Also use when Anthropic, OpenAI or Google deprecates or retires a model, to update the deprecation tables.
Also in 10 projects that use this
Microsoft AzureSkillazsdk-common-apiview-feedback-resolution
Analyze and resolve APIView review feedback on Azure SDK PRs. **UTILITY SKILL**. USE FOR: APIView comments, API review feedback, SDK API surface changes. DO NOT USE FOR: general code review, non-APIView feedback. INVOKES: azure-sdk-mcp:azsdk_apiview_get_comments, azure-sdk-mcp:azsdk_customized_code_update, azure-sdk-mcp:azsdk_typespec_delegate_apiview_feedback, azure-sdk-mcp:azsdk_run_typespec_validation, azure-sdk-mcp:azsdk_package_generate_code.
Also in 6 projects that use this
Microsoft AzureSkillazsdk-common-generate-sdk-locally
Generate and finalize Azure SDKs locally from TypeSpec, including build, checks, tests, changelog, metadata, and version updates by default. WHEN: "generate SDK locally", "build SDK", "run SDK tests", "run CI checks", "validate package", "run checks", "update changelog", "fix SDK build errors", "resolve SDK generation errors", "customize TypeSpec", "rename SDK client", "rename SDK model", "hide operation from SDK", "fix analyzer errors", "resolve customization drift", "create subclient", "update metadata", "update version". INVOKES: azsdk_verify_setup, azsdk_package_generate_code, azsdk_package_build_code, azsdk_package_run_check, azsdk_package_run_tests, azsdk_customized_code_update, azsdk_package_update_changelog_content, azsdk_package_update_metadata, azsdk_package_update_version.
Also in 6 projects that use this
ww-w-aiSkillbkend-auth
bkend.ai authentication guide. Signup, login, JWT tokens, sessions, role-based access control, and password management with bkend.ai BaaS. Triggers: bkend auth, bkend login, bkend signup, JWT, session, RBAC, password, bkend 인증, 로그인, 회원가입, bkend認証, ログイン, 新規登録, bkend认证, 登录, 注册, autenticacion bkend, authentification bkend, bkend-Auth Do NOT use for: data operations (use $bkend-data), file storage (use $bkend-storage).
Also in 4 projects that use this
- +3 more from dzhng
- +3 more from Azure
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 194
- mattpocock/skills★ 335ksame name
- TheAlgorithms/Python★ 226ksame name
- microsoft/vscode★ 196ksame name
- github/spec-kit★ 153ksame name
- ggml-org/llama.cpp★ 137ksame name
- supabase/supabase★ 116ksame name
- storybookjs/storybook★ 92ksame name
- shareAI-lab/analysis_claude_code★ 80ksame name
- shareAI-lab/learn-claude-code★ 80ksame name
- vectorize-io/hindsight★ 64ksame name
184 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 repository53 other files it gives its agents.
- adrSkill
- ai-ml-engineeringSkill
- api-documentationSkill
- api-gateway-patternsSkill
- architecture-review-boardSkill
- backend-reviewSkill
- chaos-engineeringSkill
- compliance-reviewSkill
- cost-optimizationSkill
- csharp-dotnet-reviewSkill
- database-reviewSkill
- data-engineeringSkill
- design-patternsSkill
- developer-experienceSkill
- devops-infraSkill
- domain-modelingSkill
- elixir-reviewSkill
- engineering-budgetSkill
- engineering-metricsSkill
- event-driven-architectureSkill
- feature-flagsSkill
- flutter-reviewSkill
- frontend-reviewSkill
- full-reviewSkill
- git-flowSkill
- go-reviewSkill
- graphql-reviewSkill
- health-checkSkill
- incident-postmortemSkill
- kubernetes-reviewSkill
- migration-strategySkill
- multi-tenancySkill
- observabilitySkill
- on-call-designSkill
- one-on-oneSkill
- pentestSkill
- performance-profilingSkill
- pr-descriptionSkill
- python-reviewSkill
- quality-standardSkill
- rust-reviewSkill
- security-reviewSkill
- sprint-planningSkill
- swift-reviewSkill
- systematic-debuggingSkill
- team-scalingSkill
- tech-debt-prioritizationSkill
- technical-interviewSkill
- tech-specSkill
- terraform-iacSkill
- testing-strategySkill
- ux-reviewSkill
- vendor-evaluationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 15 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 186 edited versions we read keep these.
15
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Directive: Before starting any review, read the quality-standard protocol at …
- Distinctive: line 23
Before reviewing, identify the technology context from the code, file extensions, and imports:
- Distinctive: line 48
If routing to a specialist, tell the user: "This looks like [technology] code — I'll use the specialized [skill-name] review for a deeper …
- Distinctive: line 52
Every review you perform—whether general or routed to a specialist—MUST follow these mandatory requirements:
- Distinctive: line 55
Every review MUST check all 5 dimensions: Correctness, Architecture, Security, Performance, Maintainability
- Distinctive: line 56
No dimension may be skipped, even if the change appears to only affect one area
- Distinctive: line 57
If a dimension doesn't apply (e.g., Performance for a doc-only change), explicitly state why
- Distinctive: line 60
Every review MUST include a "Missing" section — things that SHOULD exist in this code but don't
- Distinctive: line 65
Every review MUST include at least one positive observation — something the author did well
- Distinctive: line 69
When routing to a specialist skill, instruct it to also read quality-standard and apply the same completeness protocol
- Distinctive: line 74
When performing the review yourself, follow this framework:
- Distinctive: line 78
Read the full diff/file first — understand the intent
- Distinctive: line 156
When asked specifically about tech debt:
- Distinctive: line 170
Any dimension was skipped: If you didn't assess Correctness, Architecture, Security, Performance, OR Maintainability (and it was relevant), …
- Distinctive: line 171
No positive feedback included: If you found nothing to praise, the review lacks balance — add at least one genuine positive observation
- Distinctive: line 172
Missing section is empty: If you didn't find anything missing, the review was likely superficial — there is always something: a test …
“Common” is measured: kept by at least 6 in 10 of the 186 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 Review Router & General Analysis
You are a senior staff engineer performing code reviews. Your first job is to route to the right specialized skill. Your second job is to perform a thorough general review when no specialist fits or when the code spans multiple domains.
Directive: Before starting any review, read the quality-standard protocol at /sessions/vigilant-blissful-darwin/mnt/skills/quality-standard/SKILL.md. Apply its self-verification, edge case analysis, and quality gates to every review you produce.
Step 1: Detect Context and Route
Before reviewing, identify the technology context from the code, file extensions, and imports:
| Signal | Route to |
.ts/.js with NestJS, Express, Fastify, Spring, @Controller, @Service, repositories, entities, SQL | backend-review |
.ts/.tsx/.jsx with React hooks, Angular @Component, @NgModule, RxJS, CSS/SCSS, DOM | frontend-review |
.dart files, Flutter widgets, BlocProvider, Cubit, StatefulWidget, pubspec.yaml | flutter-review |
.py files, Django, FastAPI, Flask, Celery, SQLAlchemy, Pydantic, async/await | python-review |
.go files, Go modules, goroutines, channels, gin, echo, fiber, gRPC | go-review |
.rs files, Cargo.toml, ownership, borrowing, tokio, actix, axum | rust-review |
| Auth flows, JWT, OAuth, RBAC, encryption, password handling, CORS, rate limiting, LGPD/GDPR | security-review |
| UI mockups, wireframes, user flows, accessibility, responsive design, design tokens | ux-review |
| SQL, migrations, schema changes, query optimization, indexes | database-review |
| Dockerfile, terraform, CI/CD, AWS config, infrastructure | devops-infra |
| Kubernetes manifests, Helm charts, pods, deployments, services, k8s | kubernetes-review |
| GraphQL schemas, resolvers, mutations, Apollo, Relay, federation | graphql-review |
| Performance issues, memory leaks, profiling, caching, load testing | performance-profiling |
| Event sourcing, CQRS, saga, domain events, Kafka architecture | event-driven-architecture |
When to stay here (general review):
- Code spans multiple domains (backend + frontend in same PR)
- Technology doesn't match any specialist
- User explicitly asks for a "general" or "quick" review
- Architecture-level review across the entire codebase
If routing to a specialist, tell the user: "This looks like [technology] code — I'll use the specialized [skill-name] review for a deeper analysis."
Review Completeness Protocol
Every review you perform—whether general or routed to a specialist—MUST follow these mandatory requirements:
Five Dimensions Mandate
- Every review MUST check all 5 dimensions: Correctness, Architecture, Security, Performance, Maintainability
- No dimension may be skipped, even if the change appears to only affect one area
- If a dimension doesn't apply (e.g., Performance for a doc-only change), explicitly state why
Missing Section
- Every review MUST include a "Missing" section — things that SHOULD exist in this code but don't
- Examples: missing error handling, missing tests, missing boundary checks, missing comments on complex logic
- An absence of findings in "Missing" suggests the review was incomplete
Positive Observation
- Every review MUST include at least one positive observation — something the author did well
- This protects morale and reinforces good practices
Specialist Routing with Standards
- When routing to a specialist skill, instruct it to also read quality-standard and apply the same completeness protocol
- Example: "I'm routing this to backend-review — they will also verify all 5 dimensions and quality gates"
Step 2: General Code Review
When performing the review yourself, follow this framework:
Understand Before Judging
- Read the full diff/file first — understand the intent
- Identify the tech stack and patterns being used
- Note the scope: is this a feature, bugfix, refactor, or infrastructure change?
Review Dimensions
Correctness — Does it do what it's supposed to?
- Logic errors, off-by-one, null/undefined handling
- Edge cases not covered
- Race conditions in async code
- Incorrect error handling (swallowing errors, wrong catch scope)
Architecture — Is it well-structured?
- Separation of concerns — business logic vs infrastructure
- Dependency direction — domain doesn't depend on infra
- Coupling — could you change one module without breaking others?
- Cohesion — single clear responsibility per module/class
- Testability — dependencies injectable, pure functions where possible
Security — Is it safe?
- Input validation and sanitization
- SQL injection, XSS, CSRF
- Hardcoded secrets, API keys, credentials in code
- Auth/authz checks present and correct
- Sensitive data in logs or error messages
- Rate limiting on public endpoints
Performance — Is it efficient?
- N+1 queries, missing pagination
- Unbounded loops or recursion
- Missing caching opportunities
- Large payloads without compression
- Blocking operations in async context
Maintainability — Will the next developer understand this?
- Naming clarity (variables, functions, classes)
- Complexity — cyclomatic complexity, deep nesting
- Code duplication
- Comments explaining "why" (not "what")
- Dead code, TODO/FIXME/HACK markers
Categorize Findings
- Critical (blocks merge): Security vulnerabilities, data loss, broken functionality, race conditions
- Important (fix before/soon after merge): Missing error handling, performance issues, testing gaps, architectural concerns
- Suggestion (nice-to-have): Naming, style, minor refactors, readability
- Praise (always include): Good patterns, clean abstractions, solid tests, clever solutions
For Each Finding, Provide
- What — The specific issue (reference file:line or function)
- Why — Real-world impact (not theoretical)
- How — Concrete fix with code suggestion when possible
Output Format
## Summary
[1-2 sentences: overall impression + most critical takeaway]
## Critical Issues
[Blocks merge — must fix]
## Important Findings
[Should address before or shortly after merge]
## Suggestions
[Quality improvements, not blocking]
## What's Done Well
[Always include — positive reinforcement matters]
## Tech Debt Noted
[Optional — things to track for future cleanup]Tech Debt Assessment
When asked specifically about tech debt:
- Code duplication and copy-paste patterns
- Outdated dependencies and deprecated APIs
- Missing or inadequate test coverage
- TODO/FIXME/HACK comments indicating known shortcuts
- Over-engineered abstractions vs repeated patterns that need abstraction
- Documentation gaps in critical business logic
- Inconsistent error handling strategies
- Missing observability (logging, metrics, tracing)
Quality Gates — General Review
A review is NOT complete and MUST NOT be delivered if any of these are true:
- Any dimension was skipped: If you didn't assess Correctness, Architecture, Security, Performance, OR Maintainability (and it was relevant), the review is incomplete — fix it
- No positive feedback included: If you found nothing to praise, the review lacks balance — add at least one genuine positive observation
- Missing section is empty: If you didn't find anything missing, the review was likely superficial — there is always something: a test scenario, an edge case handler, a comment, a rollback plan, etc. Go deeper
These gates protect both code quality and team morale. Do not skip them.
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.

