Skip to content
Skill Authoring
Skill

/screens

Use to produce the canonical screen manifest for a UI feature — every screen in every state (default / loading / empty / error / success / validation), with reuse-first component picks — written to docs/features/{slug}/screens.md between api and tasks. Draws per the

From plugin
sdd
20723 skills10 agents

Claude Code

$ npx -y skills add genkovich/sdd --skill screens --agent claude-code

SKILL.md

screens.SKILL.md
name: screens
model: inherit
effort: high
agents: []
description: >
  Use to produce the canonical screen manifest for a UI feature — every screen in every state
  (default / loading / empty / error / success / validation), with reuse-first component picks —
  written to docs/features/{slug}/screens.md between api and tasks. Draws per the design-system
  tool: Figma MCP into the canon file, Pencil MCP into screens.pen, or inline markdown wireframes
  (code mode — also the degradation when an MCP is unavailable). Triggers on "screens for {slug}",
  "screen states for {slug}", "draw the screens", "mockups for {slug}", "/sdd:screens {slug}",
  "екрани для {slug}", "стани екранів {slug}", "намалюй екрани". States derive from §5 ACs +
  sad.md §6 branches + contract error responses; tasks/implement/review read ONLY the manifest.
  Hard-refuse if sad.md is missing; skipped when target_surfaces declares no UI surface.

Skill: screens

Turns the approved architecture into the **screen manifest** — the one artifact `tasks`, `implement` and `review` read for what every screen shows in every state. It runs **between `api` and `tasks`**: by then the states are *derivable*, not invented — `default` plus every state the spec §5 ACs, the `sad.md` §6 `alt`/`else` branches, and the contract error responses imply (loading / empty / error / success / validation). Per state it names the **components to reuse** from the `docs/design-system.md` inventory — a `NEW:` component only with a why-no-primitive-fits justification. The visuals are drawn per the canon's `tool`; whatever the tool, **the manifest is the contract** — downstream never reads the raw Figma/`.pen` file.

**Optional by surface:** its N/A condition (no UI surface in `sad.md` `target_surfaces`) lives in [`../_shared/size-matrix.md`](../_shared/size-matrix.md) and is evaluated by `api`'s handoff (carried forward when `api` itself is N/A). Invoked directly, it always runs.

Question phrasing → [`../_shared/ask-style.md`](../_shared/ask-style.md). Manifest prose follows `artifact_language` — state tokens (`default`/`loading`/…), SCR ids, component names and source-refs stay English → [`../_shared/artifact-language.md`](../_shared/artifact-language.md).

Owner

Designer + frontend lead. The PM confirms the states match the ACs; `review` later checks the built screens against this manifest.

Inputs

  • `<slug>` — feature slug.
  • **Gate (hard-refuse if missing):** `docs/features/<slug>/sad.md` — `target_surfaces` + the §6

branches feed the state derivation. Absent → STOP: «run `design <slug>` first».

  • (Expected) `docs/features/<slug>/ux-flows.md` — the SCR inventory this manifest details.

**Absent → soft**: offer `/sdd:ux-flows <slug>` first, or derive the inventory from spec §4 + the SAD with a **noted gap** in the manifest — never a silent invention.

  • (Expected) `docs/design-system.md` — the `tool` + the component inventory. Absent → `code` mode
  • recommend `/sdd:design-system` in the handoff.
  • (Read) `docs/features/<slug>/contracts/` (error responses → error states), `spec.md` §5 (ACs →

states), `.size`/`.route` (depth + handoff resolution; defaults stated loudly when missing).

Protocol

