with one click
plan-generate
// Generate Hypo-Workflow artifacts from the approved milestone plan when the user wants prompts, config, and architecture outputs.
// Generate Hypo-Workflow artifacts from the approved milestone plan when the user wants prompts, config, and architecture outputs.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | plan-generate |
| description | Generate Hypo-Workflow artifacts from the approved milestone plan when the user wants prompts, config, and architecture outputs. |
📌 输出语言规则: 读取 config.yaml → output.language
Use this skill for P3 Generate only.
.pipeline/ artifacts~/.hypo-workflow/config.yaml if present..pipeline/config.yaml with project-specific values and only the overrides that should beat global defaults, including output.*, plan.interactive.*, and watchdog.* only when the project needs explicit overrides..pipeline/prompts/*.md..pipeline/cycle.yaml metadata when a Cycle is being created:
workflow_kind: build | analysis | showcaseanalysis_kind when workflow is analysislifecycle_policy.reject.default_action, defaulting to needs_revisionlifecycle_policy.accept.next, using follow_up_plan when planned follow-up existscontinuations[] for planned follow-up nodesSubworker Assignment Plan that pre-assigns worker-separated roles before implementation beginsWhen a Cycle or Feature has workflow_kind: analysis, generated prompts should include the analysis step chain and generated config/cycle metadata should use the analysis preset:
define_questiongather_contexthypothesizeexperimentinterpretconcludeGenerated analysis prompts should point to templates/analysis/*, references/analysis-spec.md, and references/analysis-ledger-spec.md, and should require an external ledger instead of expanding state.yaml.
Generated implementation prompts must not degrade testing into open-loop prose. Carry forward the exact validation command or executable scenario, the observable pass/fail evidence, and the implementation-versus-validation ownership split when the plan called for it.
Generated implementation prompts must include a Subworker Assignment Plan whenever worker separation is recommended or strict, or the planned work is non-trivial enough to require independent validation. Place this section before any implementation steps. The section must be concrete enough that /hw:start can execute without inventing role boundaries:
test: owns write_tests and review_tests; independently validates the real test contract, records command/scenario evidence, checks failure/green evidence where applicable, and rejects pseudo testsimplement: owns scoped implementation edits and produces a concise change summaryaudit: inspects the final diff, test evidence, assumptions, risk, and worker identity separationtest and implement workers are authorized or assignedtest and implement; strict must also keep audit separate.pipeline/reviews/ or the prompt-specific report pathOn Codex, missing execution subworker authorization does not remove the assignment. Instead, generate the same Subworker Assignment Plan with status: blocked_until_authorized and include a start/resume gate requiring /hw:start or /hw:resume to Ask before role-sensitive work. Only an explicit user-confirmed fastest single-agent downgrade may generate prompts without subworker assignments, and those prompts must state that worker-separation gates are intentionally disabled.
If derived lifecycle artifacts fail to refresh after a successful authority commit, generated prompts should direct the operator to repair the derived artifact or run /hw:sync --light rather than treating the authority write as failed.
plan/PLAN-SKILL.md — Generate phase behaviorreferences/commands-spec.md — command semanticsreferences/config-spec.md — project/global config splitSKILL.md — full system context