/sdlc-documentation:05-architecture-decision-recordsfrom sdlc-documentation
Records consequential architecture decisions with context, options, rationale, consequences, owner, and supersession path. Use for structured ADR creation.
Ships in sdlc-documentation. 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.
| Artefact | Source or provider | Required? | Missing-input behaviour |
|---|---|---|---|
| Decision problem; architectural context; constraints; viable options; evaluation evidence; affected interfaces; decision owner | Architecture owner and affected engineering or operations teams | Yes | Stop dependent work; name the missing item, owner, and decision impact. A review check remains not assessed. |
| Scope, audience, baseline/version, and accountable decision owner | Requester or project context | Yes | Ask for or record the gap; do not infer authority or scope. |
Default to read-only. Read and search access to the supplied artefacts are required. Editing is limited to an explicitly authorised requested draft or project files. Execute validation only when authorised; publishing, signature, certification, production mutation, destructive action, spending, and risk acceptance require explicit authority.
When files, tools, network, rendering, fonts, execution, or evidence are unavailable, return the narrowest useful qualified draft or finding set. Name every unavailable check and its consequence; an unassessed check is never a pass. Preserve evidence already gathered and provide the exact next verification step.
| Condition | Action | Failure or risk avoided |
|---|---|---|
| A required source, owner, obligation, or acceptance condition is missing | Stop the affected claim and record the gap | Unsupported governance artefact |
| Evidence satisfies the declared acceptance condition | Record the decision and hand off to the named consumer | Ambiguous approval or release |
not assessed and never convert it into a pass.| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| Architecture Decision Records | Accountable reviewer, control owner, auditor, or release authority | Each ADR records options, rationale, consequences, status, owner, date, and supersession links without rewriting history. |
| Gap and decision record | Accountable owner and downstream reviewer | Every gap has status, impact, owner, next action, and no unsupported pass or approval. |
| Evidence | Contents | Acceptance condition |
|---|---|---|
| Architecture Decision Records evidence record | Source identifiers, scope/version, decisions, checks, exceptions, and approval state | A reviewer can reproduce each material conclusion from named sources. |
| Validation record | Check, result (pass, fail, or not assessed), evidence location, date, and actor | No required check is omitted or silently treated as passed. |
superseded_by points to a real ADR; every catalog entry has a matching file.28-anti-ai-slop during authoring and 29-ai-slop-audit at major checkpoints and release.not assessed, state impact, and block dependent claims.adequate, secure, or user-friendly. Fix: Replace each with an observable criterion, threshold, and evidence source.Example: if a required source, owner, obligation, or acceptance condition is missing, stop the affected claim and record the gap. Record the evidence and result in the validation record; this avoids unsupported governance artefact.
SaaS mode: if the project is a multi-tenant SaaS, see
references/saas-adr-catalogue.mdfor the expected ADR families.
This skill produces one Architecture Decision Record (ADR) per significant architectural choice and registers it in the project ADR catalog. The catalog is the auditor-facing index the Phase 09 gate reconciles against the filesystem.
Adapted from ECC's
architecture-decision-recordsskill (upstream repository github.com/affaan-m/ECC), whose contribution over a plain template is that it is a capture mechanism, not just a format to fill in by hand.
Do not wait for the user to say "record an ADR." Treat the following as signals that a decision moment just occurred, and suggest capturing it — never auto-create the file without explicit confirmation:
Explicit signals
The specific rejection-capture trigger
Either phrasing means a rejected alternative exists somewhere in the conversation that just happened. Do not let it evaporate — extract it into the Alternatives Considered block (below) in the same turn, while the reasoning is still available, rather than reconstructing it later from memory.
Every rejected alternative recorded in an ADR MUST carry an explicit reason
it was rejected, not only a pros/cons list. Pros and cons describe the
option; "why not" is the actual rejection rationale, and it is the part of
an ADR that survives and the part AI-drafted ADRs most often omit. Use this
shape for each alternative, matching the ADR body template already in this
skill's Output Contract:
### Alternative: [Name]
- **Pros:** [benefits]
- **Cons:** [drawbacks]
- **Why not:** [the specific reason this alternative was rejected — not
"it was worse", but the concrete constraint, cost, or risk that decided it]
An alternative entry without a "Why not" line fails this skill's quality
check the same way a missing decider or a dangling superseded_by does —
"we just picked it" is not a valid rationale (see Anti-Patterns above).
ADR-NNNN.projects/<ProjectName>/09-governance-compliance/05-adr/NNNN-slug.md.projects/<ProjectName>/_registry/adr-catalog.yaml.status: superseded and its superseded_by field.AdrCatalogCheck.projects/<ProjectName>/09-governance-compliance/05-adr/NNNN-<slug>.md — content follows the ADR template.projects/<ProjectName>/_registry/adr-catalog.yaml — validated against engine/registry/schemas/adr-catalog.schema.json.proposed — drafted but not yet ratified by deciders.accepted — ratified; in force.deprecated — no longer recommended but not replaced.superseded — replaced by another ADR; superseded_by field MUST point to an existing catalog ID.adrs:
- id: ADR-0001
title: "Use PostgreSQL 15 as the primary RDBMS"
status: accepted
decided_on: 2026-04-16
deciders: ["Chief Architect", "Tech Lead"]
affects: ["03-design-documentation"]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.Other plugins' skills for the same job