ワンクリックで
code-review
Post-implementation review methodology with severity framework. Load when reviewing code, PRs, or auditing quality
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Post-implementation review methodology with severity framework. Load when reviewing code, PRs, or auditing quality
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
External API evaluation and MCP server wrapper generation. Load when integrating a REST/GraphQL API as a workspace tool
Capability-based provider system patterns. Load when creating providers or wiring module-provider integration
Full-stack WebSocket subscription development. Load when adding WS routes, topic services, or debugging WS data flows
Systematic Python type error resolution (mypy/pyright). Load when fixing backend type check failures
Type-first Python with Pydantic, Protocol, and discriminated unions. Load when writing models or enforcing typing
Systematic type error resolution for Python (mypy/pyright) and TypeScript (vue-tsc). Use when fixing type errors, resolving type check failures, or optimizing type imports.
| name | code-review |
| description | Post-implementation review methodology with severity framework. Load when reviewing code, PRs, or auditing quality |
| user-invocable | false |
Structured methodology for reviewing code changes — security, correctness, quality, and project convention adherence. Produces actionable findings with severity classification and a clear verdict.
Apply each category systematically. Skip categories that don't apply to the change.
| Check | Look For |
|---|---|
| Injection | SQL, command, XSS vulnerabilities |
| Auth | Missing auth checks, token handling |
| Secrets | Hardcoded credentials, exposed keys |
| Validation | Missing input validation |
| Check | Look For |
|---|---|
| Logic | Off-by-one, null checks, edge cases |
| Types | Type safety, proper generics usage |
| Error handling | Unhandled exceptions, error propagation |
| Tests | Missing tests for new behavior |
| Check | Look For |
|---|---|
| Patterns | Consistency with codebase conventions |
| Complexity | Overly complex solutions, unnecessary abstractions |
| Documentation | Missing docstrings, outdated comments |
| Dead code | Unreachable or unused code |
| Check | Look For |
|---|---|
| Generated code | Manual edits to *_generated/ directories |
| Types | Use of any (TS) or Any (Python) |
| Commands | Direct npm/poetry usage instead of make targets |
| Module boundaries | Cross-module imports violating isolation |
| Statelessness | Instance variables storing request-scoped data |
Classify each finding:
| Severity | Criteria | Action |
|---|---|---|
| Critical | Security vulnerability, data loss risk, production crash | Must fix before merge |
| High | Type safety violation, missing error handling, broken contract | Should fix before merge |
| Medium | Missing tests, inconsistent patterns, minor quality issue | Fix recommended |
| Low | Style suggestions, minor improvements, nice-to-haves | Optional |
| Verdict | When |
|---|---|
| ✅ Approve | No Critical/High findings |
| ⚠️ Approve with comments | Only Medium/Low findings |
| ❌ Request changes | Any Critical or High findings |
## Code Review: [Scope]
### Summary
[1-2 sentence overview of changes reviewed]
### Findings
#### 🔴 Critical
| Location | Issue | Recommendation |
|----------|-------|----------------|
#### 🟠 High
| Location | Issue | Recommendation |
|----------|-------|----------------|
#### 🟡 Medium
| Location | Issue | Recommendation |
|----------|-------|----------------|
#### 🔵 Low / Suggestions
| Location | Issue | Recommendation |
|----------|-------|----------------|
### Positive Observations
- [Good patterns observed]
### Statistics
- Files reviewed: X
- Critical: X | High: X | Medium: X | Low: X
### Verdict: [✅ | ⚠️ | ❌]