Breaks a designed feature into atomic ≤1-day tasks with a dependency graph, per-task Definition of Done, and machine-readable tasks.json consumed by the implement-tasks engine. Reads PRD, SAD, and ADRs; writes task files linked to upstream artifacts.
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.
Task-breakdown generator: atomic tasks ≤1 day, each a separately reviewable change (≤~500 LOC preferred), with a visible dependency graph and a Definition of Done per task. One task = one focused Claude session = one PR. "Build the feature" is not a task — break it down.
Task files link to upstream artefacts (PRD.md §AC-N, sad.md §6 UC-N, data-model.md, contracts/openapi.yaml, adr/NNNN-*.md) — they do not duplicate them. Alongside the human-facing markdown, this skill emits tasks.json, the contract the implement-tasks engine reads to build its dependency DAG.
This is the stage 13 runner and the keystone that closes the cycle: the markdown is for humans, the tasks.json is the machine handoff to implement-tasks.
Tech Lead.
/sdlc:break-tasks <slug> as explicit invocation.implement-tasks is mid-run.<slug> — feature slug.docs/features/<slug>/PRD.md + docs/features/<slug>/sad.md + ≥1 Accepted ADR in adr/. Missing → STOP and point at the producing skill (write-prd / architecture-design / decide-adr).data-model.md and contracts/openapi.yaml.test -f docs/features/<slug>/PRD.md && test -f docs/features/<slug>/sad.md && ls docs/features/<slug>/adr/*.md → exit ≠ 0 = refuse with the missing artefact named.mkdir -p docs/features/<slug>/tasks/ → create tasks/_epic.md (summary + links + the DAG flowchart), tasks/tracker.md (status table), one tasks/<task-slug>.md per task. Templates → ./templates/_epic.md, ./templates/tracker.md, ./templates/task.md. Validate the _epic.md flowchart per ../_shared/mermaid-check.md (render-parse with mmdc if available, else the structural lint; fix before committing).migration (DB) · domain (entities/invariants) · infra (repo/persistence) · app (service/use-case) · ports (handler/API) · ui (UI components / screens / view-state — only when a UI surface is declared) · tests · wiring (composition/DI) · docs. sad.md frontmatter target_surfaces gates which layers appear (→ ../_shared/surfaces.md): a web-frontend / mobile-app / desktop-app surface adds ui tasks; a backend-only feature emits domain/infra/app/ports (no ui); a cli feature app/ports; a worker domain/infra. Each ui task names the existing components / tokens / styling it reuses (from architecture-map.md §Frontend) — a new component is listed only when no existing primitive fits. List 8–20 items by size (see ../_shared/size-matrix.md).deps: [...]. Identify parallel branches (e.g. the migration and a pure-domain task can start together). This graph IS the DAG implement-tasks will topologically sort into phases.acs it satisfies (PRD §5 IDs) and a files_hint — the directories/files it will touch. files_hint lets implement-tasks serialize tasks whose file sets overlap, and layer: migration is always serialized (ordered migration sequence); layer: ui is not auto-serialized — UI tasks parallelize unless their files_hint overlaps. A migration task's files_hint is the staged pair docs/features/<slug>/migrations/<NN>_* (which implement-tasks promotes into the live migrations/ when it runs the task) — not a live migrations/ path.<TBD lead>). Adapt to the team's sizing if any (S = 2h, M = half-day, L = day, otherwise split).tasks.json (step contract below) — the same model the markdown reflects, in machine form, at docs/features/<slug>/tasks/tasks.json._epic.md + the task files. Otherwise provide copy-paste-ready bodies. Never hard-bind to one tracker.acs cover every PRD §5 AC; tasks.json validates against the contract.13: task-breakdown for <slug> (breakdown + tasks.json). Then emit the stage-handoff block per ../_shared/handoff.md — What I did + Review (tasks/, tasks/tasks.json) + Run next (/clear, then /sdlc:plan-tests <slug>, then /sdlc:implement-tasks <slug>).tasks.json contract (read by implement-tasks){
"slug": "<slug>",
"tasks": [
{
"id": "T1",
"title": "imperative, specific",
"layer": "migration|domain|infra|app|ports|ui|tests|wiring|docs",
"deps": ["T0"],
"acs": ["AC-01", "AC-02"],
"dod": "one testable sentence",
"files_hint": ["path/or/dir/the/task/touches"]
}
]
}
tasks.json use the same field names (deps, acs) — this skill emits both from one model, so there's no translation layer to drift.deps must form a DAG (no cycles) and reference only ids present in the file. The DAG edges are the deps arrows; the _epic.md flowchart renders the same edges.implement-tasks reads the DAG): layer: migration tasks are serialized into the ordered migration sequence; layer: ui is not auto-serialized (UI tasks parallelize); tasks with overlapping files_hint are serialized into the same lane regardless of layer. Everything else with no shared lane and satisfied deps runs in parallel within a phase.sad.md frontmatter target_surfaces (a UI surface adds ui; a backend-only feature has none) → ../_shared/surfaces.md.tasks/_epic.md + tasks/tracker.md + one tasks/<task>.md per task exist, linking (not duplicating) upstream.tasks/tasks.json exists and validates: acyclic deps, every acs entry is a real PRD §5 AC, every task has a dod and a files_hint.acs.tasks.json out of sync with the markdown — they must reflect the same model.ui task that recreates an existing primitive (Button/Card/modal) or introduces a second styling system instead of composing architecture-map.md §Frontend../templates/_epic.md · ./templates/tracker.md · ./templates/task.md../_shared/size-matrix.md — how many tasks for the feature size.../_shared/surfaces.md — target_surfaces (read from sad.md) gates which layers appear; a UI surface adds the ui layer (not auto-serialized).../_shared/mermaid-check.md — validate the _epic.md DAG flowchart before committing.../_shared/handoff.md — the stage-handoff block emitted as the final output.User:
/sdlc:break-tasks rate-limiting-per-userSkill behavior:
test -fPRD + sad.md + ADR-0001 → OK.- Reads PRD §5 AC, sad.md §5 (module
middleware/rate-limit/*,internal/quota-config/*),target_surfaces: [backend-service](nouilayer), data-model (staged migration<NN>_quota_config), ADR-0001.mkdir -p docs/features/rate-limiting-per-user/tasks/→ writes_epic.md(with the DAGflowchart, validated permermaid-check.md),tracker.md, 10<task-slug>.mdstories that LINK to PRD §AC-3 / sad.md §6 UC-1 / ADR-0001 instead of duplicating their content, andtasks.json.- Tasks: (T1) staged migration
<NN>_quota_config+ down; (T2) entityRateLimitTier+QuotaConfigdomain; (T3) repo for quota-config; (T4) serviceQuotaConfigService; (T5) handlerPOST /v1/quota-configs+ tests; (T6) handlerGET/PATCH/DELETE+ tests; (T7) middleware (token-bucket); (T8) wiring in composition root; (T9) metrics + eventrate_limit.exceeded.v1; (T10) E2E test on happy + 429.- Each ≤1 day. T5/T6 split because together >500 LOC.
- Deps: T2→T3→T4→T5→T6; T1 parallel with T2; T4→T7→T8; T9→T8; T8→T10.
layer: migration(T1) serialized; T5/T6 share afiles_hintlane → serialized.- DoD: T1 — staged migration promoted to live then applies + reverts cleanly; T5 — handler tests pass + openapi example valid for AC-03; T10 — E2E green.
- Estimate: T1=S, T2=M, T7=L, … total ~9 person-days.
- Owners: T1–T4 — @alice; T5–T8 — @bob; T9–T10 — @charlie.
- Self-check → atomic ✅, DAG acyclic with ≥1 parallel branch ✅, DoD per task ✅, every PRD §5 AC covered by ≥1
acs✅,tasks.jsonvalidates ✅.- Commit:
13: task-breakdown for rate-limiting-per-user (breakdown + tasks.json).- Handoff block → Run next
/clear→/sdlc:plan-tests rate-limiting-per-user→/sdlc:implement-tasks rate-limiting-per-user.
What SKILL.md sets; muted values are Claude Code's defaults
/sdlc:break-tasksfrom 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./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}./decide-adrTriggers: "ADR for {decision}", "adr for {slug}", "document the decision on {topic}", "lock in the decision about {X}", "MADR for {topic}", "/sdlc:decide-adr {slug} {title}", "create ADR for a decision", "document the decision", "ADR on {topic}". Use to record a post-hoc or asynchronous architecture decision as a MADR ADR when it was NOT captured during the synchronous architecture-design pass — a choice made in code, in a chat, on a whiteboard, or one a break-tasks / review gate flagged as missing. Confirms the decision is ADR-worthy via the blast-radius gate, picks the next 4-digit number, copies architecture-design's MADR template, and fills context / drivers / considered options / outcome / honest consequences. Supports a Proposed → Accepted review flow. Output: docs/features/{slug}/adr/NNNN-{title}.md. For decisions made live with the user, use sdlc:architecture-design — it spawns ADRs inline (Accepted).Other plugins' skills for the same job