ワンクリックで
agent-test-delegation
Test agent delegation patterns to verify hierarchy and escalation paths. Use after modifying agent structure.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Test agent delegation patterns to verify hierarchy and escalation paths. Use after modifying agent structure.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Run section orchestrators to coordinate multi-component workflows. Use when starting work on a section.
Validate agent YAML frontmatter and configuration. Use before committing agent changes or in CI.
Reply to PR review comments using the correct GitHub API endpoint. Use when responding to inline code review feedback (not gh pr comment).
Run Mojo tests using mojo test command. Use when executing tests or verifying test coverage.
Track implementation progress against plan. Use to monitor component delivery and identify blockers.
Check agent configuration coverage across hierarchy levels and phases. Use to ensure complete agent system coverage.
| name | agent-test-delegation |
| description | Test agent delegation patterns to verify hierarchy and escalation paths. Use after modifying agent structure. |
| mcp_fallback | none |
| category | agent |
Verify agent hierarchy, delegation chains, and escalation paths.
# Test all delegation patterns
python3 tests/agents/test_delegation.py .claude/agents/
# Test specific agent delegation
./scripts/test_agent_delegation.sh implementation-specialist
# Visualize delegation tree
./scripts/visualize_delegation.sh
Hierarchy levels: Agents delegate to lower levels, escalate to higher levels
Delegation chains: L0 → L1 → L2 → L3 → L4 (proper tree structure)
Circular dependencies: Detect A → B → C → A patterns
Reference validity: All delegates_to/escalates_to targets exist
Level consistency: Level values correct and levels don't skip improperly
| Rule | Example ✅ | Wrong ❌ |
|---|---|---|
| Delegate downward | L2 → L3 | L3 → L2 |
| Escalate upward | L3 → L2 | L3 → L4 |
| No circles | A → B, A → C | A → B → A |
| Valid refs | Existing agent | Nonexistent agent |
Circular dependency: Agent A → Agent B → Agent A
Skip-level delegation: L2 → L4 (skips L3)
Orphaned agent: No other agent delegates to it
/agents/delegation-rules.md - Complete delegation guidelines.claude/agents/ - All agent configurationsCLAUDE.md - Hierarchy documentation