spec-workflow

Orchestrates a plan-build-review-fix loop producing spec, design, tasks, and review artifacts.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/toderian/project_template --skill spec-workflow-toderian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-workflow
Source: https://github.com/toderian/project_template/tree/main/plugins/agents-core/skills/spec-workflow
Command: npx skills add https://github.com/toderian/project_template --skill spec-workflow-toderian

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Non-trivial engineering work often lacks a durable written plan, making it hard to coordinate parallel implementation, survive context resets, and verify the result against explicit success criteria. This Skill structures that work into a repeatable plan → build → review → fix loop with persistent artifacts. ## Core Features & Use Cases - Four durable artifacts: Generates spec.md, design.md, tasks.md, and an append-only review.md under specs/<slug>/ with canonical schemas. - Parallel subagent dispatch: Groups file-disjoint tasks and dispatches implementer and reviewer subagents via the subagent-protocol, on both Claude Code and Codex. - Bounded review loop: Runs up to 3 review cycles with fix iterations, then escalates to the user instead of looping indefinitely. - Use Case: Given a PRD issue for a cross-cutting feature, run the spec workflow to draft a spec, dispatch three parallel implementer groups, and collect a two-stage reviewer verdict before merging. ## Quick Start Ask the agent to spec out the feature described in GitHub issue 42 using the spec workflow and confirm the slug before any files are written.

Frequently Asked Questions about spec-workflow

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

FAQPage Schema
How do I run a spec-driven plan-build-review workflow for a feature?

Provide a PRD issue, local PRD file, existing plan, or rough intent, then confirm a kebab-case slug. The workflow drafts spec.md, design.md, and tasks.md, dispatches parallel implementer subagents per group, and appends reviewer iterations to review.md until PASS.

When should I use spec-workflow instead of the default planning loop?

Use it for non-obvious features where the plan itself is hard, work splitting into at least three parallelizable task groups, or cross-cutting changes needing a written spec and explicit reviewer pass. Skip it for single-file edits, trivial fixes, or exploratory spikes.

Does spec-workflow work on both Claude Code and Codex?

Yes, the playbook and artifacts are runtime-agnostic. Claude Code dispatches via the Task tool with implementer and reviewer subagent types; Codex uses its multi-agent tools, falling back to sequential orchestrator execution with the same briefs and status vocabulary.

What happens if the review keeps failing?

Each failed review appends a fix iteration to tasks.md and the loop returns to the build phase. After three review cycles the workflow escalates to the user instead of looping a fourth time, since repeated failure signals the work needs reframing.

Where does spec-workflow write its files?

All four artifacts live under specs/<slug>/ from the project root, where the slug is kebab-case and confirmed with the user first. The skill never writes outside that directory, and review.md is append-only across iterations.