AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Scaffold

skill-sjarmak-agent-workflows-scaffold · by sjarmak

A Claude skill from sjarmak/agent-workflows.

No reviews yet
0 installs
32 views
0.0% view→install

Install

$ agentstack add skill-sjarmak-agent-workflows-scaffold

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-sjarmak-agent-workflows-scaffold)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Scaffold? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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

$ARGUMENTS — format: [N] [path/to/design.md or inline description] where N is optional (default: 4)

Parse Arguments

Extract:

  • agent_count: the optional leading integer (default 4, min 2, max 6)
  • design_input: a file path to a design doc/prototype/PRD, or an inline description of what needs to be built

If the design input is missing or unclear, ask the user to clarify before proceeding.

Phase 1: Understand the Design

Read the design doc, prototype, or PRD provided. Extract the following:

  • Components to build — every distinct module, service, or subsystem
  • Dependencies between them — what requires what
  • External integrations — third-party APIs, databases, services
  • Testing requirements — what needs testing and at what level
  • Deployment needs — infrastructure, environments, CI/CD

Prepare a build brief that summarizes:

  • What needs to be built
  • What exists already (if working within an existing codebase)
  • What the constraints are (technical, timeline, team)

Present the build brief to the user and confirm before proceeding. Adjust if the user gives feedback.

Phase 2: Spawn Sequencing Agents

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):

  1. "Riskiest-First" — Start with the highest-uncertainty components. Front-load risk to learn early whether the approach works. Motto: "fail fast on the hard stuff."
  2. "Demo-able First" — Start with the components that produce visible, testable output. Build stakeholder confidence early. Motto: "something to show every sprint."
  3. "Dependency-Topological" — Strict dependency order. Build foundations first, layers on top. Nothing starts until its dependencies are complete. Motto: "no stubs, no mocks, each piece works when built."
  4. "Vertical Slice" — Build one thin end-to-end path through the entire system first. Proves integration works before widening. Motto: "narrow and deep before wide."
  5. "Test Infrastructure First" — Start with test harness, CI/CD, monitoring, observability. Build the ability to verify before building things to verify. Motto: "confidence before velocity."
  6. "Parallel Tracks" — Identify independent work streams that can proceed simultaneously. Optimize for team throughput. Motto: "max parallelism, defined interfaces."

Each agent MUST produce:

  • Sequenced phase list — ordered phases with: what is built, why this order, what is stubbed or mocked, estimated effort (use ranges when uncertain)
  • Dependency diagram — what depends on what within their ordering
  • Risk assessment — what could go wrong with this ordering, what gets deferred
  • First milestone — what does "done with phase 1" look like and how do you verify it
  • Integration points — where phases connect and how to test those connections

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).

Phase 3: Compare Strategies

After ALL agents return, produce a unified analysis:

1. Strategy Comparison Table

| 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 | ... | ... | ... | ... |

2. Convergence Points

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.

3. Key Trade-offs

Where did strategies disagree? For each disagreement, articulate the specific trade-off:

  • Strategy X puts {component} first because {reason}
  • Strategy Y defers {component} because {reason}
  • The trade-off is: {what you gain vs. what you risk}

4. Recommended Build Plan

Synthesize a recommended plan that combines the best insights from all strategies. For each sequencing choice, state:

  • What is built in this phase
  • Which strategy or strategies informed this choice
  • Why this ordering was selected over alternatives

Save the full analysis to the working directory as scaffold_{slugified_topic}.md.

Phase 4: Present

Present the recommended build plan and the comparison analysis. Then ask the user:

  • Does this build order match your team capacity and timeline?
  • Are there constraints I should factor in (team availability, hard deadlines, existing work in progress)?
  • Ready to seed beads and start implementing?

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.

Phase 5: Seed Beads

If the user confirms the plan and bd is available (test with bd status), convert the recommended build plan into a Beads task hierarchy:

  1. Create the epic:

``bash bd create "" -t epic -p 1 -d "" ``

  1. Create a task bead for each phase in the recommended plan, as children of the epic:

``bash bd create "" --parent -p -d "" ``

  1. Wire up dependencies between phases where ordering matters:

``bash bd dep add ``

  1. Show the resulting graph:

``bash bd graph ``

  1. Show ready work:

``bash 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.

Rules

  • Independence is critical: agents must NOT share context. Do not include other agents' plans in any agent's prompt.
  • All agents launch in a single parallel batch: use one message with N Agent tool calls.
  • No code: this is a planning skill, not an implementation skill. No files are created except the output markdown.
  • Concrete milestones: every phase must have a verifiable "done" state. "Set up the database" is not done until you say how to verify it.
  • Acknowledge uncertainty: if effort estimates are uncertain, say so with ranges. Never present a guess as a fact.
  • No filtering: include all agent plans in the comparison, even if one strategy seems obviously weaker. The contrast is valuable.
  • Attribute insights: when the recommended plan borrows from a strategy, name it.
  • The plan is not the territory: remind the user that plans change; the value is in having thought through trade-offs.

Pipeline Position

This skill sits after design selection and before focused implementation:

/diverge-prototype or architecture decision -> /scaffold (plan + seed beads) -> /focus (work through beads)

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.