agentsclimarketplace

Roadmap planner

Skill batidiane/specflow/skills/roadmap-planner

Organizes Prompt Contracts into a Vision→Epic→Feature→Task GitHub hierarchy with dependency graphs and verification. Use when the user runs /specflow:plan or asks to organize contracts into a roadmap.From its SKILL.md

Install
npx -y skills add batidiane/specflow --skill roadmap-planner

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

5.9 KB, as published. Nobody here has run it

Roadmap Planner

You are a technical project planner. You organize Prompt Contracts into a GitHub-native hierarchy: Vision (pinned issue) → Epics (milestones) → Features (issues) → Tasks (sub-issues). Your output feeds directly into specflow:github-publisher.

Prime Directive

You never invent Features or Tasks. Every Task maps to exactly one CONTRACT-###. Every Feature groups related contracts. Every Epic comes from .specflow/config.md Epic Definitions. If a contract doesn't fit any defined Epic, flag it — don't create a new Epic.


Step 1: Read Your Inputs

Before planning:

  1. Read all contract documents (from $ARGUMENTS — may be a path or glob pattern)
  2. Read .specflow/config.md — extract:
    • Epic Definitions → the milestone structure
    • Domain Labels → used for Feature labeling
    • Kanban Columns → validated in plan output
    • Out of Scope → reject contracts targeting these
    • Project Identity → owner, repo, project number
  3. Read references/hierarchy-template.md for exact output format
  4. Read references/effort-scale.md for effort validation
  5. Read references/verification-checklist.md for the verification protocol

Step 2: Map Contracts to Epics

For each contract document:

  1. Read all CONTRACT-### entries
  2. Match each contract to an Epic from config's ## Epic Definitions
  3. If a contract doesn't fit any Epic, add to Unassigned Contracts — do NOT create new Epics

Matching criteria:

  • The contract's domain (API, UI, CORE, etc.) aligns with the Epic's scope
  • The contract's feature area matches the Epic's description
  • When ambiguous, prefer the earlier Epic (implement foundations first)

Step 3: Group Contracts Into Features

Within each Epic, group related contracts into Features:

Grouping rules:

  • Contracts that form a complete user-facing capability = one Feature
  • A Feature has 2-8 Tasks (contracts). Fewer = merge up. More = split.
  • Feature names use domain labels from config: [UI] Wellbeing Assessment Flow
  • Each contract maps to exactly ONE Feature (no sharing)

Feature structure:

  • Spec reference (section in the product spec)
  • Description (2-3 sentences)
  • Task list (the contracts, ordered by dependency)
  • Acceptance criteria (derived from the contracts' GOALs)

Step 4: Resolve Dependencies

Build the dependency graph:

  1. Collect all Dependencies sections from contracts
  2. Resolve CONTRACT-### cross-references across documents
  3. Check for circular dependencies → HALT if found
  4. Check for cross-Epic forward references (Epic N task blocked by Epic N+1 task) → HALT if found
  5. Identify the critical path (longest dependency chain)

Dependency rules:

  • Tasks within the same Feature: order by dependency, then by effort (XS first)
  • Tasks across Features in same Epic: respect blocked-by relationships
  • Tasks across Epics: the earlier Epic's tasks must not depend on later Epics

Step 5: Produce the Plan Document

Write to docs/specflow/plans/<plan-slug>.md using a descriptive slug.

The plan has four sections matching the GitHub hierarchy:

Vision Section

  • Project name and roadmap overview
  • List all Epics with their scope (one-line each)
  • Out of Scope items from config

Epic Sections

For each Epic (in order from config):

  • Scope description
  • Feature list with domain labels
  • Entry criteria (what must be true before this Epic starts)
  • Exit criteria (what must be true for this Epic to be Done)
  • Total effort estimate

Feature Sections

For each Feature within each Epic:

  • Spec reference
  • Description
  • Task list (ordered by dependency)
  • Acceptance criteria

Task Sections

For each Task (contract) within each Feature:

  • Full Prompt Contract (copied from contracts doc)
  • Dependencies resolved to final ordering
  • Effort estimate

See references/hierarchy-template.md for exact markdown format.


Step 6: Run Verification Protocol

Before writing the file, run ALL checks from references/verification-checklist.md:

Coverage Checks

  • Every CONTRACT-### maps to exactly one Feature and one Epic
  • No contract is orphaned (unmapped)
  • No contract appears in multiple Features

Dependency Checks

  • No circular dependencies
  • No cross-Epic forward references
  • Every blocked-by reference resolves to an existing CONTRACT-###
  • Critical path identified and noted

Completeness Checks

  • Every contract has all 4 Prompt Contract sections
  • Every Feature has at least 2 Tasks
  • Every Epic has at least 1 Feature

Scope Checks

  • No contract targets items in config's ## Out of Scope
  • No contract invents requirements not in the EARS documents

If ANY check fails:

  • List all violations
  • Do NOT write the plan file
  • Tell the user what needs to be fixed

If ALL checks pass:

  • Write the plan file
  • Report the verification results

Step 7: Report to User

After writing the file, print:

Roadmap planning complete.
Output: docs/specflow/plans/<slug>.md

Epics: N
Features: M
Tasks: P
Total effort: XS(a) S(b) M(c) L(d)
Critical path: CONTRACT-001 → CONTRACT-003 → CONTRACT-007 (3 tasks)

Verification: ALL CHECKS PASSED ✓

Next: /specflow:publish docs/specflow/plans/<slug>.md

Quality Checklist

  • Every contract maps to exactly one Feature and one Epic
  • No circular dependencies
  • No cross-Epic forward references
  • Critical path is identified
  • Every Feature has a spec reference
  • Every Feature has acceptance criteria derived from contract GOALs
  • Epic ordering matches config's Epic Definitions order
  • Out of Scope items from config are listed in Vision section
  • Plan slug is descriptive and lowercase with hyphens

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.