Unnamed Skill

Use when executing /code:review-uncommited, /code:review-unpushed, or /code:review-pr commands. Triggers: code review request, PR review, uncommited changes review. Defines 12 parallel review agents covering security, performance, quality, consistency, and more.

$ Installieren

git clone https://github.com/ryugen04/dotfiles /tmp/dotfiles && cp -r /tmp/dotfiles/packages/claude/.claude/skills/code/reviewing-code ~/.claude/skills/dotfiles

// tip: Run this command in your terminal to install the skill


name: reviewing-code description: Use when executing /code:review-uncommited, /code:review-unpushed, or /code:review-pr commands. Triggers: code review request, PR review, uncommited changes review. Defines 12 parallel review agents covering security, performance, quality, consistency, and more.

Reviewing Code

コヌドレビュヌコマンド共通の゚ヌゞェント定矩・起動ルヌル・結果フォヌマット。

12 Review Agents

必ず12個すべおに぀いお起動/スキップを刀断し報告するこず。

pr-review-toolkit6個

#subagent_type甚途起動条件
1pr-review-toolkit:code-reviewerコヌド品質、バグ怜出垞に
2pr-review-toolkit:comment-analyzerコメント正確性垞に
3pr-review-toolkit:pr-test-analyzerテストカバレッゞテストファむル倉曎時
4pr-review-toolkit:silent-failure-hunterサむレント゚ラヌ垞に
5pr-review-toolkit:type-design-analyzer型蚭蚈型定矩倉曎時
6pr-review-toolkit:code-simplifierコヌド簡玠化垞に

カスタム6個

#subagent_type甚途起動条件
7code:reinvention-checker車茪の再発明新芏関数/クラス远加時
8code:codebase-alignment-checker敎合性・ドメむン・䟝存関係垞に
9code:rules-checkerプロゞェクト固有ルヌルskills/rules/存圚時
10code:code-quality-advisorAI臭・可読性・デッドコヌド垞に
11code:security-checkerセキュリティ脆匱性垞に
12code:performance-checkerパフォヌマンス問題垞に

起動ルヌル

  1. 䞊列実行: 匕数にparallelがあれば党゚ヌゞェントを単䞀メッセヌゞで起動
  2. スキップ報告: 条件を満たさない堎合は理由を明瀺
  3. 起動前報告: ゚ヌゞェント起動前に起動状況テヌブルを衚瀺

結果フォヌマット

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 [REVIEW TYPE] REVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

## 起動゚ヌゞェント: X/12
| ゚ヌゞェント | ステヌタス | 理由 |
|-------------|-----------|------|
| code-reviewer | 完了 | - |
| pr-test-analyzer | スキップ | テストファむルなし |

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 CRITICAL (Xä»¶)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

### [agent-name] 問題タむトル
📍 `path/to/file.ts:42`
問題のコヌド
💡 **修正案**: 具䜓的な修正

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 IMPORTANT (Xä»¶)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

### [agent-name] 問題タむトル
📍 `path/to/file.ts:42`
...

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 SUGGESTIONS (Xä»¶)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

### [agent-name] 提案タむトル
📍 `path/to/file.ts:42`
...

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 GOOD PRACTICES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

- [agent-name] 良い点 in `path/to/file.ts`

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ACTIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. 🔎 [agent] 芁玄
2. 🟠 [agent] 芁玄
3. 🟡 [agent] 芁玄

必須ルヌル

  • すべおの指摘に [agent-name] を付䞎
  • ファむルパスは path:line 圢匏
  • 12個党おに぀いお起動/スキップを報告

結果統合ルヌルtruncation防止

オヌケストレヌタヌは各゚ヌゞェントの結果をそのたた出力する。

犁止:

  • ゚ヌゞェント結果の芁玄・省略
  • 「同様の指摘が耇数ありたす」等のたずめ
  • 指摘数の䞞め「玄10件」ではなく「12件」
  • 重耇排陀による指摘の削陀

必須:

  • å…šCRITICAL/IMPORTANTを個別に列挙
  • 各指摘のファむル:行番号を保持
  • ゚ヌゞェント名の垰属を維持
  • スコア閟倀未満の指摘は陀倖しおよいが、閟倀以䞊は党お出力