/code-review
Code review — analyze quality, detect bugs, ensure best practices with actionable feedback. Triggers: code review, quality check, bug detection
$ npx -y skills add popup-studio-ai/bkit-claude-code --skill code-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/code-review
Context preview
The summary Claude sees to decide when to auto-load this skill.
Code review — analyze quality, detect bugs, ensure best practices with actionable feedback. Triggers: code review, quality check, bug detection
SKILL.md
code-review.SKILL.mdname: code-review
classification: workflow
classification-reason: Process automation persists regardless of model advancement
deprecation-risk: none
effort: high
description: |
Code review — analyze quality, detect bugs, ensure best practices with actionable feedback.
Triggers: code review, quality check, bug detection
argument-hint: "[file|directory|pr]"
user-invocable: true
agent: bkit:code-analyzer
allowed-tools:
- Read
- Glob
- Grep
- LSP
- Task
- Bash
imports:
- ${PLUGIN_ROOT}/templates/pipeline/phase-8-review.template.md
next-skill: null
pdca-phase: check
task-template: "[Code-Review] {feature}"Code Review Skill
> Skill for code quality analysis and review
Arguments
| Argument | Description | Example | |----------|-------------|---------| | `[file]` | Review specific file | `/code-review src/lib/auth.ts` | | `[directory]` | Review entire directory | `/code-review src/features/` | | `[pr]` | PR review (PR number) | `/code-review pr 123` |
Review Categories
1. Code Quality
- Duplicate code detection
- Function/file complexity analysis
- Naming convention check
- Type safety verification
2. Bug Detection
- Potential bug pattern detection
- Null/undefined handling check
- Error handling inspection
- Boundary condition verification
3. Security
- XSS/CSRF vulnerability check
- SQL Injection pattern detection
- Sensitive information exposure check
- Authentication/authorization logic review
4. Performance
- N+1 query pattern detection
- Unnecessary re-render check
- Memory leak pattern detection
- Optimization opportunity identification
Review Output Format
## Code Review Report
### Summary
- Files reviewed: N
- Issues found: N (Critical: N, Major: N, Minor: N)
- Score: N/100
### Critical Issues
1. [FILE:LINE] Issue description
Suggestion: ...
### Major Issues
...
### Minor Issues
...
### Recommendations
- ...
Agent Integration
This Skill calls the `code-analyzer` Agent for in-depth code analysis.
| Agent | Role | |-------|------| | code-analyzer | Code quality, security, performance analysis |
Usage Examples
# Review specific file
/code-review src/lib/auth.ts
# Review entire directory
/code-review src/features/user/
# PR review
/code-review pr 42
# Review current changes
/code-review staged
Confidence-Based Filtering
code-analyzer Agent uses confidence-based filtering:
| Confidence | Display | Description | |------------|---------|-------------| | High (90%+) | Always shown | Definite issues | | Medium (70-89%) | Selectively shown | Possible issues | | Low (<70%) | Hidden | Uncertain suggestions |
PDCA Integration
- **Phase**: Check (Quality verification)
- **Trigger**: Auto-suggested after implementation
- **Output**: docs/03-analysis/code-review-{date}.md
Read more
name: code-review
classification: workflow
classification-reason: Process automation persists regardless of model advancement
deprecation-risk: none
effort: high
description: |
Code review — analyze quality, detect bugs, ensure best practices with actionable feedback.
Triggers: code review, quality check, bug detection
argument-hint: "[file|directory|pr]"
user-invocable: true
agent: bkit:code-analyzer
allowed-tools:
- Read
- Glob
- Grep
- LSP
- Task
- Bash
imports:
- ${PLUGIN_ROOT}/templates/pipeline/phase-8-review.template.md
next-skill: null
pdca-phase: check
task-template: "[Code-Review] {feature}"Code Review Skill
> Skill for code quality analysis and review
Arguments
| Argument | Description | Example | |----------|-------------|---------| | `[file]` | Review specific file | `/code-review src/lib/auth.ts` | | `[directory]` | Review entire directory | `/code-review src/features/` | | `[pr]` | PR review (PR number) | `/code-review pr 123` |
Review Categories
1. Code Quality
- Duplicate code detection
- Function/file complexity analysis
- Naming convention check
- Type safety verification
2. Bug Detection
- Potential bug pattern detection
- Null/undefined handling check
- Error handling inspection
- Boundary condition verification
3. Security
- XSS/CSRF vulnerability check
- SQL Injection pattern detection
- Sensitive information exposure check
- Authentication/authorization logic review
4. Performance
- N+1 query pattern detection
- Unnecessary re-render check
- Memory leak pattern detection
- Optimization opportunity identification
Review Output Format
## Code Review Report ### Summary - Files reviewed: N - Issues found: N (Critical: N, Major: N, Minor: N) - Score: N/100 ### Critical Issues 1. [FILE:LINE] Issue description Suggestion: ... ### Major Issues ... ### Minor Issues ... ### Recommendations - ...
Agent Integration
This Skill calls the `code-analyzer` Agent for in-depth code analysis.
| Agent | Role | |-------|------| | code-analyzer | Code quality, security, performance analysis |
Usage Examples
# Review specific file /code-review src/lib/auth.ts # Review entire directory /code-review src/features/user/ # PR review /code-review pr 42 # Review current changes /code-review staged
Confidence-Based Filtering
code-analyzer Agent uses confidence-based filtering:
| Confidence | Display | Description | |------------|---------|-------------| | High (90%+) | Always shown | Definite issues | | Medium (70-89%) | Selectively shown | Possible issues | | Low (<70%) | Hidden | Uncertain suggestions |
PDCA Integration
- **Phase**: Check (Quality verification)
- **Trigger**: Auto-suggested after implementation
- **Output**: docs/03-analysis/code-review-{date}.md
A Claude Code plugin that verifies AI-generated code against its own design specs. Three commands. Anyone — even someone vibe-coding for the first time — can ship robust, production-quality software.
Repo: popup-studio-ai/bkit-claude-code
Other skills on bkit.
- /audit
View audit logs, decision traces, and session history for AI transparency. ACTION_TYPES (19 entries) include PDCA events (phase_transition, gate_passed/failed, agent_spawned/completed/failed, rollback_executed, destructive_blocked) and Sprint events (sprint_paused,
Open skill - /bkend-auth
bkend.ai authentication — email/social login, JWT tokens, RBAC, session management. Triggers: bkend auth, bkend login, bkend signup, bkend JWT, bkend RBAC
Open skill - /bkend-cookbook
bkend.ai project tutorials (todo to SaaS) and common error troubleshooting. Triggers: bkend tutorial, bkend cookbook, bkend troubleshooting
Open skill - /bkend-data
bkend.ai database — CRUD, column types, filtering, sorting, relations, indexing. Triggers: bkend table, bkend CRUD, bkend column, bkend relation, bkend data
Open skill - /bkend-quickstart
bkend.ai onboarding — MCP setup, resource hierarchy, tenant/user model, first project. Triggers: bkend quickstart, bkend onboarding, bkend setup, bkend MCP
Open skill - /bkend-storage
bkend.ai file storage — upload (presigned URL), download (CDN), visibility levels, buckets. Triggers: bkend file, bkend upload, bkend download, bkend storage, bkend presigned URL
Open skill

