Produces a screen manifest for a UI feature: enumerates every screen in every state (default, loading, empty, error, success, validation, plus flow-branch states), picks reuse-first components, and writes to docs/features/{slug}/screens.md.
Ships in sdlc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turns the flows into the screen manifest: for every SCR-NN from ux-flows.md, every state
the user can hit, the components that state is built from, and a source-ref to the drawn frame and
its PNG. Whatever the tool, the manifest is the contract for code — downstream never opens the
design file (verify-ui reads the manifest; the backbone skills are pointed at it by name,
../_shared/design-line.md §1). Two rules carry the stage:
default plus every state a source implies: a W-NN,
D-NN or N-NN branch from ux-flows.md, a design-spec.md §8 row (BR-NN), a PRD §5 AC, a sad.md
§6 alt/else branch, a contract error response. Each non-default state carries its provenance
token (../_shared/design-line.md §3); a state class that does not
apply gets one explicit N/A: <reason> row.docs/design/design-system.md §Component inventory by
name; NEW: <name> only with the one-line reason no existing component fits.Two ways in, one manifest. Draw mode (default): the agent draws every state. Read
mode: the designer already drew the screens; the agent reads their frames and writes nothing
into the design file, per ./references/read-frames.md. Both
write the same screens.md, so nothing downstream changes.
Degrade, don't refuse. No PRD, no SAD (module 5): states come from the flows, the design spec
and the story. With sad.md, a declared target_surfaces without any UI surface means this stage
does not apply — say so and stop.
Tool modes, layout, the gates for every tool and the per-tool rules →
../_shared/design-line.md §2, §6–§9. Questions per
../_shared/ask-style.md; confirm-vs-proceed per
../_shared/interview-depth.md.
Designer + frontend developer (often the same solo developer). In the backbone the PM confirms the
states match the ACs; verify-ui later checks the built screens against this manifest.
<slug> — feature slug.--from <url> — a link to the designer's page, section or frame (Figma: with
node-id), or the words «екрани вже в документі» / «розбери екрани дизайнера».docs/features/<slug>/ux-flows.md — the SCR-NN inventory + the branches landing on
each screen. Absent → soft: offer /sdlc:ux-flows <slug> first, or derive the inventory from
design-spec.md / the story with a noted gap in §Source — never a silent invention. Read
mode needs none of them: the designer's frames are the source (input: frames, no question
for a story), per ./references/read-frames.md §2.docs/design/design-system.md — tool, the design file (design_file, else the
legacy synonym per design-line §6), library_frame, «Agent access», the component inventory,
the conventions. Absent → code mode + recommend /sdlc:design-system.docs/features/<slug>/design-spec.md — §8 state inventory, §9 reuse decisions, BR-NN.PRD.md §5, sad.md (target_surfaces + §6 branches),
contracts/openapi.yaml (error responses).--depth=easy|medium|hard, else interview_depth from .claude/sdlc.local.md, else
medium — governs the per-screen confirm volume, never the state coverage.Read + resolve the mode. Draw or read first. Read mode only when asked for:
--from <url>, «розбери екрани дизайнера», «screens from the designer's frames» or «екрани
вже в документі» → read mode: skip the permission part below (read mode writes nothing into
the design file), run steps 2–3, then step 4's read-mode branch. Otherwise draw mode, with no
question, exactly as before; the one exception is step 4a, when the design file already holds
frames of this feature that this skill did not draw. Read every input above that exists. sad.md present and its
target_surfaces contains no web-frontend / mobile-app / desktop-app → STOP: no UI
surface. Resolve the tool from the canon and find its MCP in this session per
../_shared/design-line.md §6 (deferred tools included; start from
the canon's «Agent access» line); map its capabilities (target document, read, write, save,
look, export). Not connected → code mode with a named degradation (§Source + handoff). Connected
but with no write tool → code mode too, named (« MCP is read-only in this session»).
Permission to write (design-line §6 gate 6). Read the canon's «Foundations write
permission» line; no such line (a canon from 4.7) → the owner rule itself (a repo path is
allowed, a URL is not).
code mode, named («no permission to write into
<design_file> — code-mode wireframes»); «not asked yet», «not asked — …», no line, or the
person wants to change it → interactive: one AskUserQuestion per
../_shared/ask-style.md: «Намалювати екрани на окремій сторінці
«Screens · » у цьому файлі?» — «Так, лише на цій сторінці (Recommended)» (the state
frames and a «Drafts · » frame with new components go there; the library and every
other page stay untouched, and the PNG per state stays possible) / «Ні, вайрфрейми в
markdown» (code mode, no PNG); headless → code mode, nothing asked. Write the answer into
the canon's §Design tool «Screens write permission» line («allowed — a separate Screens page
per feature, » / «not allowed — code mode» / «not asked — a headless run used
code mode»), so the next run reuses it.
The canon's library_frame is empty: writes allowed → code mode, named («the design document
has no library yet — run /sdlc:design-system»), so the document stays empty for the
foundations run; page mode → draw, with every component in «Drafts · ».Derive states per screen. For each SCR-NN, per the one vocabulary in
../_shared/design-line.md §3 «State vocabulary»: check the six
classes (default, loading, empty, error, success, validation), each gets a row, a
real state or one N/A: <reason> row; then add the named states from every source that lands
on this screen (W-NN, D-NN, N-NN, BR-NN, AC-NN, §6:<flow>, contract:<status>;
read mode also frame:<node id>, a state only the designer's frame names):
<class>-<variant> for a second state of one class (error-undelivered), or a bare kebab-case
feature name for a product state that fits no class (ended), each with its source token.
An N/A row gets no frame and no PNG. Hover / focus / disabled are component states from the
inventory, not screen frames. Pick components per state from
the inventory by name; the look of each error/empty/loading state follows the canon's
conventions. A NEW: component needs its why-no-existing-fits line and goes to §New components.
Confirm per screen: medium/hard one AskUserQuestion per screen («Прийняти» /
«Виправити» / «Винести у відкрите питання» / «Викинути»); easy or no question channel →
derive, record in ## Assumptions, proceed.
Write the manifest progressively. At the first screen, bootstrap
./templates/screens.md → docs/features/<slug>/screens.md (Read the
template, Write the file; never cp from the plugin's folder)
(frontmatter tool from the canon, mode: draw | read, input: per the ladder, §Source). Write each ### SCR-NN
section as soon as that screen is confirmed and drawn.
Draw per the tool — or read, in read mode.
Read mode: read, don't draw — per
./references/read-frames.md: the frames under the link →
screen · state (ambiguous ones in one batch of questions; headless → ## Assumptions);
coverage per screen and class: drawn (node id) / N/A / missing → §Ask the designer, or,
after the person's yes, drawn by the draw-mode gates below on «Screens · » only; every instance → its main
component → the inventory row (node id / key, else by name, marked), detached and hand-built
blocks «not from the library», design-only components → §New components «create in code
once and add to the canon»; §Behaviour from what the tool really returns (annotations,
prototype reactions, Code Connect instructions; nothing → say so and ask for a note); a PNG per
drawn state (step 4e's export and test -s) or the named gap. §Source: «Mode: read — frames
drawn by the designer, read only».
code — one ASCII wireframe per state that needs a distinct layout, inline under the
screen's table. No PNGs.
A design tool (tool ≠ code) — the gates, in this order, per
../_shared/design-line.md §6, then the tool's specifics below:
a. Target document. The tool's target is the canon's design file (absolute paths for a
local file, file keys for a URL). Mismatch → STOP and ask the user to open it. Repeat the
check before each batch of writes if the user touched the app in between. Before the first
write, read the tool's own guide once (§6 gate 3); a local file: stat it now.
Frames of this feature already there? Among the top-level frames, any whose name
points at this feature (the slug, a screen name from ux-flows.md, SCR-NN) and whose
node id is not in an existing screens.md of this slug (frames an earlier run of this
skill drew are not counted, and never a Flow · … board or a node id in §Flows) → one AskUserQuestion: «Розібрати ці фрейми (Recommended)»
(switch to read mode; nothing is written into the file) / «Малювати свої екрани» (draw
mode, next to them on their own frames). No such
frames → no question, draw as always. Headless → draw mode, and the frames found are
listed under ## Assumptions.
b. No hand edits. Every change goes through the tool's write tools; never read or write
the design file with file tools, sed or scripts.
c. Frames. One top-level frame per state (none for an N/A row), named
<slug> · SCR-NN · <state>, placed left to right in flow order (default first, then the
other states below it), content clipped to the frame.
A state frame holds only the layers of that state. Build each state from instances;
never copy the default frame and hide what does not belong (enabled: false, a hidden
layer, zero opacity): hidden leftovers of other states (a «retry» button in default, an
input block in ended) show up in the Layers panel and confuse the next reader. A copied
frame gets those layers deleted, not hidden.
Components are instances of the reusable components in the same document — never
redrawn copies; a variant is picked through the tool's variant mechanism (§7.12 pen.dev,
§8 Figma). Where a new component goes depends on the permission (step 1):
NEW: component is created once as a reusable component in the
canon's library_frame, then instanced. An inventory row marked code-only (in code, no
node in the document yet) is not NEW: and needs no why-line: draw it once there
under its inventory name, matching the code, instance it, and list it in the handoff so
/sdlc:design-system («Оновити») records its node id;NEW: and code-only component is drawn in a
frame «Drafts · » on the same page and instanced from there; the library and every
other page stay untouched; the handoff lists the drafts for the designer.Changing an existing library component (a fourth tab in the TabBar, a new Button
variant) is allowed only with a line «Changed: — what and why» in §New
components and in the handoff, with the advice to run /sdlc:design-system («Оновити»).
In page mode the original is never changed: a changed copy goes in «Drafts · » under
the same name + « (changed)», and the screens instance the copy.
d. Look. Screenshot each finished screen through the tool and fix clipping/collapse before
moving on.
e. Export + test -s. Per state, a PNG at
<repo>/docs/features/<slug>/screens/SCR-NN-<state>.png (absolute path) through the
tool's export: a tool that writes files → rename its output to that name; a tool that
returns a URL → curl -sSfL -o <path> <url>. test -s every file at its final path (-s =
exists and is not empty: an export can leave no file or an empty one without a failing
status). One command per call (design-line §6 gate 5): test -s <file>, then mv <from> <to>, then test -s <to>, each its own Bash call; no loops, no &&, no helper
script, nothing written to /tmp or elsewhere outside the repo. A failed check fails the
gate: retry that node once, then report the state as not exported. Record node id and PNG path in the state's Source-ref cell. No export
capability in the session (an image returned only into the conversation is a look) → no
PNG; name the gap in §Source («: no export in this session — node ids only»); the
node id stays the source-ref.
f. Flow boards — the last drawing step. Run it after step 5 has checked the states (items
1–7) and every state it added is drawn and exported, so no state misses its board; then
step 5 checks item 8. One board per flow of ux-flows.md, per
./references/flow-boards.md: a top-level frame (Figma: a
section) «Flow · », the flow's heading without its provenance tokens; every
drawn state that belongs to the flow is a node, also a state from one of its branches
that the mermaid has no node for (SCR-01 · default-no-thread from D-01); the mermaid nodes in order, a screen node = the thumbnail of
its real state (the exported PNG), no decision nodes (a decision's condition goes into
the trigger label: «надсилає, збій мережі (D-02)»), an outside or end node = a grey pill;
edges = arrows with the mermaid trigger labels: solid grey the happy path, dashed grey a
branch, dashed red an error, and error / ended screens framed red; the happy path the
middle row left to right, branches above and below, two edges between one pair offset, the
same edge from many nodes to one target, back or forward (every «назад (D-06)», «Макс
надсилає (S-3)» from three states), one shared bus with one label; a
node whose state is N/A or missing = a dashed «немає кадру» card; everything on the
document's variables. A state frame or a board is never a library component and never
an inventory row, even if someone made it reusable.
Each board → screens/flow-NN.png (one command per call, test -s), its node id and its
input fingerprint (git hash-object of ux-flows.md and of the PNG of every state that
belongs to the flow) into
§Flows. No new question, headless too. A rerun takes the fingerprint again: the same →
the board is left alone and the handoff says, word for word, «board up to date: Flow ·
»; different (the flows
changed, a state was re-exported, added or removed) → the board is redrawn whole (the old
one deleted only when its §Flows node id and exact name both match).
g. Persist. Save through the tool per §6 gate 4: a save tool → call it; a tool that
saves by itself → nothing; neither → ask the user. A local file: confirm it changed on disk
(stat before/after); a URL: read the frames back.
pen.dev (tool: pencil, design-line §7):
get_app_state → the active document must be the canon's .pen; pass its uri
(file:///<absolute path>, or filePath, whichever the schema names) in every
execute and save call, the snippet in input. Guide:
read_skill({ path: "execute.md" }) once before drawing.execute; frames with clip: true; components are ref
instances, a NEW: or code-only component is created with reusable: true; each variant
is its own component; no node of a state frame has enabled: false.TakeScreenshot each finished screen.execute, Export([nodeId1, nodeId2, …], "png", "<repo>/docs/features/<slug>/screens")
(absolute directory) writes one file per node, named by the node id:
<dir>/<nodeId>.png. For each state, three separate calls: test -s <dir>/<nodeId>.png,
mv <dir>/<nodeId>.png <dir>/SCR-NN-<state>.png, test -s <dir>/SCR-NN-<state>.png.execute of this skill carries a description (3–8 words starting with a verb),
shown in pen.dev's history;layout: "none", thumbnails only as PNG image fills
(url relative to the .pen, mode: "contain"; never a ref to a state frame, never
reusable: true on one), arrows as path geometry with the arrowhead inside it, dashes as
separate segments, labels in small $background frames; look by TakeScreenshot, not by
ctx.problems (false clipping on layout: "none").save with the document's uri (no save tool → ask the user for Cmd+S in pen.dev);
confirm the .pen changed on disk (stat before/after). Remind: save and close the
.pen before any git checkout, pull or rebase.Figma (tool: figma, design-line §8):
figma_list_open_files (Desktop Bridge
running in it) and is the active target, or pass fileKey on every call; the official Figma
MCP → the file key goes into every call, writing needs use_figma (beta), edit access and a
Full seat.<slug>); instances of the library's components
(figma_instantiate_component or figma_execute), a variant = a component-set property;
page mode → the page «Screens · » with its «Drafts · » frame; no hidden layer
(visible: false) in a state frame.figma_capture_screenshot (Console) / get_screenshot (official).figma_get_component_image per frame returns a URL → curl →
test -s (it renders the cloud state, which can lag behind the live drawing; no URL or a
failed curl → the named gap for that state); the
official server's get_screenshot is a look, not an export → a PNG only through another
export tool in the session, else the named gap.exportAsync of the state frame → an
image fill, caption « · · знімок »; never a copy of a frame), plus real
prototype reactions between the state frames (On tap on the real element → Navigate to,
Dissolve 150 ms, setReactionsAsync, read back) and a flow starting point named after the
flow; a conditional branch stays board-only, a target without a frame gets no reaction;
a paint bound to a variable gets the resolved value as its fallback first
(variable.resolveForConsumer(node).value), or dashed strokes vanish;
per flow-boards.md §4, only where the run may write.Structural self-check — re-read screens.md from disk and verify 8 items (items 1–7
on the states first; a state they add is drawn and exported; then the boards of step 4f; then
item 8), counting
with Read / Grep or one plain command per call (no $(…), pipes or &&):
(1) every SCR-NN from ux-flows.md has a section (or the noted-gap fallback is stated in §Source);
(2) every screen has a row for each of the six classes, a real state or an explicit
N/A: <reason> row;
(3) every non-default, non-N/A state carries a provenance token (W/D/N/frame:/BR/AC/§6/
contract, or derived for a standard class the agent added itself), named states included;
(4) every component name exists in the canon inventory or sits in §New components with a reason;
every library component this run changed has a «Changed: — what and why» row; in
page mode every state frame sits on «Screens · » and every NEW:, code-only and changed
component in its «Drafts · » frame, nothing elsewhere in the file; without write
permission and without that page, the run is in code mode and the canon's «Screens write
permission» line is filled;
(5) tool ≠ code: every state row except N/A rows has a node id; code: every distinct
layout has a wireframe;
(6) tool ≠ code: every PNG path in the manifest passes test -s (run it, one call per file,
no loop; don't assume); a non-N/A state without a PNG is allowed only when §Source names the
no-export gap; N/A rows have no PNG and are skipped;
(7) tool ≠ code: read every state frame back through the tool: no hidden node in it
(enabled: false, visible: false, zero opacity), no layer of another state.
(8) flow boards per flow-boards.md §7: every flow of ux-flows.md has its board (node id,
input fingerprint and today's date in §Flows; every drawn state that belongs to the flow on
it, the states of its branches included), every screen node shows a drawn state's PNG or the «немає кадру» card, every board
PNG passes test -s, every board was looked at by a screenshot; read mode: §Flows is read from
the prototype or says «no prototype in the file».
Read mode: items 5–7 are replaced by read-frames.md §8 (every state drawn / N/A / missing,
PNG or the named gap, every instance mapped or marked, §Behaviour per screen, nothing written
into the design file).
Fix and re-check at most 2 cycles; surface anything unresolved — never silently.
Propose commits + handoff. Propose one commit for the manifest + PNGs
(screens: <slug> screens.md + PNG; plus the canon when this run wrote its «Screens write
permission» line) and, when the design file is a local path, a separate one
for it (screens: <slug> <design_file>) only when git status --porcelain -- <design_file>
shows it changed — an unsaved design file is named in the handoff, not committed. Nobody reviews
a design file's diff: the PNGs are what goes into the PR. Unresolved self-check item → no
commits, say why. Then emit the stage-handoff block per
../_shared/handoff.md — What I did (draw or read mode; in read mode
N frames read, N states drawn by the designer / N/A / missing, the §Ask the designer list, N
«not from the library» blocks, N behaviour findings; tool or the degradation, N
screens × N states, N NEW: components, every «Changed:» component with the advice to run
/sdlc:design-system («Оновити»), in page mode the page «Screens · » and the list of
components in «Drafts · » for the designer, the permission answer when it was asked,
«PNG: n/n exported, test -s passed» or the named no-export gap, N flow boards with their PNG
(each «drawn», «redrawn» or «board up to date»)
(read mode: §Flows from the prototype, or «no prototype»), «self-check: 8/8 pass», the
proposed commits; every number counted from disk) + Review
(docs/features/<slug>/screens.md, docs/features/<slug>/screens/, + the design file when
drawn) + Run next: build the screens in code following the manifest (one component at a time,
no twins of inventory components) and fill §Source «State access» as you build, then
/sdlc:verify-ui <slug>; in the backbone, /clear, then /sdlc:break-tasks <slug> with
docs/features/<slug>/screens.md named in the prompt (it does not read the manifest on its own
yet).
docs/features/<slug>/screens.md exists: §Source per the canon's tool (or the named degradation),
one section per SCR-NN with its state table, components reuse-first, §New components filled or
«None».
Every non-default state traces to a source token; nothing invented, nothing silently missing.
Every screen has a row for each of the six classes (a real state or N/A: <reason>), plus its
named states from flow branches.
tool ≠ code: every state except an N/A: <reason> row has a node id and, when the session can
export, a PNG at docs/features/<slug>/screens/SCR-NN-<state>.png that passed test -s; without
an export capability the gap is named in §Source; an N/A row has neither. code: the wireframes
are inline.
tool ≠ code: the target-document check passed before every write; the design file was changed
only through the tool's MCP; it was saved (a local file changed on disk, a cloud file read back).
tool ≠ code: every state frame holds only its own layers (no hidden leftovers); every changed
library component has its «Changed:» line and the «Оновити» advice; without write permission
nothing was written into the designer's file except on the «Screens · » page the person
allowed (state frames + «Drafts · », listed in the handoff), otherwise the run used code
mode; the answer sits in the canon's «Screens write permission» line.
Draw mode, tool ≠ code: every flow of ux-flows.md has its board «Flow · » (thumbnails
of the real states, labelled arrows, error branches dashed, a «немає кадру» card for a state
without a frame), its node id and PNG in §Flows; no new question was asked for them. Read mode:
§Flows comes from the prototype, nothing drawn.
The manifest is the only thing downstream needs.
Read mode: nothing was written into the design file (except, after the person's yes, the
missing states on «Screens · »); every frame is mapped to a screen · state or listed as
«not a screen of »; every class of every screen is drawn / N/A / missing, the missing ones
in §Ask the designer; every instance maps to an inventory row or is marked; §Behaviour has a line
per screen.
default hides the states users actually hit;
the error/empty derivation is the point of this stage.NEW: with the reason.test -s every PNG..pen JSON included), or writing into whatever document
happens to be open.save tool or the user's Cmd+S) writes
the .pen to disk; check it with stat..pen open. Save and close it first.code mode is always there; degrade with a named degradation.default with the other states' layers switched off
looks right on the canvas and wrong in the Layers panel; each state frame holds only its layers.code mode; headless never writes there.for … do, && and a script in /tmp are rejected headless
and need a permission prompt each in an interactive run; one plain command per call../templates/screens.md — the manifest scaffold; inline comments are
the generation contract../references/read-frames.md — read mode: the designer's frames
→ screens, states, coverage, components, behaviour, PNG, self-check../references/flow-boards.md — the flow boards: mermaid → board,
pen.dev and Figma specifics, §Flows, read mode, self-check item 8.../_shared/design-line.md — provenance tokens, tool modes, the gates
for every tool (§6), pen.dev (§7), Figma (§8), any other tool (§9), file layout.../_shared/surfaces.md — the target_surfaces gate when sad.md exists.../verify-ui/SKILL.md — reads this manifest (states + PNG paths) after
the screens are built.Draw mode:
/sdlc:screens chat
Expected (draw mode, pen.dev, a repo .pen): the state frames chat · SCR-NN · <state> and a
PNG per state; then one board Flow · <flow name> per flow of ux-flows.md (the states'
thumbnails, labelled arrows, error branches dashed), each exported to screens/flow-NN.png;
screens.md §Flows with each board's node id; no question beyond the ones the states need.
Read mode, the designer drew the chat screens on a Figma page:
/sdlc:screens chat --from https://www.figma.com/design/<fileKey>/Threads-Premium?node-id=<page-or-frame-id>
Expected (read mode):
docs/features/chat/screens.md with mode: read and §Source «Mode: read — frames drawn by the
designer, read only», every frame listed as SCR-NN · <state> (or «not a screen of chat»);screens/SCR-NN-<state>.png, or N/A: <reason>, or «missing — ask the designer»;design-only components («create in code once
and add to the canon»), components not in the canon;test -s, or the named no-export gap;What SKILL.md sets; muted values are Claude Code's defaults
inherithighThree short reads, in order
screen-manifest, ui-states, wireframes, design-tool-mcp, ux-flows, sdlc
/sdlc:screensfrom sdlc
npx claudepluginhub genkovich/sdlc --plugin sdlc24 skills in this plugin
/api-forgeUse to derive the API contract for a feature — an OpenAPI 3.1 document at docs/features/{slug}/contracts/openapi.yaml plus a drift/sync report (api-sync-report.md with an explicit Verdict: PASS | PASS (with deferrals) | FAIL and a 5-point drift checklist), the right contract artifact per surface (events.md for async, cli.md for CLI, public-api.md for library/SDK), and — on the HTTP path, first run only — a baseline .claude/rules/openapi.md so later code follows the same API conventions. Triggers on "api for {slug}", "openapi for {slug}", "API contract for {slug}", "lock the interface for {slug}", "events for {slug}", "/sdlc:api-forge {slug}", "контракт API для {slug}", "OpenAPI для {slug}", "опиши ендпоінти". The contract is never hand-written: it is a derived function of data-model.md (typed fields + constraints), sad.md §6 sequence diagrams (error branches, async actors), and PRD.md acceptance criteria. Hard gate: docs/features/{slug}/PRD.md. data-model.md is recommended but optional — without it the skill runs in scenario B (PRD + sequences only) and fills unresolved_origins in the sync report. Renamed from define-api in v3.3.0; the legacy name is kept as a deprecation wrapper.
/architecture-designUse to produce a Software Architecture Document for a feature — Arc42 12 sections + C4 L1/L2 inline + ADRs spawned on a blast-radius gate — once PRD.md and CONTEXT.md exist. The feature's target surface(s) are chosen here (the first §4 decision → SAD frontmatter target_surfaces, read by every downstream stage). Drafts §1–§12 in-memory, batch-validates each section Socratically (4-state machine), spawns an ADR only when a decision crosses the blast-radius threshold (irreversible / multi-module / has legitimate alternatives), writes each resolved section + its ADRs atomically, then runs a clean-context critic before finalizing. Brownfield: reads docs/architecture-map.md (re-scans only if absent/stale). Triggers on "architecture for {slug}", "design architecture for {slug}", "SAD for {slug}", "arc42 for {slug}", "C4 context+container for {slug}", "/sdlc:architecture-design {slug}", "спроектуй архітектуру {slug}", "SAD для {slug}", "архітектурний документ {slug}". Hard-refuse if docs/features/{slug}/PRD.md is missing. Triggers: /sdlc:architecture-design {slug}. Output: docs/features/{slug}/sad.md + adr/NNNN-*.md./break-tasksUse to break a designed feature into atomic, ≤1-day tasks with a dependency graph, a per-task Definition of Done, and a machine-readable tasks.json that the implement-tasks engine consumes. Triggers on "task breakdown for {slug}", "break down tasks for {slug}", "tasks for {slug}", "plan the work for {slug}", "sprint plan for {feature}", "stage 13 for {slug}", "/sdlc:break-tasks {slug}". Reads PRD.md + sad.md + Accepted ADRs (+ data-model + openapi if present), writes docs/features/{slug}/tasks/{_epic,tracker,<task>}.md AND docs/features/{slug}/tasks/tasks.json. Tracker export to any issue tracker is optional and tool-neutral. Hard-refuses if PRD.md or sad.md or an Accepted ADR is missing. Stories LINK to upstream artefacts (PRD AC §, SAD §6, data-model, openapi), they do not duplicate them.
/clarify-prdUse to run an ambiguity sweep over a written PRD.md and close every under-specified point before glossary or architecture proceeds — so two engineers can't reasonably build different things from the same PRD. Triggers on "/sdlc:clarify-prd {slug}", "clarify {slug}", "find ambiguities in {slug}", "is the PRD ready", "sharpen the PRD", "прояснити PRD", "знайди неоднозначності {slug}", "чи готова специфікація". Re-reads the PRD, dispatches a clean-context devil's-advocate subagent to list where the PRD forks, then for each ambiguity runs AskUserQuestion to RESOLVE it (tighten §1/§5/§6 in place) or DEFER it (→ §8 Open questions with owner+due). Output: an updated docs/features/{slug}/PRD.md with every ambiguity resolved or deferred — none dangling. Hard-refuse if PRD.md is missing./classify-sizeUse to classify a feature into XS/S/M/L/XL and write docs/features/{slug}/.size so later skills know how much of each artifact to produce. Triggers on "classify size", "feature size", "is this XS or M for {slug}", "size {slug}", "/sdlc:classify-size {slug}", "класифікуй розмір {slug}", "який розмір фічі", "XS чи M". Asks four AskUserQuestion (PR count / time / new module-API-migration / breaking changes), maps to a size class via the shared size matrix, confirms with the user, and writes the one-line .size file. Syncs with PRD.md frontmatter feature_size: if present (warns on conflict). Output: docs/features/{slug}/.size + (opt.) PRD frontmatter update./complete-sequence-diagramsUse to add Mermaid sequenceDiagram blocks to the SAD's runtime view (sad.md §6) — one per critical flow, showing how a request moves between generic participants with happy + error paths. Triggers on "complete sequences for {slug}", "sequence diagram for {slug}", "draw the runtime flow", "add a sequence to the SAD", "/sdlc:complete-sequence-diagrams {slug}", "діаграми послідовності {slug}", "sequence для {slug}", "намалюй потік {slug}". Reads sad.md §5 for participants, drafts each flow from templates/seq-flow.md with generic participants, walks them Socratically one flow at a time, writes confirmed blocks into sad.md §6 — they inform data-model indexes downstream — and closes with the US/AC → flow coverage table written as the last block of §6 (`### Coverage: US/AC → flows`). Hard-refuse if sad.md is missing → run /sdlc:architecture-design first. Single-flow mode: /sdlc:complete-sequence-diagrams {slug} --flow {name}.Other plugins' skills for the same job