legion:spec-pipeline

Coordinate a five-stage spec pipeline to produce structured, implementable documents.

72|8|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/9thLevelSoftware/legion --skill legion-spec-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: legion:spec-pipeline
Source: https://github.com/9thLevelSoftware/legion/tree/main/skills/spec-pipeline
Command: npx skills add https://github.com/9thLevelSoftware/legion --skill legion-spec-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Spec Pipeline automates turning high-level ROADMAP and REQUIREMENTS into structured, implementable specs, ensuring consistency and traceability across planning workflows.

Core Features & Use Cases

  • Orchestrates a 5-stage spec workflow: gather requirements, domain research, write spec, critique, and complexity assessment.
  • Produces .planning/specs/{NN}-{phase-slug}-spec.md and integrates with /legion:plan and /legion:build workflows.
  • Validates deliverables against directory mappings, surfaces open questions, and enables controlled revisions.

Quick Start

Run the spec pipeline for the target phase to generate, critique, and finalize the phase spec.

Frequently Asked Questions about legion:spec-pipeline

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

FAQPage Schema
How do I automate spec creation from high-level requirements?

Automating spec creation involves running a coordinated pipeline that gathers requirements, researches the domain, writes the spec, critiques it, and assesses complexity to produce structured, implementable documents.

What does a spec pipeline do for development planning?

A spec pipeline turns high-level ROADMAP and REQUIREMENTS inputs into structured specs, ensuring consistency and traceability across planning workflows. It validates deliverables against directory mappings and feeds plan and build workflows.

How do I generate and critique phase specs for implementation?

To generate and critique phase specs, you run a pipeline that writes the spec, critiques it, and assesses complexity. It produces a phase-slug spec markdown file and integrates with plan-critique lifecycles to guide phased development.

Can I use automated spec workflows to assess project complexity?

Yes, automated spec workflows include a complexity assessment stage. After gathering requirements and writing the spec, the pipeline evaluates complexity to feed directly into downstream plan and build workflows.

Does the spec pipeline validate deliverables against directory mappings?

Yes, the spec pipeline validates deliverables against directory mappings. During the spec creation workflow, it surfaces open questions and ensures structured documents align with defined directory structures.