factory-plan

Decompose software specifications into epics, user stories, and tasks.

10|5|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/SylvainChabaud/spec-to-code-factory --skill factory-plan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: factory-plan
Source: https://github.com/SylvainChabaud/spec-to-code-factory/tree/main/.claude/skills/factory-plan
Command: npx skills add https://github.com/SylvainChabaud/spec-to-code-factory --skill factory-plan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Factory Plan phase orchestrates the conversion of specifications into structured planning artifacts—epics, user stories, and tasks—to enable disciplined execution across gates.

Core Features & Use Cases

  • Generates planning artifacts from ADRs and specs: epics.md, US-.md, and TASK-.md, ready for grooming and sprint planning.
  • Automates gate workflows (Gate 2 entry validation and Gate 3 remediation) using templates and version delta awareness.
  • Guides delegation to a scrum-master agent and enforces a mandatory setup-task (project bootstrap) with strict DoD criteria.

Quick Start

Run the planning workflow to decompose current specs into epics, US, and tasks.

Frequently Asked Questions about factory-plan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decompose software specifications into epics, user stories, and tasks?

Yes, this planning workflow handles both greenfield and brownfield projects. It generates planning artifacts from version deltas and existing specifications, applying gate checks and ADR awareness to manage dependencies and bootstrap setup tasks for brownfield environments.

What is the best way to automate agile gate checks during sprint planning?

The best way to automate agile gate checks is by using templates and version delta awareness to validate Gate 2 entry and guide Gate 3 remediation. This ensures planning artifacts meet strict DoD criteria before delegation to a scrum-master agent for execution.

Do I need a mandatory setup-task for project bootstrap before generating user stories?

Yes, a mandatory setup-task for project bootstrap is enforced before generating user stories. This ensures strict Definition of Done criteria are met and auto-remediation prompts are activated, maintaining task independence and disciplined execution across planning gates.

Why does task independence matter when decomposing specs into planning artifacts?

Task independence matters when decomposing specs into planning artifacts because it enables disciplined agile execution across gates. By enforcing strict DoD criteria and auto-remediation prompts, the workflow ensures each generated TASK-*.md file can be executed without blocking dependencies.