From hw
Executes Hypo-Workflow task decomposition with consultation-first boundary: asks clarifying questions on ambiguous inputs, produces a Mini-contract or plan, and awaits affirmative reply before acting.
How this command is triggered — by the user, by Claude, or both
Slash command
/hw:decomposeplan/Files this command reads when invoked
The summary Claude sees in its command listing — used to decide when to auto-load this command
# /hw:plan:decompose Canonical command: `/hw:plan:decompose` Route: `plan` Skill: `skills/plan-decompose/SKILL.md` Load the corresponding Hypo-Workflow skill instructions from `skills/plan-decompose/SKILL.md`, then execute `/hw:plan:decompose` semantics with any user-provided arguments. ## Consultation-First Action Boundary / 协商优先 For discussion/background/idea/complaint/question/solution-discussion inputs, treat them as non-editing / no file edits signals: do not edit files or write code/config before answering with a Mini-contract in this order: 我的理解 -> 问题原因 -> 推荐方案. Clear imperative...
Canonical command: /hw:plan:decompose
Route: plan
Skill: skills/plan-decompose/SKILL.md
Load the corresponding Hypo-Workflow skill instructions from skills/plan-decompose/SKILL.md, then execute /hw:plan:decompose semantics with any user-provided arguments.
For discussion/background/idea/complaint/question/solution-discussion inputs, treat them as non-editing / no file edits signals: do not edit files or write code/config before answering with a Mini-contract in this order: 我的理解 -> 问题原因 -> 推荐方案.
Clear imperative requests with a concrete target may use direct execution: when the user names the action and target file, command, report, or bounded scope, execute directly unless the request is framed as discussion, background, idea, complaint, question, or solution-discussion.
Post-plan affirmative replies authorize execution. After a displayed plan, Mini-contract, or recommendation, replies such as 可以, 确认, OK, go ahead, and apply it are execution authorization within the shown scope; ask again if scope grows, becomes destructive, or touches target repositories.
On first-use of a new concept in a Cycle, explain it with one-sentence explanation before relying on it.
Direct sync scope covers source-owned managed surfaces such as shared guidance, generated command/agent instructions, AGENTS/OpenCode/Claude adapters, documentation contracts, tests, and release checklists.
Target-owned scope stays separate: Codex-VSP per-model prompts, model selection prompts, and runtime prompt tuning, plus VSP-Open-Code local reminders, runtime prompt details, provider/model behavior, and reminder wording are target-owned scope. They need a local Cycle and must not be directly written by source-side direct sync.
Project the optional @karpathy/guidelines behavior pack as concise execution discipline without changing its default severity. Think Before Coding: state assumptions and material ambiguities before edits. Simplicity First: choose the smallest sufficient solution. Surgical Changes: keep edits local and compatible with surrounding patterns. Goal-Driven Execution: define the desired effect and verification method, then evaluate progress against that target.
Use Ask Questions proactively when a decision materially changes scope, safety, architecture, release behavior, remote side effects, protected files, or acceptance criteria. Use the question tool when it is available; otherwise stop and ask the user in the normal response channel. Do not bury required user decisions in unrelated prose or proceed on a guess when the answer changes what should be edited, tested, pushed, released, installed, or delegated.
Before calling Question Tool / Ask for a Plan gate, explain in the conversation why the decision is needed, what will change for each answer, and what evidence or artifact the user is confirming. Never open a bare question card before that explanation is visible.
For major Plan gates, show the actual phase artifacts before Question Tool / Ask confirmation. This includes Discover, Technical Stack, Architecture, Decompose, and Generate outputs such as the stage summary, decision table, open questions, diagrams, milestone table, decision matrix, and dependency map. The Question Tool / Ask card must be the gate after the visible explanation and artifacts, not a replacement for them.
Prefer one concise question with the smallest actionable decision. Continue without asking only when the repo evidence and active configuration make the decision unambiguous.
When using DeepSeek through Claude Code, follow these rules strictly. They override any conflicting habits from chat training.
null, "", {}, or [] as a placeholder. If a field is optional and you have no value, leave it out of the JSON entirely.["a", "b"], never "[\"a\", \"b\"]" as a string, never {} as an object, and never "foo" as a bare string.["foo"], not "foo".30, not "30"; true, not "true".Before acting, inspect the relevant context when present:
.pipeline/config.yaml.pipeline/cycle.yaml.pipeline/state.yaml.pipeline/rules.yamlKeep this command as a Claude Code plugin slash-command mapping, not a separate runner. Claude Code performs the work; Hypo-Workflow files remain the source of truth.
npx claudepluginhub hypoxanthineovo/hypo-workflow --plugin hw/spec-drivenDecomposes a compound request into deliverables, dependencies, and decision gates, then writes spec, plan, and result-check files.
/decompositionBreaks down complex tasks into detailed, actionable subtasks with rich descriptions that can be executed independently. Interviews the user to resolve unclear points before creating todos.
/plan-modeInitiates a multi-agent planning consultation to create a structured implementation plan with task hierarchy and specialist dispatches, producing a plan document without code changes.
/planBreaks work into small verifiable tasks with acceptance criteria and dependency ordering, saving the plan and task list to files for human review.
/planTransforms feature requests or research documents into phased, build-ready implementation plans by scanning codebase, clarifying intent, and defining phase gates.
/decomposeBreaks a complex GitHub issue into ordered sub-issues based on an investigation report. Reads the FORGE:INVESTIGATOR comment, creates sub-issues with dependencies, and posts a FORGE:DECOMPOSED marker.