/d3nexus:decision-recordsfrom d3nexus
Writes Architecture Decision Records in Michael Nygard's format, and spike reports that state what would refute them. Use it when a technical decision needs recording, when one is being reversed, or after an investigation that produced a recommendation.
Ships in d3nexus. 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.
Two artefacts, one purpose: making a decision legible to whoever inherits it.
Announce at start: "I'm using the decision-records skill to record <decision>."
doc-lifecycle for ThisA single record sits below doc-lifecycle's threshold. Invoke this skill directly, write the
record, commit it. Three gates around one file nobody would reject is friction with no benefit.
Reach for doc-lifecycle only when a batch of records is being produced or backfilled as a single
piece of work.
Grounded in Michael Nygard, Documenting Architecture Decisions (2011). His wording for every
rule below: references/adr-source.md.
| Section | What it holds |
|---|---|
| Title | A short noun phrase |
| Context | The forces at play, described in value-neutral language |
| Decision | The response to those forces, in full sentences and active voice |
| Status | proposed, accepted, deprecated or superseded |
| Consequences | The resulting context, after applying the decision |
Note where Status sits: fourth, after Decision. Reordering an author's template while citing
him for it is a small dishonesty that costs nothing to avoid.
An accepted record is never edited. A reversal is a new record that supersedes it by number. This is the whole difference between an ADR and a wiki page: a wiki page always agrees with the present, which makes it worthless at exactly the moment someone needs to know what was believed at the time.
Legal transitions:
| From | To | |
|---|---|---|
proposed | accepted | allowed |
proposed | rejected | allowed |
accepted | deprecated | allowed |
accepted | superseded | allowed, by a new record that names it |
accepted | proposed | refused |
superseded | accepted | refused — write a new record instead |
Three categories — positive, negative and neutral — not two. A record whose consequences are all benefits is a sales pitch, and it will be read as one.
[!IMPORTANT] This rule is this kit's own addition — it is not Nygard's, and his 2011 article does not mention it. It comes from later ADR templates. Never cite him for it.
With that attribution stated, the rule stands: name what was considered and rejected, and why. That is precisely what nobody remembers six months later, and it is why teams reverse decisions that were correct — the reasons against the alternative are invisible, so the alternative looks free.
docs/adr/NNNN-kebab-case-title.md, zero-padded, sequential, never renumbered. A number is an
address: other records cite it, and renumbering breaks every citation silently.
For an investigation rather than a decision:
| Section | What it holds |
|---|---|
| Question | What was being decided, in one sentence |
| Method | What was actually done — measured, read, prototyped |
| Findings | What was observed, separated from what it implies |
| Recommendation | The proposed course of action |
| Confidence | High / medium / low, with the reason |
| What would change this conclusion | Mandatory. Name the observation that would overturn it |
The last field is what separates a report from an opinion. A recommendation that no evidence could overturn is not a finding — it is a preference, and it should be labelled as one.
All ADRs and spike reports MUST adhere to markdown lint and modern diagram standards:
#, no trailing punctuation in headings, mandatory language tags on all code fences, and clean formatting hygiene.flowchart TD/LR (NEVER legacy graph TD/LR), double-quote node labels with special characters, parentheses (), brackets [], braces {}, colons :, slashes /, ampersands &, use alphanumeric IDs, and avoid trailing semicolons.diamond for decisions ?, box for actions, plaintext for commands, ellipse for states, octagon for warnings, doublecircle for start/complete) and statement semicolons.accepted. Supersede it instead.Status in second place.doc-lifecycle gates around a single record.graph TD/graph LR).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub danhdue/ai-agent-tools --plugin d3nexus72 skills in this plugin
/android-api-integrationGenerates a standardized Network Module, API Interface, Remote Data Source, Repository, UseCase, Models, and ViewModel updates for Android using the Hybrid Network Architecture and MVI Pattern./android-quality-checkRead-only Android quality assurance provider implementing the common quality contract. Executes project-configured Gradle, Spotless, Detekt, and Konsist capabilities from .agents/quality/android-quality.json, enforces BCV and architecture policies, and outputs structured results bound to repository SHA./android-ui-auditAudits Jetpack Compose and Android UI code for recomposition stability, state hoisting, Material3 design system adherence, and modifier best practices.Other plugins' skills for the same job