sdd

sdd is a skill for Claude Code, Codex from liatrio-labs/spec-driven-workflow. It costs 50 tokens per session (1,345 once invoked), scanned A, original, Apache-2.0.

A workflow for developing software from written specifications, with one defined phase handled at a time. Spec-Driven Development means agreeing on what to build before implementing it.

In plain words
What is it for?
Use it when the user explicitly asks to run the Liatrio Spec-Driven Development workflow in a repository.
Why use it?
It helps keep work tied to a clear specification and makes the current development phase explicit before files are changed.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/liatrio-labs/spec-driven-workflow/skill
Any agent
npx skills add liatrio-labs/spec-driven-workflow --skill skill
Clone the repo
git clone --depth 1 https://github.com/liatrio-labs/spec-driven-workflow

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 sdd

README.md
[![agentmods](https://agentmods.dev/badge/skills/liatrio-labs/spec-driven-workflow/skill.svg)](https://agentmods.dev/skills/liatrio-labs/spec-driven-workflow/skill)
Your own site
<a href="https://agentmods.dev/skills/liatrio-labs/spec-driven-workflow/skill"><img src="https://agentmods.dev/badge/skills/liatrio-labs/spec-driven-workflow/skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,345 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00050 $0.01345
Opus 5 $0.00025 $0.00673
Sonnet 5 $0.00010 $0.00269
Haiku 4.5 $0.00005 $0.00135

Measured 4d ago against content hash eb99d52b096a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sdd 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/assess-sdd-state.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.

skill/SKILL.md · 105 lines

How it starts

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

Spec-Driven Workflow Orchestrator

You are the orchestrator for the Spec-Driven Development (SDD) workflow. Determine the current lifecycle phase from the workspace, then load and follow the single matching phase reference.

Skill Contract

This skill manages one SDD phase per invocation unless the loaded phase explicitly requires a smaller checkpoint. It must:

  1. Assess workspace state before routing.
  2. Select exactly one active spec and one phase reference.
  3. Load only that phase reference.
  4. Execute the phase instructions or stop at a required approval gate.
  5. Tell the user the selected spec, detected state, current phase, chosen phase reference path, created or updated artifacts, and next recommended natural-language request.

If multiple active specs exist and the user request does not clearly identify one, ask the user which spec to continue before modifying files. If the selection is unambiguous, state why that spec was selected.

State Assessment

Before routing, run the bundled assessor script while the current working directory is the target repository/workspace root:

python3 {{skill_dir}}/scripts/assess-sdd-state.py .

{{skill_dir}} locates bundled skill assets only; SDD artifacts are assessed from the workspace path argument (. in the command above). The script outputs JSON describing active specs and a recommended phase. Use that output as the default source of truth for routing.

Use manual inspection only if the script cannot run. When falling back manually, state that fallback explicitly, inspect ./docs/specs/, and apply the same phase rules below.

Phase Rules

  • Phase 1 — Spec Generation

    • Condition: The user requested a new feature, but no matching [NN]-spec-[feature-name]/ directory exists, or the spec directory exists but the spec document is incomplete or missing.
    • Action: Gather context and write the formal specification.
  • Phase 2 — Task List Generation and Audit

    • Condition: [NN]-spec-[feature-name].md exists and is complete, but [NN]-tasks-[feature-name].md is missing, or the mandatory [NN]-audit-[feature-name].md planning audit has not been generated and passed.
    • Action: Translate the spec into parent/sub-tasks, define Proof Artifacts, and run the mandatory planning audit gate.

Read the full file on GitHub · 105 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. 4d ago First seen · 105 lines · 50 tokens per session scan A eb99d52b096a

Subscribe to this mod's changes

sdd is a skill published in the GitHub repository liatrio-labs/spec-driven-workflow (92 stars, last pushed 23d ago), licensed Apache-2.0. It adds 50 tokens to every session and 1,345 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

michel-run-local-dev-stack

The canonical recipe for starting, checking, and stopping the Packmind local dev stack with Docker Compose — the single source of truth other skills and the Michel agent defer to. Covers bringing the full stack (PostgreSQL, Redis, NestJS API, React/Vite frontend on :4200, MCP server, nginx) up in the background, the…

PackmindHub/packmind · 275 tokens

michel-cli-demo-recorder

Produce proof-of-execution demos of the Packmind CLI (packmind-cli) as terminal-styled images (colors and formatting preserved exactly), for embedding in a GitHub PR. Renders a crisp master SVG and rasterizes it to a PNG — the PNG is what you embed, because GitHub does not render SVG in PR/issue bodies. Use this…

PackmindHub/packmind · 212 tokens

michel-create-packmind-dataset

Seed a local Packmind instance with a realistic dataset — one organization populated with standards, commands, and skills — so an autonomous agent can exercise its own changes against lifelike data instead of an empty app. Use this whenever you need populated Packmind data to verify a change end-to-end: reproducing a…

PackmindHub/packmind · 269 tokens

working-with-playground-app

This skill provides guidance for building UI/UX prototypes in the Packmind playground app. It should be used when creating a new prototype, iterating on an existing prototype, or working with files in apps/playground/. Triggers on mentions of "playground", "prototype", or direct work within the apps/playground/…

PackmindHub/packmind · 72 tokens

hexagonal-architecture

Describes the hexagonal architecture (ports and adapters) used across the Packmind monorepo. This skill should be used when creating new domain packages, use cases, services, repositories, or any architectural component to follow established patterns.

PackmindHub/packmind · 52 tokens

dsh-plugin-publisher

Publish a validated DSH plugin package (@deepseek-ai/dsh- or @lovstudio/dsh-) to npm, git, or tarball channels and verify it loads in the DeepSeek Harness. Use when the user asks to publish, release, or ship a plugin. 触发:发布插件 / 上架插件 / release dsh 插件。.

lovstudio/skills · 82 tokens