openspec-workflow

Implement a five-stage spec-driven development workflow with TDD.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/petrogurcak/skills --skill openspec-workflow-petrogurcak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-workflow
Source: https://github.com/petrogurcak/skills/tree/main/plugins/development/skills/openspec-workflow
Command: npx skills add https://github.com/petrogurcak/skills --skill openspec-workflow-petrogurcak

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines complex feature development by enforcing a structured, spec-driven workflow, ensuring alignment and clarity before implementation begins.

Core Features & Use Cases

  • Spec-Driven Workflow: Guides Claude Code through a 5-stage process (Proposal, Review, Implementation, Archive, Update).
  • Automated Structure Creation: Automatically generates necessary directories and files (proposal.md, tasks.md, spec.md).
  • TDD Integration: Mandates Test-Driven Development for all implementation tasks.
  • Use Case: When building a new user authentication system, this skill ensures all requirements, edge cases, and implementation steps are clearly defined and approved before any code is written.

Quick Start

Use the openspec workflow skill to plan and implement a new user authentication feature.

Frequently Asked Questions about openspec-workflow

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

FAQPage Schema
What is spec-driven development and how does it structure complex feature implementation?

Spec-driven development is a workflow that enforces structured alignment before coding by managing a five-stage process: proposal drafting, stakeholder review, TDD-based implementation, change archiving, and source specification updates. It ensures clear scope definition and team collaboration for multi-step tasks.

How do I manage stakeholder review and approval before starting TDD implementation?

You manage stakeholder review by drafting a proposal and automatically generating structured documentation files like proposal.md, tasks.md, and spec.md. This allows stakeholders to review requirements, edge cases, and implementation steps clearly before approving any coding work.

Can I use this spec-driven workflow for smaller development tasks?

This spec-driven workflow is designed for complex features requiring structured alignment before coding. Smaller development tasks may not need the full five-stage process involving proposal drafting, stakeholder review, and TDD-based implementation, as the overhead might outweigh the benefits.

What's the best way to document scope and requirements for a new authentication system?

The best way to document scope for a new authentication system is using a spec-driven workflow that automatically generates proposal.md, tasks.md, and spec.md files. This ensures all requirements, edge cases, and implementation steps are clearly defined and approved before coding begins.

Does this development workflow mandate Test-Driven Development for all tasks?

Yes, this development workflow mandates Test-Driven Development for all implementation tasks. TDD integration ensures that every coding step within the five-stage spec-driven process is backed by tests, maintaining quality throughout the feature development lifecycle.

How do I archive changes and update source specifications after implementing a feature?

You archive changes and update source specifications during the final stages of the spec-driven workflow. After TDD-based implementation is complete, the process guides you through archiving the changes and updating the source specifications to reflect the newly completed feature work.