← ClaudeAtlas

cross-role-consultlisted

Use when the current role's work hits a decision that belongs to another role's Scope (e.g., Developer encounters a design choice that Architect should decide). Invokes a fresh subagent of the appropriate role for a 30-60 second consultation, receives advice, and returns to the main session. Replaces v1's "起票して躺死" anti-pattern.
Saigetsu233/harness-jp-si · ★ 0 · Code & Development · score 57
Install: claude install-skill Saigetsu233/harness-jp-si
# Cross-Role Consult (越境-with-consult) 越境検知時に、起票して終わるのではなく、対応ロールの subagent に **同セッション内で 30-60 秒の協議** を行う。 --- ## 発動条件 現在のロールの Scope を超える可能性がある判断点に遭遇した時。具体的な signals: | Signal | 例 | 推奨 consult 先 | | --- | --- | --- | | 「これは設計判断だ」 | 「`preLoginValidation` を utils に抽出すべきか」 | Architect | | 「これは要件解釈だ」 | 「この受入基準はどう読むべきか」 | PdM | | 「これは品質判断だ」 | 「このバグ Severity は High か Medium か」 | QA Engineer | | 「これはインフラ判断だ」 | 「新規ライブラリ追加で本番依存が増える」 | Infra Engineer | | 「これはスケジュール判断だ」 | 「この変更で +20% 工数になりそう」 | Project Manager | --- ## 振る舞い (Subagent 対応 platform: Claude / Codex / Cursor) ```dot digraph consult_flow { "主線 (現ロール)" [shape=doublecircle]; "越境 signal 検知" [shape=diamond]; "他ロール subagent 起動" [shape=box, style=filled, fillcolor="#ffe8d2"]; "意見取得 (30-60s)" [shape=box]; "主線に返却" [shape=doublecircle]; "意見採用判断" [shape=diamond]; "作業継続" [shape=box]; "ADR/CR 起票" [shape=box]; "PM へエスカレ" [shape=box]; "主線 (現ロール)" -> "越境 signal 検知"; "越境 signal 検知" -> "他ロール subagent 起動" [label="yes"]; "越境 signal 検知" -> "作業継続" [label="no"]; "他ロール subagent 起動" -> "意見取得 (30-60s)"; "意見取得 (30-60s)" -> "主線に返却"; "主線に返却" -> "意見採用判断"; "意見採用判断" -> "作業継続" [label="採用可"]; "意見採用判断" -> "ADR/CR 起票" [label="重大判断"]; "意見採用判断" -> "PM へエスカレ" [label="承認者間矛盾"]; } ``` ### 手順 1. **検知**: 主線 AI が越境 signal を検知。作業を一時停止。 2. **起動**: Claude Code では `Agent(subagent_type="<role>", prompt=...)`、Codex / Cursor では各 platform の subagent 起動コマンド。 3. **協議**: subagent は **当該ロールの subagent 定義 (`agents/<role>.md`) + `using-h