spec-driven-workflow

spec-driven-workflow is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 37 tokens per session (3,540 once invoked), scanned A, original, Apache-2.0.

A spec-first development workflow: write a clear description of what a feature must and must not do before writing code. It also connects the description to acceptance checks and tests; TDD means writing tests as part of guiding development.

In plain words
What is it for?
Use it to define features, write acceptance criteria, plan work before coding, and create tests from those requirements.
Why use it?
It reduces misunderstandings and rework by making requirements explicit before implementation begins. The agreed description becomes the reference for deciding when the work is complete.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to define features, write acceptance criteria, plan work before coding, and create tests from those requirements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/spec-driven-workflow
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Morningstar202604/awesome-skillkit --skill spec-driven-workflow
Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spec-driven-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/spec-driven-workflow.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/spec-driven-workflow)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/spec-driven-workflow"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/spec-driven-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,540 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.03540
Opus 5 $0.00018 $0.01770
Sonnet 5 $0.00007 $0.00708
Haiku 4.5 $0.00004 $0.00354

Measured 7d ago against content hash e6ad35b6fdf6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

spec-driven-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/spec_generator.py, scripts/test_extractor.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/programming/cicd/spec-driven-workflow/SKILL.md · 339 lines

How it starts

The opening of the file, as written. The whole thing — 339 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

  1. Eliminates rework. 60-80% of defects originate from requirements, not implementation. Catching ambiguity in a spec costs minutes; catching it in production costs days.
  2. Forces clarity. If you cannot write what the system should do in plain language, you do not understand the problem well enough to write code.
  3. Enables parallelism. Once a spec is approved, frontend, backend, QA, and documentation can all start simultaneously.
  4. Creates accountability. The spec is the definition of done. No arguments about whether a feature is "complete" — either it satisfies the acceptance criteria or it does not.
  5. Feeds TDD directly. Acceptance criteria in Given/When/Then format translate 1:1 into test cases. The spec IS the test plan.

The Iron Law

NO CODE WITHOUT AN APPROVED SPEC.
NO EXCEPTIONS. NO "QUICK PROTOTYPES." NO "I'LL DOCUMENT IT LATER."

If the spec is not written, reviewed, and approved, implementation does not begin. Period.


The Spec Format

Every spec follows this structure. No sections are optional — if a section does not apply, write "N/A — [reason]" so reviewers know it was considered, not forgotten.

Mandatory Sections

# Section Key Rules
1 Title and Metadata Author, date, status (Draft/In Review/Approved/Superseded), reviewers
2 Context Why this feature exists. 2-4 paragraphs with evidence (metrics, tickets).
3 Functional Requirements RFC 2119 keywords (MUST/SHOULD/MAY). Numbered FR-N. Each is atomic and testable.
4 Non-Functional Requirements Performance, security, accessibility, scalability, reliability — all with measurable thresholds.
5 Acceptance Criteria Given/When/Then format. Every AC references at least one FR-* or NFR-*.
6 Edge Cases Numbered EC-N. Cover failure modes for every external dependency.
7 API Contracts TypeScript-style interfaces. Cover success and error responses.
8 Data Models Table format with field, type, constraints. Every entity from requirements must have a model.
9 Out of Scope Explicit exclusions with reasons. Prevents scope creep during implementation.

Read the full file on GitHub · 339 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 339 lines · 37 tokens per session scan A e6ad35b6fdf6

Subscribe to this mod's changes

spec-driven-workflow is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (1 stars, last pushed 2d ago), licensed Apache-2.0. It adds 37 tokens to every session and 3,540 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

agentic-webdesign-html-anything

Install and use html-anything — the agentic HTML editor where your local AI agent writes HTML and you ship it. 75 skills × 9 surfaces, BYOK, zero API key. Use when building magazine articles, keynote decks, resumes, posters, social cards, web prototypes, data reports, or Hyperframes videos with AI coding agents.

S3YED/appie-kit · 78 tokens

blog-post

Full-stack blog post production — turns a topic, idea, or brief into a complete publishing package across written, social, and multimedia surfaces. Generates broomva.tech .mdx posts (or Substack/other long-form), X posts and threads, LinkedIn posts, Instagram posts and reel scripts, plus multimedia asset plans…

broomva/skills · 182 tokens

content-creation

Full-stack content creation pipeline: idea or reference to published blog post, audio narration, video, and social media distribution. Orchestrates research, reference extraction, storytelling, AI visual assets (Nano Banana, Veo 3.1), TTS audio (Voicebox, kokoro-tts, Edge TTS), Remotion video, and social copy into a…

broomva/skills · 239 tokens

citable

Make authored content survive the two selection surfaces it now faces: human engagement and LLM retrieval for citation. These partially anti-correlate, and the tactics that raise reactions are in two measured cases the ones that suppress citation. Encodes effect sizes from published causal studies (Scrunch, 12,000…

broomva/skills · 304 tokens

revenuecast

/revenuecast is the verb that turns what you can do into a machine that makes the world want it. You have a real capability — a craft, an expertise, a running system. revenuecast builds the loop where the capability's output becomes its own advertisement, and the demand that output creates is monetized by selling the…

broomva/skills · 389 tokens

claude-md-improver

Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project…

anthropics/claude-plugins-official · 82 tokens