skills/adr/SKILL.md
Creates and maintains Architecture Decision Records (ADRs) following a structured format with State, Context, Decision, Considered, Consequences, Implementation, and References sections. Supports single-option decisions, multi-option decisions within one decision scope, multiple complementary decisions, and deferred decisions. Use when creating, updating, or reviewing architectural decisions, or when the user mentions ADR, architecture decisions, technical decisions, or design records.
npx skillsauth add sentenz/skills adrInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Instructions for AI agents on creating and maintaining Architecture Decision Records (ADRs) to document significant architectural and technical decisions within a project.
Traceability
ADRs provide a historical record of architectural decisions, enabling teams to understand why specific choices were made, reducing the risk of revisiting resolved problems.
Knowledge Sharing
Documenting decisions and their rationale helps onboard new team members quickly and ensures shared understanding across the organization.
Accountability
Clearly identifying authors, dates, and decision status creates ownership and transparency around architectural choices.
Informed Alternatives Review
Recording considered alternatives with their pros and cons enables future reviewers to evaluate whether circumstances have changed enough to revisit a decision.
Consequence Awareness
Explicitly documenting positive and negative consequences of a decision helps teams prepare mitigations and set realistic expectations.
ADRs should embody the following characteristics to maximize their value.
Atomic
Each ADR addresses one clearly scoped decision concern. A single ADR may select one option or multiple complementary options from Considered, but it must not bundle unrelated decision concerns in one record.
Immutable
Once an ADR reaches
Acceptedstatus, its content should not be altered retroactively. Changes in direction require a new ADR that supersedes the old one.
Concise
ADRs should be as brief as the decision complexity allows. Use bullet points, tables, and structured sections rather than long prose.
Linked
Cross-reference related ADRs, issues, pull requests, and external resources to build a navigable decision graph.
Each ADR moves through a defined set of statuses.
Proposed
The decision is under active discussion and has not yet been formally accepted.
Accepted
The decision has been reviewed and approved. Implementation may proceed.
Rejected
The proposal was reviewed but not accepted. The rationale for rejection must be documented in the Context or Consequences section.
Deprecated
The decision was once valid but is no longer applicable. A newer decision should be referenced.
Superseded
The decision has been replaced by a newer ADR. The superseding ADR number and link must be provided.
The State section captures administrative metadata for the ADR.
Author(s)
Initials or usernames of the individuals who authored the ADR.
Date
The date the ADR was created or last meaningfully updated (ISO 8601 format:
YYYY-MM-DD).
Status
The current lifecycle status of the ADR (see Status Lifecycle).
The Context section describes the circumstances that necessitated the decision.
Background
Explain the problem, requirement, or situation that needs to be addressed. Provide enough background for a reader unfamiliar with the project to understand why a decision was needed.
Decision Drivers
List the key criteria, constraints, and quality attributes that will guide the decision (e.g., performance, ease of use, maintainability, cost, compliance).
The Decision section records the decision outcome from the Considered options. The decision may take one of three forms:
One option from Considered is selected as the solution to the problem described in Context.
Multiple options from Considered are selected and may be complementary or interdependent, collectively forming the decision.
No options from Considered are selected at this time. The decision is deferred until more information is available or conditions change.
For each selected option, create a subsection with the option name and explain the rationale for its selection, referencing the decision drivers from Context. For deferred decisions, document the reason for deferral and the next steps to resolve it.
The Considered section enumerates all options evaluated during the decision process. Each option may be selected (wholly or partially), combined with others, or rejected in the Decision section.
Option Description
Briefly describe each option, including a link to its official documentation or repository.
Pros
List the strengths of the option relative to the decision drivers.
Cons
List the weaknesses, limitations, or risks of the option.
The Consequences section captures the impact of the decision once implemented.
Positive Consequences
Describe the expected benefits and improvements resulting from the decision.
Negative Consequences
Describe known trade-offs, technical debt, or limitations introduced by the decision.
Risks
Identify any residual risks or uncertainties that remain after the decision and outline planned mitigations.
The Implementation section provides actionable guidance for applying the decision.
Steps
Enumerate the concrete steps required to implement the decision.
Affected Areas
Identify the repositories, modules, or systems impacted by the decision.
Validation
Describe how conformance with the decision will be verified (e.g., linting rules, CI checks, code review criteria).
The References section lists all external and internal resources cited in the ADR.
Include links to official documentation, related ADRs, relevant issues, pull requests, and standards.
Identify
Identify a significant architectural or technical decision that needs to be made or documented (e.g., choice of framework, library, pattern, toolchain, or process).
Issue/Merge Request Creation
Create an issue or merge request in the relevant repository to propose the ADR. Use a descriptive title that follows the canonical ADR title schema (see Style Guide).
Number and Name
Assign the next sequential three-digit number and create a descriptive kebab-case file name derived from the canonical ADR title context following the convention:
NNN-adr-<topic>[-<scope>].md
Examples:
An
ADR on Dependency Manager for C/C++would have the file name015-adr-dependency-manager-c-cpp.md.
An
ADR on Git Hooks Managerwould have the file name016-adr-git-hooks-manager.md.
Place
Create the ADR file in the designated decisions directory:
docs/decisions/NNN-adr-<topic>[-<scope>].md
Draft
Fill in all sections using the ADR File Template. Set the status to Proposed.
Review
Submit the ADR for peer review via a pull request. Address feedback and update the content as needed.
Accept or Reject
Update the status to Accepted or Rejected once a decision is reached. Document the rationale for rejection if applicable.
Supersede
When a decision changes, create a new ADR and set its status to Accepted. Update the old ADR's status to Superseded and add a link to the new ADR.
Issue/Merge Request (MR) Title Refinement
When drafting or reviewing an issue or merge request that introduces or updates an ADR, refine the issue/MR title to match the canonical ADR title schema
ADR on <Topic> [for <Scope>]. Prefer consistency between issue title, merge request title, and ADR H1 title.
<Topic>
Should be a concise, specific technical concern, tool, or practice.
<Scope>
Optional. Include
for <Scope>only when it meaningfully narrows the decision applicability.
File Naming
Use the pattern
NNN-adr-<topic>[-<scope>].mdwith lowercase kebab-case for the title segment. The prefixNNNis a zero-padded three-digit sequence number (e.g.,001,012). The-<scope>segment is optional and must be omitted when scope is not present (do not leave a trailing dash). Derive the slug from the canonical ADR title.
Heading Levels
Use H1 (
#) for the ADR title, H2 (##) for top-level sections (State, Context, Decision, Considered, etc.), and H3 (###) for subsections (individual options or decisions under Decision or options under Considered). Support multiple decisions by using multiple H3 subsections under Decision (e.g., 3.1, 3.2, 3.3) when applicable.
Decision Drivers
Group decision drivers under a single numbered list item (
1. Decision Drivers). List each driver as a bullet (-) with a blockquote (>) providing a one-sentence description.
Alternatives
Each considered option should be an H3 subsection using the option's proper name. Use
- Pros/- Conswith nested blockquote descriptions for each point. Not all considered options must be selected in the Decision section; some may be documented here as rejected or deferred.
Status Field
Always include exactly one of the defined statuses:
Proposed,Accepted,Rejected,Deprecated, orSuperseded.
Superseded Link
When status is
Superseded, append a link to the superseding ADR in the State section:
- Superseded by: [NNN-adr-new-title](NNN-adr-new-title.md)
Language
Write in clear, formal English. Use present tense for the Decision section and past tense only when describing historical context.
TOC
Include a Markdown table of contents with anchor links at the top of each ADR.
Use this template for new ADRs. Replace all <placeholder> values with actual content.
# NNN-ADR: <Topic> [for <Scope>]
Architectural Decision Records (ADR) on <brief one-sentence description of the decision topic>.
- [1. State](#1-state)
- [2. Context](#2-context)
- [3. Decision](#3-decision)
- [3.1. <Option or Decision Name 1>](#31-<option-or-decision-anchor>)
- [3.2. <Option or Decision Name 2>](#32-<option-or-decision-anchor>)
- [4. Considered](#4-considered)
- [4.1. <Option 1 Name>](#41-<option-1-anchor>)
- [4.2. <Option 2 Name>](#42-<option-2-anchor>)
- [5. Consequences](#5-consequences)
- [6. Implementation](#6-implementation)
- [7. References](#7-references)
## 1. State
- Author(s): <initials or username>
- Date: <YYYY-MM-DD>
- Status: Proposed
## 2. Context
<Describe the problem, requirement, or situation that motivated this decision. Provide enough background for someone unfamiliar with the project to understand why a decision was needed.>
1. Decision Drivers
- <Driver 1>
> <One-sentence description of the criterion.>
- <Driver 2>
> <One-sentence description of the criterion.>
- <Driver 3>
> <One-sentence description of the criterion.>
## 3. Decision
### 3.1. <Option Name 1>
<Brief explanation of why this option was selected or how it contributes to the overall decision. Reference the decision drivers.>
1. Rationale
- <Driver 1>
> <How this option satisfies this driver.>
- <Driver 2>
> <How this option satisfies this driver.>
### 3.2. <Option Name 2>
<If multiple options are selected, include additional subsections for each chosen option. If no options are selected, document the deferral reason and next steps.>
1. Rationale
- <Driver 1>
> <How this option satisfies this driver.>
- <Driver 2>
> <How this option satisfies this driver.>
## 4. Considered
### 4.1. <Option 1 Name>
[<Option 1 Name>](<link-to-official-docs-or-repo>) <brief one-sentence description>.
- Pros
- <Strength 1>
> <Description.>
- <Strength 2>
> <Description.>
- Cons
- <Weakness 1>
> <Description.>
- <Weakness 2>
> <Description.>
### 4.2. <Option 2 Name>
[<Option 2 Name>](<link-to-official-docs-or-repo>) <brief one-sentence description>.
- Pros
- <Strength 1>
> <Description.>
- Cons
- <Weakness 1>
> <Description.>
## 5. Consequences
- Positive
- <Positive 1>
> <Expected benefits and improvements.>
- <Positive 2>
> <Expected benefits and improvements.>
- Negative
- <Negative 1>
> <Known trade-offs, technical debt, or limitations introduced.>
- <Negative 2>
> <Known trade-offs, technical debt, or limitations introduced.>
- Risks
- <Risk 1>
> <Residual risks and planned mitigations.>
- <Risk 2>
> <Residual risks and planned mitigations.>
## 6. Implementation
1. <Step 1>
<Describe the first implementation action.>
2. <Step 2>
<Describe the next implementation action.>
3. <Step 3>
<Describe validation or verification.>
## 7. References
- <Reference 1> [title](<url>) page/repo/article.
- <Reference 2> [title](<url>) page/repo/article.
tools
Performs end-to-end threat modeling for OT/ICS systems from Microsoft Threat Modeling Tool (TMT) threat-list exports (`*.csv`) and model files (`*.tm7`). Uses TMT and STRIDE for initial threat enumeration, then enriches each threat with OT/ICS context, MITRE ATT&CK for ICS mappings, MITRE EMB3D device-property threat enrichment for embedded field devices, CWE weakness classification, CVSS v4.0 scoring, Likelihood of Exploit, Risk-based Prioritization via a Risk Matrix, minimum-capable Threat Actor assignment, Risk Treatment decisions, and OT impact categories ranging from Denial of View to Physical Damage to Property.
development
Automates unit test creation for Go projects using the standard testing package with consistent software testing patterns including In-Got-Want, Table-Driven Testing, and AAA patterns. Use when creating, modifying, or reviewing unit tests, or when the user mentions unit tests, test coverage, or Go testing.
development
Automates fuzz test creation for Go projects using Go's native fuzzing engine with consistent software testing patterns. Use when creating fuzz tests, mutation testing, or when the user mentions fuzzing, coverage-guided testing, or property-based testing.
development
Automates benchmark test creation for Go projects using the standard testing package with consistent software testing patterns. Use when creating performance benchmarks, profiling tests, or when the user mentions benchmarking, performance testing, or optimization.