Use when implementation is complete, all tests pass, and you need to decide how to integrate the work — guides completion of development work by presenting structured options for merge, PR, or cleanup
日本語の概要は準備中です。原文の説明を表示しています。
Use after intent is known to route build, fix, review, debug, docs, or Scrum requests into ordered workflow steps with exit criteria.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Route tasks by complexity: complex -> Thinking Partner + Devil's Advocate, teaching -> Teaching Mode + explain_code.py, simple -> direct execution. Map intent to workflow (build/fix/review/debug/docs). Use BMAD 4-phase for complex. Always end with Phase X quality gate.
$codex-workflow-autopilot or $route.$teach, "explain", or "walk me through".$sprint-plan, $story-ready-check, $retro, and $release-readiness.$codex-reasoning-rigor, $rigor, "don't be generic", "go deeper", "make it specific", or "use the repo, not generic advice".$plan, $debug, $create, $prototype, $review, $deploy, $handoff, $refactor..workflows/<name>.md file before executing the flow.$brainstorm, "brainstorm", "think through options", or "explore approaches".$review-feedback, "address review feedback", or "respond to code review".$prototype and require codex-spec-driven-development before implementation.$today, $pulse, $daily, $status, $brief, "hôm nay thế nào?", "what's next?", "what should I work on?", or "project status". Route to codex-project-pulse.Agent context loaded?
|- Yes -> apply agent behavioral rules + file_ownership boundaries
| `- Then route to the matching workflow mode or alias file
|
`- No -> fallback to existing keyword-based mode detection
|
`- Task complexity?
|- Complex (architecture/design/multi-file) -> activate Thinking Partner mode
| `- Before presenting solution -> activate Devil's Advocate mode
|
|- Teaching request -> activate Teaching Mode + explain_code.py
|
`- Simple (single file fix) -> direct execution
| Signals | Mode | Behavior |
|---|---|---|
| what if, ideas, options | brainstorm | ask clarifying questions and present alternatives, no code |
| think with me, compare options, help me decide | thinking-partner | co-think with tradeoff-first framing and explicit decision criteria |
| build, create, implement | implement | execute quickly with production-focused output, enforce TDD |
| prototype, MVP, fullstack, from scratch | prototype | run $hook -> $init-profile if needed -> $genome/$init-docs -> $spec -> $plan -> implementation -> $check-full |
| test first, TDD, red-green, failing test | tdd | enforce RED-GREEN-REFACTOR cycle via $tdd, no production code without failing test |
| error, bug, broken | debug | 4-phase systematic debugging via $root-cause: root cause → pattern → hypothesis → fix |
| review, audit, check | review | inspect and report findings by severity |
| challenge this, poke holes, red team, counterargument | devils-advocate | stress-test assumptions, expose risks, and propose mitigations |
| explain, teach, learn | teach | explain progressively with examples |
| deploy, release, ship | ship | prioritize stability and complete checks |
Trigger Scrum overlay when the request mentions:
$scrum-install, $scrum-update, $sprint-plan, $story-ready-check, $story-delivery, $retro, and $release-readinessLoad and apply: references/workflow-scrum.md.
Keep the routing contract in sync with references/workflow-routing-contract.json.
Rules:
build, fix, debug, review, or deploy) for the actual engineering workcodex-scrum-subagents when the project needs a local .agent kit for repeatable role briefs and workflowsTrigger this overlay when the user asks for:
Load and apply: codex-reasoning-rigor.
Rules:
$output-guard before finalizing high-stakes written deliverablesTrigger this mode when user asks for collaborative reasoning rather than immediate implementation.
references/thinking-partner-mode.md.Trigger this mode when user asks for challenge, risk probing, or plan hardening.
references/devils-advocate-mode.md.Trigger this mode when user asks to understand project code, not to modify it.
$teach, "explain this", "teach me", "how does this work", "walk me through".references/teaching-mode-spec.md.scripts/explain_code.py as optional context helper for functions/imports/imported-by mapping.| Intent | Steps | Exit Criteria |
|---|---|---|
| build | analyze → plan ($plan) → isolate ($worktree) → TDD implement ($tdd) → test → gate | tests pass, TDD verified, gate pass |
| prototype | preflight ($hook) -> profile/context/docs -> spec ($spec) -> plan ($plan) -> TDD implementation -> role-doc/knowledge update -> full gate | spec exists, acceptance criteria pass, full gate pass or advisory warnings listed |
| fix | systematic debug ($root-cause) → root-cause → regression test ($tdd) → fix → gate | root cause found, regression test pass, gate pass |
| review | inspect → categorize findings → recommend actions | findings documented with severity |
| debug | systematic debug ($root-cause) → Phase 1-4 → test → gate | verified fix with evidence, gate pass |
| docs | scope change → update docs → verify links/accuracy → gate | docs updated and verified |
| Scrum Signal | Suggested Ceremony | Base Workflow | Recommended Roles |
|---|---|---|---|
| vague backlog item, user story, acceptance criteria | backlog refinement | build | product-owner -> scrum-master |
| sprint planning, sprint goal, forecast | sprint planning | build | scrum-master -> product-owner -> delivery leads |
| blocker, dependency, daily sync | daily scrum | debug | scrum-master |
| ready story in sprint | story delivery | build or fix | scrum-orchestrator + delivery roles + qa-engineer |
| sprint demo, stakeholder feedback | sprint review | review | product-owner + scrum-master + qa-engineer |
| process issue, improvement experiment | retrospective | review | scrum-master + squad |
| ship decision, rollback, release gate | release readiness | deploy | scrum-master + qa-engineer + security-engineer + devops-engineer |
Use BMAD when intent analysis marks complexity: complex.
$codex-plan-writer or $planCheckpoint: wait for explicit user approval before Phase 3.
$worktree$sdd$tdd$codex-execution-quality-gate or $gate.$finish to handle branch completion if using worktree.references/workflow-routing-contract.json: machine-checkable routing contract for modes, overlays, and output fields.references/thinking-partner-mode.md: use only when collaborative option analysis is requested.references/devils-advocate-mode.md: use only when explicit challenge/risk probing is requested.references/teaching-mode-spec.md: use when user asks for code walkthrough, explanation, or teaching.references/workflow-scrum.md: use when the request maps to Scrum ceremonies, story readiness, or release readiness.references/workflow-create.md: execution template for new feature workflows.../.workflows/prototype.md: alias workflow for MVP/fullstack prototype execution.references/workflow-debug.md: execution template for debugging workflows.references/workflow-review.md: execution template for review workflows.references/workflow-refactor.md: execution template for refactoring workflows.references/workflow-deploy.md: execution template for deployment workflows.references/workflow-handoff.md: execution template for session handoff workflows.references/workflow-plan.md: execution template for planning and BMAD Phase 1-2 workflows.../.workflows/plan.md: alias workflow for planning and BMAD Phase 1-2.../.workflows/debug.md: alias workflow for 4-phase debugging.../.workflows/create.md: alias workflow for build-mode execution.../.workflows/review.md: alias workflow for review plus written-output quality checks.../.workflows/deploy.md: alias workflow for ship preparation and full gate.../.workflows/handoff.md: alias workflow for session transfer and summary generation.../.workflows/refactor.md: alias workflow for restructuring and simplifying code.scripts/explain_code.py: optional context helper for functions, imports, and imported-by mapping.skills/.system/REGISTRY.md for full script paths.--help before invoking a script.Return fenced JSON in conversation:
{
"mode": "brainstorm | thinking-partner | implement | tdd | debug | review | devils-advocate | teach | ship",
"workflow_type": "build | fix | review | debug | docs | refactor | deploy | handoff",
"steps": ["step1", "step2"],
"exit_criteria": ["criterion1"],
"estimated_scope": "small | medium | large",
"phase": "analysis | planning | solutioning | implementation | verification",
"coordination_overlay": "none | scrum",
"ceremony": "none | backlog-refinement | sprint-planning | daily-scrum | story-delivery | sprint-review | retrospective | release-readiness"
}
Primary execution remains sequential by default. Native Codex custom agents can participate when they are installed and explicitly selected.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work — guides completion of development work by presenting structured options for merge, PR, or cleanup
日本語の概要は準備中です。原文の説明を表示しています。
Use when a project has 50+ files, missing context, or explicit $codex-genome request; generates multi-layer project context to reduce hallucination.
日本語の概要は準備中です。原文の説明を表示しています。
Use for DESIGN.md visual identity contracts; author, scaffold, lint, diff, and export design contracts with the upstream spec and CLI.
日本語の概要は準備中です。原文の説明を表示しています。
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.
日本語の概要は準備中です。原文の説明を表示しています。
Use when code changes may require documentation updates; maps git diff to candidate docs without auto-editing documentation.
日本語の概要は準備中です。原文の説明を表示しています。
Use for documents, reports, memos, guides, academic papers, or formal text that needs clear structure, reliable tone, formatting, and diagrams.
日本語の概要は準備中です。原文の説明を表示しています。