← スキル一覧に戻る

code-review
by pevd950
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: code-review description: "Review code changes for correctness, security, tests, and architecture; use for code review or PR review requests (trigger keywords: code review, review changes, PR review, security review)."
Code Review
What this skill does
- Reviews diffs or files for bugs, security risks, maintainability, and architecture alignment.
- Prioritizes high-severity issues and missing tests over style nitpicks.
- Adapts to repository patterns and local guidance (e.g., CLAUDE.md) when present.
When to use it
- Trigger phrases: "code review", "PR review", "review changes", "security review".
- Use after writing or modifying code, before merge, or when asked to approve/request changes.
Step-by-step workflow
- Identify scope: diff, files, commit, or PR; confirm intent and expected behavior.
- Review changed code first, then open surrounding context only when needed.
- Scan for critical risks: correctness, security, data loss, auth/authz, injection, secrets, crypto misuse.
- Check architecture alignment and dependency boundaries; note any layering violations.
- Evaluate error handling, logging, resource cleanup, and edge cases.
- Assess code quality and maintainability: clarity, naming, abstraction level, duplication, complexity, and dependency changes; note SOLID issues only when material.
- Check tests and coverage gaps; call out missing or brittle tests.
- Flag performance issues only when evidence exists; avoid speculative optimizations.
- Write actionable feedback with file references and minimal fix guidance.
- Summarize remaining risks and verification steps.
Expected outputs / formatting
- Findings ordered by severity with file paths.
- Short rationale and concrete fix suggestions for each issue.
- Call out security items with optional CWE/OWASP references when applicable.
- Missing tests called out explicitly.
- Brief change summary only after findings.
- Keep feedback pragmatic; avoid theoretical or stylistic nitpicks.
Example prompts
- "Do a code review of the staged changes."
- "Review this PR for security and correctness issues."
- "Check these files for architecture violations."
- "Review the code you just generated and call out risks."
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です