Sdd Spec logo

Sdd Spec

Community
felipefontoura
sdd-spec

Core cognitive SDD skill for creating design.md technical specifications from approved requirements. Use when the conversation calls for HOW decisions: architecture, components, data/state, APIs, flows, edge cases, technical decisions, risks, and implementation FAQ, even without an explicit command. Do not use for requirements creation, task breakdown, or coding.

Overview

Publisherfelipefontoura
Repositorypi-sdd-kit
Skill namesdd-spec
Stars
37
Forks
2
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by felipefontoura on GitHub. Read the source before you install it.

Installation

Install the Sdd Spec AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/felipefontoura/pi-sdd-kit/tree/main/skills/sdd-spec
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/felipefontoura/pi-sdd-kit.git /tmp/pi-sdd-kit
mkdir -p .claude/skills
cp -r /tmp/pi-sdd-kit/skills/sdd-spec .claude/skills/sdd-spec
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sdd Spec in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sdd Spec on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sdd Spec is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.
  5. Draft design.

    • Use the Design Template from ../_shared/references/templates.md.
    • Scale detail to project size:
      • small frontend feature: component structure, data/state, user flows, edge cases, decisions, tests
      • medium project: include API, persistence, auth, concurrency, observability, migration, or deployment only when relevant
    • Include a Requirements Mapping table linking each Must Have requirement to design sections or decisions.
    • Include technical decisions with trade-offs and alternatives.
    • Include rich technical sections when relevant: data model, API/integration contract, security/permissions/privacy, accessibility, observability, migration/rollout, and verification strategy.
    • Include an Implementation FAQ for ambiguity-prone points.
    • Add or update decisions.md only when a decision should survive beyond this feature or has significant trade-offs.
  6. Review with the user.

    • Present the complete draft.
    • Ask for explicit approval or requested changes.
    • Revise until approved.
  7. Save draft and gate.

    • Save draft design to .ai/sdd/specs/NNN-feature-name/design.md with > Status: Draft when useful for collaboration.
    • Set .status to design:draft only after a binding design draft is created from requirements:approved.
    • For non-binding draft spikes, do not advance .status; clearly label the draft as non-binding.
    • Keep .status as design:draft until explicit approval.
    • After explicit approval, update the artifact status header to approved and set .status to design:approved.
    • Update .ai/sdd/INDEX.md with the current status when practical; if not updated, tell the user the index may be stale.

Output

  • .ai/sdd/specs/NNN-feature-name/design.md
  • Optional .ai/sdd/specs/NNN-feature-name/decisions.md
  • Updated .status

Quality Bar

  • Every Must Have requirement maps to a technical approach in the Requirements Mapping table.
  • Design must prefer existing project patterns.
  • Technical decisions must name trade-offs.
  • Edge cases from requirements must have expected behavior.
  • Do not over-design: avoid new layers, services, or abstractions unless justified.

Critical Rules

  • Do not create tasks.md in this skill.
  • Do not write implementation code in this skill.
  • Do not silently change requirements; if the design reveals a requirements problem, stop and ask whether to update requirements.md.
  • Do not mark design approved without explicit user approval.
  • Draft designs may be saved, but they do not authorize task execution or implementation.
  • Do not infer requirements approval from file existence; require valid .status.

Frequently asked questions

What does the Sdd Spec AI skill do?

Core cognitive SDD skill for creating design.md technical specifications from approved requirements. Use when the conversation calls for HOW decisions: architecture, components, data/state, APIs, flows, edge cases, technical decisions, risks, and implementation FAQ, even without an explicit command. Do not use for requirements creation, task breakdown, or coding.

Why use Sdd Spec on TypingMind?

Because you install it once and use it with any model. Sdd Spec is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sdd Spec in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/felipefontoura/pi-sdd-kit/tree/main/skills/sdd-spec. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Sdd Spec?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sdd Spec?

As many as you like. As long as a model supports skills, you can use Sdd Spec with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sdd Spec AI skill free?

Yes. It is published on GitHub by felipefontoura under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