Records post-hoc or asynchronous architecture decisions as MADR ADRs when they were missed during the synchronous design pass. Confirms worthiness via blast-radius gate, numbers the ADR, fills context/drivers/options/outcome/consequences, and supports a Proposed→Accepted review flow.
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.
None: SKILL.md is the whole skill.
The post-hoc / asynchronous ADR path. architecture-design spawns ADRs synchronously and marks them Accepted while walking the decision Socratically; decide-adr records a decision that missed that pass — already in code, agreed in a chat, sketched on a whiteboard, or flagged by a break-tasks / review gate as a contract with no ADR behind it. It can also run a Proposed → Accepted review flow when the decision still needs a reviewer's sign-off. One file = one decision; it reuses architecture-design's MADR template, so there is no second ADR format here.
It is a recording utility, not a Socratic design stage — it does not run the shared Socratic loop or critic. The two shared dependencies are question phrasing and the worthiness gate:
→ ../_shared/ask-style.md · ../architecture-design/references/blast-radius-heuristic.md
Decision author (usually the Architect or Tech Lead). A reviewer (Tech Lead, plus Security when relevant) signs off the Proposed → Accepted transition.
<slug> — the feature slug, same as every earlier stage.<title> — kebab-case, describes the decision, not the problem (time-sortable-ids, not id-strategy).sad.md §4 Solution strategy / §9 ADR index / §11 Risks, or supplied by the user.docs/features/<slug>/ to exist, ideally with sad.md (decide-adr reads its §4/§9/§11 for context and drivers). If the decision is genuinely standalone — no feature folder yet — allow it, but note the missing design context in the ADR's Context section and warn the user, rather than refusing.test -d docs/features/<slug>. Missing → ask whether to proceed standalone (phrasing per ../_shared/ask-style.md). On «yes», create docs/features/<slug>/adr/ and flag that design context is absent. sad.md present → read its §4 (strategy), §9 (existing ADR index), §11 (risks); absent → note it and source context from the user.../architecture-design/references/blast-radius-heuristic.md (irreversible / multi-module / has legitimate alternatives). 2-of-3 → proceed. Below the bar → tell the user it is likely inline-in-sad.md material, not an ADR, and confirm before writing one anyway.ls docs/features/<slug>/adr/*.md 2>/dev/null. An Accepted ADR on the same topic exists → don't duplicate: propose either editing it or a new ADR that marks the old one Superseded by NNNN (and stamps the old one's status + updated_at).NNNN = (count of existing adr/*.md) + 1, zero-padded to 4 digits (0001, 0002, …). Never reuse a number.../architecture-design/templates/adr-template.md → docs/features/<slug>/adr/NNNN-<title>.md. This is the canonical MADR shape, owned by architecture-design and referenced here — do not invent a variant. Patch frontmatter: owner, updated_at: <today>, feature_size (from .size if present), ticket.sad.md is absent — an explicit note that there is no design document, so the context is reconstructed from the author.sad.md §2 Constraints, a §1 top-3 quality goal). Don't invent drivers; they filter out pet decisions.<!-- TBD --> only where a number honestly needs a spike.Proposed while a reviewer still has to sign off; Accepted once final. Run the review flow when needed: write Proposed, fill reviewers, and on sign-off flip to Accepted and bump updated_at. A reader six months on must be able to tell a live plan from a settled fact.sad.md §9 ADR index (and link from tasks/_epic.md if the ADR scopes a specific task). The ADR's own ## Links must point up to the PRD + the relevant sad.md §N — no orphans.adr: <slug> NNNN <title>. Then emit the stage-handoff block per ../_shared/handoff.md (utility variant) — What I did + Review (adr/NNNN-<title>.md) + Run next: resume the gate that needed it (/sdlc:break-tasks <slug> or /sdlc:plan-tests <slug>); /clear optional.docs/features/<slug>/adr/NNNN-<title>.md exists in architecture-design's MADR format (frontmatter + Context + Decision drivers + Considered options + Decision outcome + Consequences + Links).NNNN is correct (existing count + 1, 4-digit) and the title is in decision-form (0007-time-sortable-ids.md ✓ vs 0007-id-strategy.md ✗).status is explicit — Accepted (final) or Proposed (reviewer pending, reviewers filled).sad.md §9 (when sad.md exists) and the ADR's ## Links point up to PRD + sad §N. A genuinely standalone ADR notes the missing design context instead.Superseded by NNNN, never silently duplicated.architecture-design (spawned inline, Accepted); decide-adr is for what missed that pass.PRD.md / data-model.md / contracts.0007-id-strategy.md) — in the §9 index it's unclear which decision exists. Use the decision (0007-time-sortable-ids.md).../architecture-design/templates/adr-template.md; a second ADR format fragments the genre.## Links up to PRD/sad — six-month archaeology can't find it.../architecture-design/templates/adr-template.md — the canonical MADR scaffold this skill copies and fills (owned by architecture-design; do not duplicate it here).../architecture-design/references/blast-radius-heuristic.md — the 3-criteria worthiness gate (irreversible / multi-module / legitimate alternatives); same gate architecture-design runs, applied here to confirm the decision earns an ADR.../_shared/ask-style.md — phrasing for the standalone-confirm, worthiness-borderline, and Superseded questions.User: «ADR for time-sortable-ids on checkout-discounts —
break-tasksflagged a missing ADR for the id-generation choice» Skill:docs/features/checkout-discounts/exists withsad.md→ reads §4/§9/§11. Blast-radius: id strategy is irreversible (a switch later needs a backfill across every row) + multi-module (other modules read the ids) → 2-of-3, proceed.ls adr/→0001,0002exist →NNNN = 0003. Title0003-time-sortable-ids.md(decision-form). Copies../architecture-design/templates/adr-template.md. Context: the §11 risk on hot-row contention forced an explicit id choice. Drivers: PRD NFR (predictable ordering) + the existing capability in the stack. Options: (a) time-sortable ids generated in the app; (b) database auto-increment; (c) random ids. Outcome: «Chosen: (a)» — keeps natural ordering without a central sequence; (b) couples to one writer, (c) loses ordering. Consequences: + ordered without coordination; − slightly larger ids than auto-increment; neutral: switching later needs a backfill. StatusAccepted. Adds a §9 row, fills## Links. Commitadr: checkout-discounts 0003 time-sortable-ids.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
adr, architecture-decision-record, madr, sdlc, decision-recording
24 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./sdlc:decide-adrfrom sdlc
npx claudepluginhub genkovich/sdlc --plugin sdlcOther plugins' skills for the same job