design-decisions

design-decisions is a skill for Claude Code from onur-aslan/sdd. It costs 120 tokens per session (2,935 once invoked), scanned A, original, MIT.

A design-choice workflow that shows UI alternatives in a web page, records the user's selections, and saves them as locked Markdown files for the project.

In plain words
What is it for?
It helps define the overall look of a new project and the layout, forms, data display, and flows for each screen. It also helps revise a locked design in a controlled way.
Why use it?
It prevents UI decisions from being lost or changed accidentally. It separates the user's design choices from the code that implements them.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the sdd plugin — 11 skills, 1 MCP server shipped together

Good fit It helps define the overall look of a new project and the layout, forms, data display, and flows for each screen. It also helps revise a locked design in a controlled way.

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

Made for: Claude Code.

Or install sdd, the plugin that ships this one along with the rest of its 11 skills, 1 MCP server.

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 design-decisions

README.md
[![agentmods](https://agentmods.dev/badge/skills/onur-aslan/sdd/design-decisions/github.svg)](https://agentmods.dev/skills/onur-aslan/sdd/design-decisions)
Your own site
<a href="https://agentmods.dev/skills/onur-aslan/sdd/design-decisions"><img src="https://agentmods.dev/badge/skills/onur-aslan/sdd/design-decisions/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 design-decisions

Your own site · 80×15
<a href="https://agentmods.dev/skills/onur-aslan/sdd/design-decisions"><img src="https://agentmods.dev/badge/skills/onur-aslan/sdd/design-decisions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,935 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.00120 $0.02935
Opus 5.5 $0.00048 $0.01174
Sonnet 5.5 $0.00024 $0.00587
Haiku 4.5 $0.00012 $0.00294

Measured 4d ago against content hash 1fc2d793b7cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

design-decisions 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/build_preview.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.

sdd/skills/design-decisions/SKILL.md · 124 lines

How it starts

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

design-decisions

The agent does not make UI/UX decisions; the user does. This skill gathers decisions in an HTML preview, writes the choices to DESIGN.md (Layer 1) and design/pages/<slug>.md (Layer 2), and locks them. Locked files change only by invoking this skill again or by approving a ui-prompt exit review.

Layers

Decisions are collected in two rounds. Each round is one HTML preview, asked all at once.

  • Layer 1 — Global: decisions that bind the whole project. Locking it creates DESIGN.md, which stays the single entry point.
  • Layer 2 — Screens and flows: per-screen layout, hierarchy, data presentation, forms, flows. Asked after Layer 1 is locked, and its previews are drawn with the locked Layer 1 tokens. Each scope is written to its own locked file under design/pages/<slug>.md; DESIGN.md holds only the index that links them.

After Layer 1 locks, continue to Layer 2 in the same run unless the user said "global only".

Invocation

/design-decisions [arguments] — free-text arguments select the round:

  • None — full flow: Layer 1 if DESIGN.md is missing or unlocked, then Layer 2; if locked, ask what to change and re-ask only that.
  • Screen or pattern names (e.g. chat screen) — a Layer 2 round scoped to those Step 1 screens: no page file yet → new round and page file; page file exists → list its decisions and re-ask only the ones the user picks (with "Current choice" cards and 3 new alternatives); no DESIGN.md → Layer 1 first (global only stops there); several matches or none → one clarifying question, never guess.
  • global only — Layer 1 and stop. re-ask D03,D05 — exactly those IDs.

Scoped rounds use .design/choices-k2-<slug>.json → choose-k2-<slug>.html + choices-k2-<slug>.selections.txt; one round per scope (name a pattern to cover several screens); IDs continue across rounds (highest Dxx in DESIGN.md + design/pages/); Step 6 writes only the asked scopes' page files.

Step 1 — Scan the project

Read the full file on GitHub · 124 lines

Files

What ships with it

6 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 · 124 lines · 120 tokens per session scan A 1fc2d793b7cb

Subscribe to this mod's changes

design-decisions is a skill published in the GitHub repository onur-aslan/sdd (12 stars, last pushed 3d ago), licensed MIT. It adds 120 tokens to every session and 2,935 once invoked, about $0.0005 per session on Opus 5.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-11-26.

Related

design-decisions compared with skills from other repositories

design-decisions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
design-decisionsonur-aslan/sddSkill123d agoMITA120Claude Code
design-itsmallnest/goal-workflowSkill3032mo agoMITA95Claude Code
ui-mockupyugasun/aiopsSkill46d agoApache-2.0A54Claude Code
visual-specvisual-req/visual-specSkill521mo agoMITA35Claude Code, Codex
design-before-build-gatejoelbrilliant/agentic-delivery-skillsSkill33d agoMITA49Claude Code, Codex
prototypeyugasun/aiopsSkill46d agoApache-2.0A23Claude Code
to-designsmallnest/goal-workflowSkill3032mo agoMITA96Claude Code