ワンクリックで
delegation-policy
When and how Architect delegates tasks to AO, Mechanic, and Designer.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
When and how Architect delegates tasks to AO, Mechanic, and Designer.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Detect and prevent product-specific terminology contamination across skills/ and prompts/. Run after any bulk content update, skill import from another project, or agent config change. Applied as a shared skill across all agents.
Checklist and rules for reviewing deployment requests. Architect assesses but NEVER executes.
Rules for triaging new issues, classifying severity, and routing to the correct agent.
How to classify and respond to CI/pipeline failures.
Rules for detecting and managing stale issues and PR reviews.
When Designer reviews vs builds. Clear boundaries for autonomous action.
| name | delegation-policy |
| description | When and how Architect delegates tasks to AO, Mechanic, and Designer. |
| metadata | {"version":"1.0.0","type":"policy"} |
Architect NEVER executes. Architect delegates. This skill defines which executor gets which task.
| Task Type | Route To | Event | Examples |
|---|---|---|---|
| Feature implementation | AO | architect:build_directive | "Add webhook retry logic", "Implement X endpoint" |
| Bug fixes requiring investigation | AO | architect:build_directive | "Race condition in dispatcher", "Users see stale cache" |
| Test writing (non-trivial) | AO | architect:build_directive | "Add integration tests for bootstrap flow" |
| Architecture changes | AO | architect:build_directive | "Refactor HMAC signing", "Extract shared util" |
| Frontend/UI work | Designer (via strategist:designer_directive routing) | See note below | New components, design tokens, Figma integration |
| Formatting / prettier fixes | Mechanic | architect:mechanic_task | "Run prettier on src/" |
| Lint error fixes (eslint --fix) | Mechanic | architect:mechanic_task | "Fix auto-fixable eslint errors" |
| Lockfile sync | Mechanic | architect:mechanic_task | After dependency change |
| Branch rebasing | Mechanic | architect:mechanic_task | "Rebase feature/x on main" |
| Dependency version bumps | Mechanic | architect:mechanic_task | "Bump vitest to 3.x" |
| Codegen regeneration | Mechanic | architect:mechanic_task | OpenAPI stubs, Prisma client |
| Any task requiring creative problem-solving | AO | architect:build_directive | — |
| Any task with known command + known parameters | Mechanic | architect:mechanic_task | — |
Note on Designer routing: Architect does not directly delegate to Designer. Frontend issues are labeled UI and picked up by Designer via Strategist or AO's pr_ready event. Architect only coordinates via architect:design_directive for cross-cutting style changes.
architect:build_directive)Required fields:
repo — full slug (owner/repo, e.g. YClawAI/yclaw)issueNumber — integerinvestigation_summary — what the issue is about, root causekey_files — likely paths needing changesconstraints — what NOT to change, safety boundariesacceptance_criteria — how to verify successarchitect:mechanic_task)Required fields:
repo — full slugoperation_type — one of: lockfile_sync, formatting, linting, rebasing, dependency_bump, codegen_regentask_description — precise command or change descriptionacceptance_criteria — observable outcome (e.g. "lockfile matches package.json", "eslint --fix runs with 0 errors")ao:status first (or check recent Mechanic health). If degraded, stop and let the issue wait.issue-triage/SKILL.md — labeling rules that determine eligibilitydeployment-review/SKILL.md — for deploy-related directives (deploys go to Strategist, not AO)pipeline-health/SKILL.md — when to halt delegation due to CI health