From devil-team
任意の Skill に Devil-only Agent Teams を動的策定して scaffold するメタスキル。 対象 Skill ごとに 6 軸の問いで Devil 観点を毎回見極め、プリセット非依存で適用する。 使用場面 (1) 既存 Skill に Devil-only レビュー層を追加したい、(2) 新規 Skill 作成時に Devil 配置したい、(3) 対象 Skill で「別系統の目」による批判層を組み込みたい、(4) 「/devil-team-adder」の呼び出し。 Hard rules: プリセット非採用 (対象ごとに動的策定)、既存 Devil と共存、ユーザー承認なしに対象 Skill 改変しない。
How this skill is triggered — by the user, by Claude, or both
Slash command
/devil-team:devil-team-adderThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
任意の Skill(既存 / 新規)に **Devil-only Agent Teams** を動的策定して scaffold するメタスキル。対象 Skill ごとに Devil 観点を毎回見極め、プリセットは使わない。
references/coexistence-guide.mdreferences/launch-pattern-catalog.mdreferences/perspective-derivation.mdreferences/perspective-discovery.mdscripts/inject-devil-team.shtemplates/devil-prompt-skeleton.mdtemplates/role-file-template.mdtemplates/skill-md-insertion-block-subprocess.mdtemplates/skill-md-insertion-block.md任意の Skill(既存 / 新規)に Devil-only Agent Teams を動的策定して scaffold するメタスキル。対象 Skill ごとに Devil 観点を毎回見極め、プリセットは使わない。
本 skill は Skill 内 Devil の観点策定 + scaffold 専用。runtime での起動判断・並列実行は別 skill が担当する:
| skill | 責務 | 対象 |
|---|---|---|
| devil-team-adder (本 skill) | 観点策定 + scaffold | 単一 Skill |
| devil-team-orchestrator | runtime 起動判断 + Layer 2 並列実行 (Codex Devil 主役 / Claude Devil fallback、案 A) | プロジェクト全体 (タスク受領時に自動) |
本 skill は「この Skill に Devil 入れて」と明示依頼された時のみ起動。タスク受領時の常駐 Devil 起動は orchestrator の責務。
initial / update)claude -p サブプロセスは必ず --model opus を指定する(sonnet / haiku への変更禁止)initial): initial (初回策定) / update (既存 scaffold の再策定)目的: 対象 Skill の構造・アウトプット・既存ロール・依存を把握する。
target_skill のディレクトリ .claude/skills/<target-skill-name>/ を走査SKILL.md 全文references/ 配下(あれば全ファイル)roles/ 配下(あれば全ファイル)templates/ 配下(あれば全ファイル).md / .sh / .py ファイル目的: 対象 Skill 固有の Devil 観点を、ユーザー対話で動的に策定する。
references/perspective-discovery.md のフレームワークに従い、以下 6 軸をユーザーと対話:
各軸の回答は 簡潔で構わない(対話コスト < 実装価値)。ユーザー回答がユルい場合は、メタスキルが推論で補完した案をユーザー確認に回す。
references/perspective-derivation.md の変換ルールで、Phase 2 の回答から Devil 観点候補を導出:
提案数は 2-6 体(ユーザーが対話で決定)。Trio / Quintet / Duo のような事前定義ではなく、対象ごとに最適数を対話で決める。
ユーザー承認 → Phase 4。修正指示があれば Phase 3 を反復。
roles/ ディレクトリがなければ作成roles/devil-<name>.md を生成/devil-team-adder を再起動すると更新できます」)を 1 行追記claude -p サブプロセス方式)採用時は、scaffold 完了直後に 本環境で系統 B が動くか実機検証する# 試行 1: dangerously-skip-permissions あり
claude -p --dangerously-skip-permissions --output-format text --model opus "exit 0" 2>&1 | head -3
# 試行 2: --bare -p(dangerously-skip-permissions なし)
claude --bare -p --output-format text --model opus "exit 0" 2>&1 | head -3
devils/system-choice.md に「[YYYY-MM-DD] 本環境で系統 B 動作確認」を追記Bash(claude -p:*) 許可。エラーメッセージに「To allow this type of action in the future, the user can add a Bash permission rule to their settings」とあるので一部のケースで通る可能性はあるが、判定が permission レイヤーより上位で行われている可能性もあり、settings 許可しても通らないケースも実機確認必要。スコープ拡大リスクも大きいclaude_agent_sdk.query() (Python) / @anthropic-ai/claude-agent-sdk (TS) での autonomous loop 起動が Tier 1 を通過するか実機検証。Anthropic 公式の Agent SDK permissions ドキュメントに subagent inheritance ノートがあり親プロセス検出の存在が示唆されているため、期待値は低いが要検証claude --bare -p 単独 = Tier 1 ブロック対象(試行 2 でも同じくブロック確認済み)devils/system-choice.md に「[YYYY-MM-DD] 本環境で系統 B Tier 1 ブロック / 採用代替方式: {B/C/D/A/未検証}」を必ず追記mode: update 起動方法OBSERVED PERSPECTIVES (6 軸サマリ):
- 軸 1: ...
- 軸 2: ...
- 軸 3: ...
- 軸 4: ...
- 軸 5: ...
- 軸 6: ...
DEVIL SET PROPOSAL ({N} 体):
- Devil α "{NAME}": {責務}
- Devil β "{NAME}": {責務}
...
EXISTING DEVIL COEXISTENCE:
- 既存 Devil ({有 / 無}): {既存責務 if 有}
- 補完関係: {どう役割分担するか}
[ユーザー確認]: この構成で scaffold しますか?
SCAFFOLD COMPLETE:
- 対象 SKILL.md: {path} に Devil-only セクション追加
- roles/devil-{name}.md: {N} ファイル生成
- 再策定方法: /devil-team-adder + mode: update
Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
npx claudepluginhub arkatom/claude-plugins --plugin devil-team