From agent-workflows
Generates competing build-order plans from a design doc using parallel agents with strategies like riskiest-first, demo-able, topological, vertical-slice; synthesizes recommended sequence with milestones, dependencies, risks.
npx claudepluginhub sjarmak/agent-workflowsThis skill uses the workspace's default tool permissions.
Build-order planning via competing sequencing strategies. Takes a chosen design (from /diverge-prototype or any architecture decision) and spawns N independent agents, each proposing a different build-order strategy. Each agent produces a sequenced implementation plan with milestones, dependencies, and risk assessment. Synthesizes into a recommended build plan.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Build-order planning via competing sequencing strategies. Takes a chosen design (from /diverge-prototype or any architecture decision) and spawns N independent agents, each proposing a different build-order strategy. Each agent produces a sequenced implementation plan with milestones, dependencies, and risk assessment. Synthesizes into a recommended build plan.
$ARGUMENTS — format: [N] [path/to/design.md or inline description] where N is optional (default: 4)
Extract:
If the design input is missing or unclear, ask the user to clarify before proceeding.
Read the design doc, prototype, or PRD provided. Extract the following:
Prepare a build brief that summarizes:
Present the build brief to the user and confirm before proceeding. Adjust if the user gives feedback.
Launch all N agents in parallel using the Agent tool. Each agent receives the build brief plus a unique sequencing strategy drawn from this pool (assign strategies 1 through N):
Each agent MUST produce:
Agent prompt template (customize the strategy per agent):
You are a build-order planning agent. Given a design, you propose an implementation sequence using a specific strategy.
## Build Brief
{build_brief}
## Your Strategy: {strategy_name}
{strategy_description}
Motto: "{motto}"
Propose a complete build order for this design using your assigned strategy. Think carefully about sequencing trade-offs.
## Output Format
Return your plan in this exact structure:
### Strategy: {strategy_name}
Motto: "{motto}"
#### Sequenced Phase List
For each phase:
- **Phase N: {name}**
- What is built: ...
- Why this order: ...
- What is stubbed/mocked: ...
- Estimated effort: [range, e.g., 2-4 days]
#### Dependency Diagram
- {component} -> {component} (reason)
- ...
#### Risk Assessment
- Risk: {description} | Impact: {high/medium/low} | Mitigation: {approach}
- ...
#### First Milestone
- Definition of done: ...
- Verification method: ...
#### Integration Points
- Phase N <-> Phase M: {what connects, how to test}
- ...
Use subagent_type: "general-purpose" and do NOT use worktrees (planning only, no code).
After ALL agents return, produce a unified analysis:
| Dimension | Strategy A | Strategy B | Strategy C | Strategy D |
|---|---|---|---|---|
| First thing built | ... | ... | ... | ... |
| Time to first demo | ... | ... | ... | ... |
| Risk front-loading | ... | ... | ... | ... |
| Parallelism potential | ... | ... | ... | ... |
| Stub/mock debt | ... | ... | ... | ... |
| Integration risk | ... | ... | ... | ... |
Where did multiple strategies agree on ordering? These are high-confidence sequencing decisions. If three or more strategies put the same component early, that is a strong signal.
Where did strategies disagree? For each disagreement, articulate the specific trade-off:
Synthesize a recommended plan that combines the best insights from all strategies. For each sequencing choice, state:
Save the full analysis to the working directory as scaffold_{slugified_topic}.md.
Present the recommended build plan and the comparison analysis. Then ask the user:
Remind the user: plans change. The value is not in predicting the future perfectly but in having thought through the trade-offs so you can adapt faster when reality diverges.
If the user confirms the plan and bd is available (test with bd status), convert the recommended build plan into a Beads task hierarchy:
Create the epic:
bd create "<project/feature name>" -t epic -p 1 -d "<one-line summary of the full build>"
Create a task bead for each phase in the recommended plan, as children of the epic:
bd create "<phase N: component name>" --parent <epic-id> -p <priority> -d "<what is built in this phase, verification criteria>"
Wire up dependencies between phases where ordering matters:
bd dep add <later-phase-id> <earlier-phase-id>
Show the resulting graph:
bd graph <epic-id>
Show ready work:
bd ready --pretty
Present the seeded beads to the user. The first ready bead is where /focus picks up.
If bd is not available, skip this phase and note that the user can seed beads manually later.
This skill sits after design selection and before focused implementation:
/diverge-prototype or architecture decision -> /scaffold (plan + seed beads) -> /focus (work through beads)