Agent skill
review-flow
PR作成後に自動的に実行する必要があるフロースキルです
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/review-flow
SKILL.md
PR について理解しPR authorの身になってレビューを開始します。
自動判定ロジック
引数がない場合、以下で判定:
- 変更ファイル数 ≤ 3 かつ 変更行数 ≤ 50 → light
- 認証/決済/API/DB/セキュリティ関連の変更 → deep
- それ以外 → light
--light(model: haiku)
簡易チェック:
- lint漏れ、型エラー
- 明らかなバグ
- console.log の残存
- 未使用のインポート/変数
結果を簡潔に報告してください。
--deep(model: opus)
設計レベルのレビュー。parallel に以下の subagents を実行:
-
code-review subagent
- コード品質、可読性、保守性
- エラーハンドリング
- 型安全性
-
QA subagent
- 動作確認手順の提示
- 期待される結果
- エッジケースの確認
-
security-reviewer(該当する場合)
- 認証・認可の漏れ
- 入力値検証
- 機密情報の露出
脆弱性対応フロー(重要)
もし security-reviewer が High/Critical な脆弱性を検出した場合:
- 具体的なリスクと攻撃シナリオを提示する
- **「⚠️ マージ不可」**と明確に宣言する
- 修正方針を提案:
- 実装ミス: 現在のPRで修正コミットを追加
- 設計ミス:
/reject-prでPRを閉じて再設計を推奨
- 必要に応じて
ticket-feedbackで修正タスクをLinearに登録
出力順序
- コードの解説(何を変更したか)
- 各subagentのフィードバック
- 改善提案(優先度付き)
- セキュリティ問題がある場合は明確な警告
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?