squadai: Skill for Claude Code

.claude/skills/sdd/sdd-spec/SKILL.md

sdd-spec is a skill for Claude Code from PedroMosquera/squadai. It costs 13 tokens per session (630 once invoked), scanned A, original, MIT.

A specification-writing guide for spec-driven development, where the written document directs the design and coding work.

In plain words
What is it for?
Use it to document requirements, acceptance tests, public interfaces, error handling, side effects, and data formats before coding.
Why use it?
It turns an unclear request into a shared description of the problem, expected behavior, interfaces, data, and tests. This reduces disagreement between developers implementing the same change.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is PedroMosquera/squadai's own configuration. It tells Claude Code how to work on squadai itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything squadai configures →

Reuse

Borrowing it

Nothing to install: this file belongs to PedroMosquera/squadai. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/PedroMosquera/squadai/main/.claude/skills/sdd/sdd-spec/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/PedroMosquera/squadai

Made for: Claude Code.

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/pedromosquera/squadai/sdd-spec/github.svg)](https://agentmods.dev/skills/pedromosquera/squadai/sdd-spec)
Your own site
<a href="https://agentmods.dev/skills/pedromosquera/squadai/sdd-spec"><img src="https://agentmods.dev/badge/skills/pedromosquera/squadai/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/pedromosquera/squadai/sdd-spec"><img src="https://agentmods.dev/badge/skills/pedromosquera/squadai/sdd-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 630 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.00013 $0.00630
Opus 5 $0.00006 $0.00315
Sonnet 5 $0.00003 $0.00126
Haiku 4.5 $0.00001 $0.00063

Measured 9d ago against content hash d217d6d050b2, 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.

.claude/skills/sdd/sdd-spec/SKILL.md · 87 lines

What it actually says

SDD Spec Skill

Write a formal specification document that the Designer and Implementer will use as their source of truth. The spec must be complete enough that two different developers could implement the same behavior independently.

Steps

  1. State the problem: Define what problem is being solved.

    • What user need or system requirement motivates this change?
    • What is currently broken or missing?
    • What is out of scope (explicit exclusions)?
  2. Define success criteria: List measurable acceptance tests.

    • Each criterion must be testable (observable and verifiable)
    • Use "Given/When/Then" or precondition/action/postcondition format
    • Cover both functional and non-functional criteria
  3. Specify the interface contract: Define the public surface precisely.

    • Function/method signatures with parameter and return types
    • Error types and when they are returned
    • Side effects (files created, state changed, events emitted)
    • Invariants that must hold before and after each operation
  4. Specify data structures: Define all types involved.

    • Fields, types, and optionality
    • Validation rules (allowed values, format constraints)
    • Serialization format (JSON schema, protobuf, etc.)
  5. Specify behavior for edge cases: Cover boundary conditions explicitly.

    • What happens with empty input?
    • What happens with maximum-size input?
    • What happens if a dependency is unavailable?
    • What partial failure behavior is acceptable?
  6. Specify non-functional requirements: Add constraints beyond behavior.

    • Performance: maximum latency, throughput, memory usage
    • Security: authentication, authorization, input sanitization
    • Reliability: retry behavior, timeout, fallback

Output Format

## Specification: <feature name>

### Problem Statement
<1-3 sentences describing what problem this solves>

### Scope
**In scope**: <what this spec covers>
**Out of scope**: <explicit exclusions>

### Success Criteria
1. Given <precondition>, when <action>, then <expected outcome>
2. ...

### Interface Contract

#### <FunctionName>(params) (returnType, error)
- **Purpose**: <what it does>
- **Parameters**: <name type — description>
- **Returns**: <description of return value>
- **Errors**: <error type — when it is returned>
- **Side effects**: <what changes as a result>
- **Invariants**: <what must be true before/after>

### Data Structures

#### <TypeName>
| Field | Type | Required | Description |
|-------|------|----------|-------------|

### Edge Case Behavior
| Condition | Expected Behavior |
|-----------|------------------|

### Non-Functional Requirements
- **Performance**: <requirement>
- **Security**: <requirement>
- **Reliability**: <requirement>
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 · 87 lines · 13 tokens per session scan A d217d6d050b2

Subscribe to this mod's changes

sdd-spec is a skill published in the GitHub repository PedroMosquera/squadai (8 stars, last pushed 1mo ago), licensed MIT. It adds 13 tokens to every session and 630 once invoked, about $0.0001 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

harness-engineering

Use when the user asks to improve, fix, or build their repository's AI harness — AGENTS.md, rules, skills, commands, hooks, guardrails, CI sensors — or to act on harness-score audit findings and raise their maturity level.

paladini/harness-score · 55 tokens

reap

Report how much of the context this agent loads is never used - unused skills, MCP servers, subagents, hooks and always-loaded prose - measured from real session transcripts. Use when asked why the context window is full, what is wasting tokens, or what is safe to remove.

thousandflowers/skillreaper · 56 tokens

gap

Measure the loaded-versus-fired gap - what fraction of each category of loaded context is ever actually invoked, and which MCP tools return mostly noise. Use when asked how much of the context is earning its place, or which categories are worst.

thousandflowers/skillreaper · 48 tokens

replay

Find, analyze, and share AI coding sessions with vibe-replay. Use when the user asks for a replay, wants to find a past session, run a session retro, share Cursor/Claude/Codex session context, or attach session context to a PR.

tuo-lei/vibe-replay · 56 tokens

skill-doctor

Use the skill-doctor CLI or UI to inspect and manage AI-agent skills, rules, instructions, MCP resources, and context cost across supported platforms. Trigger when the user asks to scan or audit agent skills, find duplicates or trigger conflicts, investigate unsafe instructions, estimate context-token cost, compare…

evilstar2016/skill-doctor · 103 tokens

skill-doctor-context-optimizer

Interactively keep the skills, MCP servers/tools, and plugins relevant to the user's current task, preview project-local disables for the rest, apply only explicitly confirmed controls through skill-doctor, and report approximate context-token savings. Trigger when the user asks to slim, optimize, prune, or reduce the…

evilstar2016/skill-doctor · 79 tokens