From hw
Enter Hypo-Workflow planning mode when the user wants to design milestones before execution starts.
npx claudepluginhub hypoxanthineovo/hypo-workflow --plugin hwThis skill uses the workspace's default tool permissions.
📌 输出语言规则:
Run the discovery phase of Hypo-Workflow planning when the user needs requirement clarification, constraint gathering, and repo context analysis.
Creates structured plans for multi-step tasks including software features, implementations, research, or projects. Deepens plans via interactive sub-agent reviews.
Creates structured plans for multi-step tasks like software features, research workflows, events, or study plans. Deepens existing plans with interactive sub-agent reviews.
Share bugs, ideas, or general feedback.
📌 输出语言规则: 读取 config.yaml → output.language
Use this skill for the full P1-P4 planning flow.
Without --batch, preserve the existing single-feature P1-P4 flow. The ordinary /hw:plan command still runs one Discover interview, one Decompose checkpoint, one Generate phase, and one Confirm gate.
Progressive Discover is enabled by default as a structure for P1. Start with the big questions first:
Then continue through assumption statement, ambiguity resolution, tradeoff review, and validation criteria as needed. Keep this structure strong, but do not turn it into a rigid questionnaire.
Test Profiles sit on top of presets. Keep preset for step order, but collect category-specific validation policy through execution.test_profiles or inferred Discover context.
Use /hw:plan --batch only when the user wants to plan multiple Features in one conversation and create a Feature Queue.
Feature DAG concepts belong only to long-running, batch, multi-Feature, AFK, or HITL coordination. Ordinary single-feature /hw:plan must stay simple and should not require or display Feature DAG fields.
Use /hw:plan --insert <natural language> to edit an existing Feature Queue. Convert the natural-language request to a structured queue operation first, show the queue diff, then wait for explicit confirmation before writing .pipeline/feature-queue.yaml.
.pipeline/ already exists, treat planning as revise-or-append, not necessarily greenfieldplan.mode=interactive (default)
plan.interaction_depth and convert it to the minimum question rounds:
low -> 2 roundsmedium -> 3 roundshigh -> 5 roundsplan.interactive.min_rounds is present, use it as an additional floorplan.interactive.require_explicit_confirm is missing, treat it as trueplan.mode=auto
/hw:plan --batch changes the planning target from one Feature to a Feature Queue.
Batch behavior:
.pipeline/feature-queue.yaml after the user confirms the queue.batch.decompose_mode from project config > global config > default upfront.batch.decompose_mode=upfront, decompose every Feature into initial Milestones immediately.batch.decompose_mode=just_in_time, create queue entries first and defer Milestone decomposition until each Feature becomes current.plan.mode=auto and config allows unattended planning.depends_on, blocked_by, execution_hint, handoff_hint, and ready/blocked status. Do not create Milestone-level DAG scheduling.Batch artifacts:
.pipeline/feature-queue.yaml.pipeline/metrics.yaml shallow initialization when missing.plan-state/batch-discover.yaml.plan-state/batch-decompose.yaml.plan-state/batch-architecture.md/hw:plan --insert is a queue editing surface, not a new planning cycle.
Supported natural-language intents:
gate: confirmdecompose_mode for queued FeaturesSafety rules:
.pipeline/feature-queue.yaml until the user confirms the diff.pipeline/log.yamlInteractive planning is a hard conversational gate, not a suggestion.
❓ 最少提问轮数:
interaction_depth: low -> 至少 2 轮提问interaction_depth: medium -> 至少 3 轮提问(默认)interaction_depth: high -> 至少 5 轮提问❌ 绝对禁止:
✅ 必须做到:
🚨 P1 -> P2 的唯一过渡条件: 用户明确表示「够了」「开始吧」「可以了」等结束信号。用户只是回答问题、补充信息、或说「确认一下」时,继续 P1 追问,不得进入 P2。
When --context is present, injected context can sharpen the first questions but must not skip the required interaction rounds.
The plan-tool-required built-in rule is active for Plan Mode unless disabled in .pipeline/rules.yaml.
todowrite for the visible planning state and native question / Ask for every interactive hard gate.~/.hypo-workflow/config.yaml if present.plan.mode and plan.interaction_depth from .pipeline/config.yaml when present.--context <sources> when present. Split comma-separated values and allow only audit, patches, deferred, debug, and explore:E001 style exploration context refs.--batch and --insert when present. Without --batch or --insert, preserve the existing single-feature P1-P4 flow.--insert is present, read .pipeline/feature-queue.yaml, convert the user request to a structured queue operation, show the queue diff, wait for confirmation, then apply and log the queue edit.--context flag is given, read cycle.yaml and use cycle.context_sources when present.plan.mode > global plan.default_mode > interactive.plan.interaction_depth, then apply plan.interactive.min_rounds as a floor.--batch is present, collect multiple Feature candidates, priorities, gates, dependencies, acceptance boundaries, category, and verification requirements before leaving Discover--batch and batch.decompose_mode=upfront, decompose all Features; when just_in_time, create Feature scaffolds only.pipeline/ artifacts and architecture baseline--batch, generate Feature Queue, Markdown table, Mermaid graph, and batch architecture notescurrent.phase to the matching planning phase during each stage.plan/PLAN-SKILL.md — detailed P1-P4 planning systemreferences/commands-spec.md — command routing semanticsreferences/config-spec.md — plan-mode fallback rulesSKILL.md — overall pipeline contextWhen a request is investigative, root-cause-oriented, metric-oriented, or repository/system analysis, classify it with workflow_kind: analysis and choose analysis_kind: root_cause | metric | repo_system.
Analysis planning should treat one Milestone as one investigation question. The Milestone may contain multiple hypotheses and experiments, and a disproved hypothesis is progress rather than failure.