sdd-spec

sdd-spec is a skill for Claude Code, Codex from felipefontoura/pi-sdd-kit. It costs 70 tokens per session (1,075 once invoked), scanned A, original, MIT.

A technical-design workflow that turns approved requirements into a `design.md` specification. It explains how the feature will be built, including architecture, components, data, APIs, flows, edge cases, decisions, risks, and implementation questions.

In plain words
What is it for?
Use it to define the technical approach for a feature in `.ai/sdd/specs/NNN-feature-name/`. It is for deciding how approved requirements should work in code and systems.
Why use it?
It gives implementers enough technical detail to proceed without guessing while keeping the requirements separate from implementation choices. It also checks that the requirements have been approved before design starts.

Skill for Claude CodeCodex

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

Good fit Use it to define the technical approach for a feature in .ai/sdd/specs/NNN-feature-name/. It is for deciding how approved requirements should work in code and systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/felipefontoura/pi-sdd-kit/sdd-spec
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 felipefontoura/pi-sdd-kit --skill sdd-spec
Clone the repo
git clone --depth 1 https://github.com/felipefontoura/pi-sdd-kit

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-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/felipefontoura/pi-sdd-kit/sdd-spec/github.svg)](https://agentmods.dev/skills/felipefontoura/pi-sdd-kit/sdd-spec)
Your own site
<a href="https://agentmods.dev/skills/felipefontoura/pi-sdd-kit/sdd-spec"><img src="https://agentmods.dev/badge/skills/felipefontoura/pi-sdd-kit/sdd-spec/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sdd-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/felipefontoura/pi-sdd-kit/sdd-spec"><img src="https://agentmods.dev/badge/skills/felipefontoura/pi-sdd-kit/sdd-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,075 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.00070 $0.01075
Opus 5 $0.00035 $0.00537
Sonnet 5 $0.00014 $0.00215
Haiku 4.5 $0.00007 $0.00108

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

Security

Grade A, and why

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

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/sdd-spec/SKILL.md · 88 lines

How it starts

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

SDD Spec / Design

Translate approved requirements into a practical technical design.

Purpose

Design defines how the approved requirements will be implemented. It should be detailed enough for an implementer to work without guessing, but lightweight enough for small and medium projects.

Workflow

  1. Load the SDD reference.

    • Read ../_shared/references/sdd-practical.md.
    • Apply the Language Policy: respond and write artifacts in the user's initial chat language while keeping skill instructions and templates in EN-US.
    • Read ../_shared/references/templates.md when drafting the artifact.
    • Use package-level templates/design.md as the user-facing template when available.
    • Load relevant .ai/steering/*.md files when present, especially product.md, tech-stack.md, conventions.md, and principles.md.
  2. Locate the feature and validate the gate.

    • Use .ai/sdd/specs/NNN-feature-name/.
    • Read .status.
    • Validate .status against the official status values from sdd-practical.md.
    • If .status is missing or invalid, stop and ask the user to repair it; do not infer approval from requirements.md existing.
    • Block if status is not requirements:approved, unless the user explicitly asks for a non-binding draft spike.
    • If blocked, report the current status and recommend /skill:sdd-prd approval as the next safe action.
    • Read requirements.md completely.
  3. Explore project context.

    • Inspect existing code, conventions, routing, components, services, tests, and build tooling relevant to the feature.
    • Prefer existing patterns over new abstractions.
    • Identify likely files and integration points, but do not generate tasks yet.
  4. Clarify technical choices.

    • Ask one question at a time when decisions require user input.
    • Present 2-3 approaches for meaningful trade-offs.
    • Cover component/module boundaries, state/data ownership, API/integration boundaries, testing approach, and operational risks where relevant.

Read the full file on GitHub · 88 lines

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. 9d ago First seen · 88 lines · 70 tokens per session scan A 8f237c1283f4

Subscribe to this mod's changes

sdd-spec is a skill published in the GitHub repository felipefontoura/pi-sdd-kit (22 stars, last pushed 2mo ago), licensed MIT. It adds 70 tokens to every session and 1,075 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

surf

Control Chrome browser via CLI for testing, automation, and debugging. Use when the user needs browser automation, screenshots, form filling, page inspection, network/CPU emulation, DevTools streaming, or AI queries via ChatGPT/Gemini/Perplexity/Grok/AI Studio.

w-winter/dot314 · 60 tokens

prose-review

Review prose written for others (e.g., user-facing documentation, prompts for other LLMs, reports, plans, inline comments, docstrings) for local jargon leakage, orphaned references, missing grounding, and audience or genre mismatch. Always run on prose you produce or materially edit, except for routine conversational…

w-winter/dot314 · 84 tokens

text-search

Search indexed text corpora with qmd. For indexed content, prefer qmd over grep.

w-winter/dot314 · 22 tokens

repoprompt-tool-guidance-refresh

Refresh RepoPrompt tool guidance when the CLI/MCP surface changes. Tracks RepoPrompt CE (rpce-cli, the maintained target) across versions, and can diff the frozen Classic CLI (rp-cli) against CE. Uses /.pi/agent/skills/repoprompt-tool-guidance-refresh/scripts/track-rp-version.sh to capture/diff --help and -l (tool…

w-winter/dot314 · 115 tokens

xcodebuildmcp

Build/test Xcode projects via the XcodeBuildMCP MCP server using a local CLI wrapper for pi (no MCP support). Use when the user mentions Xcode, xcodebuild, iOS builds/tests, or XcodeBuildMCP.

w-winter/dot314 · 56 tokens

open-pencil

Work with Figma .fig design files and the running OpenPencil editor — inspect structure, query nodes, analyze design tokens, export PNG/SVG/PDF/JSX, and modify designs programmatically. Use when asked to open, inspect, export, analyze, or edit .fig files, or to control the running OpenPencil app.

open-pencil/skills · 73 tokens