Skip to content
Agentmart
Submit a tool

sdd:adr

SDD — Spec-Driven Development: scaffold a new Architectural Decision Record.

Skill by alfredoperez

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/alfredoperez-sdd-adr

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

SDD — Spec-Driven Development: scaffold a new Architectural Decision Record.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/sdd-adr

What's inside

Skill name
sdd:adr
Description
SDD — Spec-Driven Development: scaffold a new Architectural Decision Record.
License
MIT
Instructions
39 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed
  • name: "sdd:adr" does not match folder "adr"

Files (1)

  • SKILL.md

SKILL.md (first lines)

Usage: `/sdd:adr <slug>` — `<slug>` is kebab-case, descriptive (e.g., `cache-strategy`, `auth-provider-choice`).

## Steps

### 1. Validate inputs

Require `$ARGUMENTS` (the slug). If empty, stop: `Usage: /sdd:adr <slug>`.

Slug rules: 2–4 words, kebab-case. If invalid, suggest a corrected version.

### 2. Determine ADR number

Scan `.sdd/decisions/*.md`. Find the highest existing 4-digit prefix. New ADR number is highest + 1, zero-padded to 4 digits (e.g., `0001`, `0002`, ..., `0042`).

If `.sdd/decisions/` doesn't exist, prompt: `Run /sdd:init first.` and stop.

### 3. Create file

Write `.sdd/decisions/{NNNN}-{slug}.md` from `lib/templates/adr.md`, substituting:
- `{NNNN}` → 4-digit number from Step 2
- `{Title}` → ask user via `AskUserQuestion` for a one-line title (or derive Title Case from slug if user accepts)
- `{TODAY}` → current date (YYYY-MM-DD)
- `{deciders}` → `git config user.name` (default), user can override

### 4. Summary

```
✓ ADR {NNNN} drafted

📂 .sdd/decisions/{NNNN}-{slug}.md

Status: Proposed
Title: {Title}

Edit the file to fill Context, Decision, Rationale, Alternatives, and Consequences sections.
Commit when ready: `git add .sdd/decisions/{NNNN}-{slug}.md && git commit -m "docs(adr): add ADR {NNNN}..."`.
```

From alfredoperez/sdd, MIT.

More from alfredoperez/sdd

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
May 3, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from alfredoperez

Cite this page

sdd:adr skill. Agent Mart. https://agentmart.dev/skills/alfredoperez-sdd-adr (last updated 2026-10-24)