doc-driven-spec-workflow
Original:🇺🇸 English
Translated
Use when a docs-driven repository request is unclear about whether the next step is scaffold initialization, clarification, roadmap decomposition, or current-task execution.
12installs
Added on
NPX Install
npx skill4agent add adol1111/doc-driven-spec-workflow doc-driven-spec-workflowTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Using Doc-Driven Spec Workflow
Use this root skill to select and coordinate the right docs-driven workflow skill.
This skill is the entry protocol for the workflow. It does not own bootstrap, planning, specs, plans, implementation, templates, or branch-closing details. Those belong to the stage-specific skills.
This is analogous to : it makes the agent choose and respect the right composable skill instead of improvising the whole workflow from memory.
using-superpowersMandatory Rules
- MUST start docs-driven repository work by identifying the current workflow stage.
- MUST load exactly one stage skill next unless the user explicitly asks for a comparison or audit.
- MUST delegate stage behavior to the selected skill instead of restating or bypassing that skill's rules.
- MUST treat roadmap planning and task reshaping as docs governance. They do not authorize spec writing or implementation by themselves.
- MUST stop at approval gates. is not approval for roadmap structure, spec, plan, branch closing, or destructive cleanup.
continue - MUST preserve handoff context when switching skills: what is decided, what is undecided, and why the next skill applies.
Workflow Chain
Default chain:
docs-workflow-bootstrap -> superpowers:brainstorming -> milestone-planning -> task-spec-executionNot every request uses every stage. Skip stages only when their decision is already settled.
Routing Rules
Choose the next skill by the user's current uncertainty:
- "We need the minimum docs scaffold first." ->
docs-workflow-bootstrap - "We still do not understand what we are building." ->
superpowers:brainstorming - "We understand the request, but not the milestone/module/task shape." ->
milestone-planning - "We know the current concrete task and need spec-first execution." ->
task-spec-execution
Use when the repository lacks:
docs-workflow-bootstrapdocs/index.mddocs/architecture/index.mddocs/tasks/index.mddocs/context/index.md
Use when goals, constraints, success criteria, or "now versus later" boundaries are still ambiguous.
superpowers:brainstormingUse when the user needs milestone count, module grouping, task breakdown, delivery order, or stage boundaries.
milestone-planningUse only after a concrete task exists or is selected and the user wants task-local , optional , readiness, implementation, verification, or branch closing.
task-spec-executionspec.mdplan.mdDo not skip directly from ambiguous scope to spec writing.
Do not use to invent roadmap structure.
Do not keep using after the question becomes current-task execution.
task-spec-executionmilestone-planningHandoff Rules
- : after the minimum docs scaffold exists
docs-workflow-bootstrap -> superpowers:brainstorming or milestone-planning - : after scope, boundaries, and success criteria are clear enough to plan delivery structure
superpowers:brainstorming -> milestone-planning - : after the current concrete task is selected and the user wants to enter spec-first execution
milestone-planning -> task-spec-execution
At each handoff, briefly restate:
- what has already been decided
- what remains undecided
- what the next skill is responsible for
- which explicit approval gate, if any, remains outstanding
Treat a user message such as as permission to advance to the next workflow stage only when the current stage is complete and no explicit approval gate is outstanding.
continueDo not treat as automatic approval for:
continue- roadmap structure that still needs confirmation
- spec approval
- plan approval
- branch closing or destructive cleanup decisions
Response Shape
Keep orchestration responses compact:
- Current stage
- Why this stage applies
- Next skill to use
- Expected stop point