1. **Gate + read.** `test -f docs/features/<slug>/sad.md` → missing = refuse with the pointer above. Read `target_surfaces` (no UI surface declared → say so and STOP — this stage is for UI features; the upstream handoff normally skips it). Read `ux-flows.md` (or run the soft fallback above), `docs/design-system.md` (`tool` + inventory), `sad.md` §6, `contracts/`, spec §5. Read `interview_depth` (else medium; `--depth=` wins) — it governs the per-screen confirm volume. 2. **Derive states per screen.** For each `SCR-NN` from the inventory, list the **full state set**: `default` + every state the ACs / §6 branches / contract errors imply; a state class that genuinely doesn't apply gets one explicit `N/A: <reason>` row. Pick the components per state — **from the design-system inventory by name**; a `NEW: <name>` only when no existing primitive fits, with the one-line why. Confirm per screen Socratically (medium/hard: one `AskUserQuestion` per screen — Accept / Fix / Save-as-OQ / Drop; easy: derive + ledger, ask only where the AC↔state mapping is genuinely ambiguous). 3. **Draw per the canon's `tool`.** `figma` → draw into the canon's `figma_file` via the Figma MCP, record the node-id per state; `pencil` → `batch_design` into `docs/features/<slug>/screens.pen`, record node ids; `code` → inline markdown wireframes in the manifest. **Degrade, don't block**: the tool's MCP unavailable in this session → fall back to `code` mode and name the degradation in the manifest §Source + the handoff (→ [`../_shared/tool-adapters.md`](../_shared/tool-adapters.md)). 4. **Write the manifest per screen.** At the first screen, bootstrap [`./templates/screens.md`](./templates/screens.md) → `docs/features/<slug>/screens.md` (frontmatter `tool` copied from the canon; §Source). Steps 2–3 run screen by screen; write each `### SCR-NN` section (and any §New components rows it adds) **as soon as that screen is confirmed and drawn** — progressive writes per [`../_shared/write-and-commit.md`](../_shared/write-and-commit.md). Stamp `updated_at` after the last screen. No commit yet — it follows the self-check. 5. **Structural self-check** — per [`../_shared/self-check.md`](../_shared/self-check.md): re-read the manifest from disk and verify **4 items**: (1) every `SCR-NN` from `ux-flows.md` has a section (inventory fully covered — or the noted-gap fallback is stated); (2) every screen shows ≥ `default` + (`error` or `empty`) — or carries the explicit `N/A: <reason>` row; (3) every component name exists in the design-system inventory or sits in §New components with a justification; (4) for `figma`/`pencil`, every state row carries a source-ref (node-id) — for `code`, the wireframes are pres

Read more
@genkovich
Ships withsdd

A self-contained Claude Code plugin that carries a feature from a one-line idea to reviewed, verified, shipped code through 23 atomic, stack-agnostic skills and a TDD implementation engine — with a living decomposition roadmap above the per-feature flow and a

20723 skills10 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
207
Star history of genkovich/sdd on GitHub, a chart by star-history.com

Other skills on sdd.

api

api

Use to derive the API contract for a feature — an OpenAPI 3.1 document at docs/features/{slug}/contracts/openapi.yaml plus a…

@genkovich@genkovichInstall Skill
clarify

clarify

Use to run an ambiguity sweep over a written spec.md and close every under-specified point before planning or design proceeds —…

@genkovich@genkovichInstall Skill
classify-size

classify-size

Use to classify a feature into XS/S/M/L/XL and write docs/features/{slug}/.size plus the pipeline route…

@genkovich@genkovichInstall Skill
config

config

Use to create and tune the per-project settings file `.claude/sdd.local.md` — the one place that decides how deeply the pipeline…

@genkovich@genkovichInstall Skill
data-model

data-model

Use to design the data model AND generate the actual forward + rollback migrations in one pass — shippable SQL, not a plan.…

@genkovich@genkovichInstall Skill
decide-adr

decide-adr

Use to record a post-hoc or asynchronous architecture decision as a MADR ADR when it was NOT captured during the synchronous…

@genkovich@genkovichInstall Skill

More skills from other plugins.

gstack-openclaw-ceo-review

gstack-openclaw-ceo-re…

Use when asked to review a plan, challenge a proposal, run a CEO review, poke holes in an approach, think bigger about scope, or…

gstack2w138k
@garrytan@garrytanInstall Skill
book-to-skill

book-to-skill

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…

@virgiliojr94@virgiliojr94Install Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

@titanwings@titanwingsInstall Skill

Questions about screens.

Which coding agents can use screens?
screens installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.