Swarm manager initialize backlog

From Vrooli/Vrooli · View interactive version

Swarm manager initialize backlog is an AI agent skill from the GitHub repository Vrooli/Vrooli. Bootstrap a new backlog item with a solid foundation in one agent pass: an implementation plan scaffold and a first workshop round with targeted decisions and informational items.

How to use this skill

Skill file

Initialize: Bootstrap Backlog Item

Purpose

Bootstrap a new backlog item with a solid foundation in one agent pass: an implementation plan scaffold and a first workshop round with targeted decisions and informational items.

Input Context

Required reading: prompt-manager skill read swarm-manager-backlog-tools — folder structure, artifact schemas, and CLI commands for reading/writing backlog files.

Required reading: prompt-manager skill read implementation-plan-authoring — canonical plan structure, mandatory sections, convergence patterns, quality gates, and guardrails for plan.md.

Required reading: prompt-manager skill read swarm-manager-processing-guidance — processing patterns and quality standards.

Scope

In scope:

Out of scope:

Output Requirements

All writes via CLI using --stdin with a heredoc (avoids shell quoting issues):

swarm-manager backlog file-upload --kind {{ITEM_KIND}} --name {{ITEM_NAME}} --path <path> --stdin <<'EOF'
<content>
EOF

All Kinds

  1. plan.md — implementation plan following the structure defined by the implementation-plan-authoring skill (loaded via required reading above). Fill in as much as possible from existing context (spec.json, archive materials). Leave sections as <!-- TBD --> when information is insufficient.
  2. workshop/round-001.json — first workshop round with:

Implementation Plan Scaffold

The plan.md structure, mandatory sections, convergence patterns, quality gates, and guardrails are defined by the implementation-plan-authoring skill (loaded via required reading above). Follow that skill exactly when creating the initial scaffold.

Kind-Specific Plan Focus

While the section structure is universal, emphasize different areas depending on the backlog kind:

| Kind | Plan emphasis |

|------|--------------|

| idea | Vision, scope, architecture outline, key decisions, user value |

| fix | Problem statement, reproduction steps, root cause analysis, proposed fix, verification plan |

| research | Research question, methodology, data sources, expected deliverables, scope boundaries |

| execute | Task decomposition, prerequisites, implementation steps, verification criteria |

| chore | Scope boundaries, approach, completion checklist, acceptance criteria |

Workshop Round Schema

See swarm-manager-workshop skill for the full schema. The round file includes:

Readiness Dimensions

| Dimension | What It Measures |

|-----------|-----------------|

| problem_clarity | Is the problem/goal well understood? |

| scope_defined | Are boundaries and acceptance criteria defined? |

| approach_solid | Is there a clear implementation strategy? |

| testable | Do we know how to verify success? |

| risk_awareness | Are blockers and unknowns identified? |

Score each 0 (not started) to 3 (solid). First rounds typically score 0-2 depending on how much context exists.

Instructions

You are initializing a Swarm Manager backlog item. Your goal is to bootstrap it from an empty shell into a well-structured item with a draft plan and first workshop round ready for human review.

Context from spec.json:

Processing Steps

  1. Read all available context

```bash

swarm-manager backlog get --kind {{ITEM_KIND}} --name {{ITEM_NAME}}

swarm-manager backlog files --kind {{ITEM_KIND}} --name {{ITEM_NAME}}

```

Then read each available artifact:

```bash

swarm-manager initiatives get --name {{ITEM_INITIATIVE}}

swarm-manager initiatives files --name {{ITEM_INITIATIVE}}

```

Read any files present (orchestration summaries, decision logs, strategy docs). Use initiative context to align decisions with the broader initiative goals and understand how this item relates to sibling items.

  1. Check acceptance fields

Read acceptance_allow and acceptance_deny from spec.json:

  1. Create plan.md scaffold

Based on available context, fill in as many plan sections as possible. The description and archive materials should provide enough for at least Purpose, Problem Statement, and partial Scope.

```bash

swarm-manager backlog file-upload --kind {{ITEM_KIND}} --name {{ITEM_NAME}} --path plan.md --stdin <<'EOF'

<plan content>

EOF

```

  1. Generate workshop round 1

Identify the 4-7 most important unknowns and present them as decisions with researched alternatives:

```bash

swarm-manager backlog file-upload --kind {{ITEM_KIND}} --name {{ITEM_NAME}} --path workshop/round-001.json --stdin <<'EOF'

<round JSON>

EOF

```

  1. Score readiness

Evaluate each dimension honestly based on the plan scaffold you just created. First rounds typically range from 0-2 depending on context richness.

  1. Verify all outputs

```bash

swarm-manager backlog files --kind {{ITEM_KIND}} --name {{ITEM_NAME}}

```

Confirm plan.md and workshop/round-001.json were created.

Re-run Handling

Do any workshop artifacts already exist?
  -> No  -> Generate everything fresh
  -> Yes -> Read existing plan.md and workshop rounds
          Preserve all existing answers and decisions
          Only fill gaps (missing plan sections, unanswered questions)
          If plan.md exists but no rounds: create round-001.json
          If rounds exist: create the next numbered round

Anti-Patterns

Troubleshooting

| Problem | Solution |

|---------|----------|

| file-get returns 404 | Normal on first run — generate fresh content |

| file-upload fails | Check kind and name match: swarm-manager backlog get --kind <kind> --name <name> |

| Archive already contains detailed plan | Use it as context for plan.md, generate fewer questions |

| Item has rich description | Pre-answer questions where possible, focus questions on gaps |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.