Skip to content
alirezarezvani avatar

Spec Driven Workflow

Spec-first development workflow that requires an approved specification before any code is written.

CCM score
64 of 100
skills.sh installs
621
GitHub stars
30.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the six-phase flow: requirements gathering, spec writing, validation, implementation, test extraction, and sign-off
  • Includes a mandatory nine-section spec template with RFC 2119 keywords, Given/When/Then acceptance criteria, and API and data model definitions
  • Enforces bounded autonomy rules that stop work on scope creep, breaking changes, security impact, or ambiguity above 30 percent
  • Runs spec_validator.py with a --strict mode that must score 80 or higher before implementation begins

Install

$ npx -y skills add alirezarezvani/claude-skills --skill spec-driven-workflow -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Spec-Driven Workflow — POWERFUL

Overview

Spec-driven workflow enforces a single, non-negotiable rule: write the specification BEFORE you write any code. Not alongside. Not after. Before.

This is not documentation. This is a contract. A spec defines what the system MUST do, what it SHOULD do, and what it explicitly WILL NOT do. Every line of code you write traces back to a requirement in the spec. Every test traces back to an acceptance criterion. If it is not in the spec, it does not get built.

Why Spec-First Matters

Details

Repository
github.com/alirezarezvani/claude-skills
Categories
Agent Workflow & Planning, Technical Documentation
First seen
Jun 3, 2026

Questions

What does the spec-driven-workflow skill do?

spec-driven-workflow makes the agent write a specification before any code, following a fixed spec format with functional requirements, acceptance criteria in Given/When/Then form, edge cases and out-of-scope items. It also runs spec_validator.py to check the spec and test_extractor.py to pull tests from the acceptance criteria.

When should I use the spec-driven-workflow skill?

Use spec-driven-workflow when a feature should be specified before coding, such as when you want acceptance criteria written first, planning before implementation, or tests generated from a specification. The skill's description targets requests like writing specs before code and following spec-first development.

How do I install the spec-driven-workflow skill?

Run npx -y skills add alirezarezvani/claude-skills --skill spec-driven-workflow -y in your project to install spec-driven-workflow. Once installed, the agent can write the spec, validate it and extract tests from it.

Which skills lead the Agent Workflow & Planning category that spec-driven-workflow belongs to?

spec-driven-workflow sits in the Agent Workflow & Planning category, where grill-me, grill-with-docs, setup-matt-pocock-skills, grilling and prototype are the other skills listed. Its own focus is writing and checking a formal spec before any implementation begins.

More from alirezarezvani/claude-skills

All 259

Similar to Spec Driven Workflow

More Agent Workflow & Planning