architecture-decision-records
Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.
Author
Category
Document ProcessingInstall
Download and extract to your skills directory
Copy command and send to OpenClaw for auto-install:
Architecture Decision Records - Skill Details
Skill Overview
Architecture Decision Records (ADR) are a lightweight document pattern used to record the context, reasons, and consequences of important technical decisions. They help engineering teams establish transparent decision-making processes and provide traceability and auditability for architectural decisions.
Applicable Scenarios
1. Making Significant Architectural Decisions
When the team needs to make technical choices that have long-term impact on the system—such as selecting a new framework, choosing database technology, or deciding on API design patterns—use ADRs to capture the decision context, considered options, and trade-offs, ensuring the decision process is transparent and traceable.
2. Documenting Technology Selection
When evaluating and choosing technical solutions, use ADRs to record each option's pros and cons, the rationale for the decision, and the expected consequences. This helps team members understand "why this option was chosen over that one" and provides a basis for future technical retrospectives.
3. Establishing Team Decision Processes
Set up a standardized decision-recording process for the engineering team, including ADR directory structure, review workflows, and status management, so new members can quickly learn past decisions and facilitate knowledge transfer and collaboration.
Core Features
1. Multiple Template Support
Provide a variety of ADR templates to suit different scenarios: the standard MADR format for complete architectural decisions; lightweight templates for quick notes; Y-Statement format for concise expressions; RFC style for complex decisions requiring broad discussion; and deprecation templates for documenting the path of technical evolution.
2. ADR Lifecycle Management
Full decision status flow: from Proposed to Accepted, then to Deprecated or Superseded, clearly recording the evolution of each decision. Support automation of management using tools like adr-tools.
3. Integrated Decision Documentation
Record not only the decision itself but also the decision context, driving factors, considered options, pros and cons, implementation plan, related decision links, and other complete information, forming an interconnected decision knowledge network.
Frequently Asked Questions
What are Architecture Decision Records (ADR)?
ADRs are a lightweight document pattern for recording important architectural and technical decisions. Each ADR captures three core elements: Context (why the decision is needed), Decision (what was decided), and Consequences (the outcomes of the decision). ADRs are immutable; if a change is needed, create a new record to replace the old one, thereby preserving a complete decision history.
When should ADRs be written, and when are they not needed?
Scenarios that warrant ADRs include new framework adoption, database technology selection, API design patterns, security architecture, integration patterns, and other decisions that have long-term impact on the system. Scenarios that do not require ADRs include minor version upgrades, bug fixes, implementation details, routine maintenance, and configuration changes. The rule of thumb is whether the decision will affect the architectural direction for a year or longer.
How can you get the team to adopt the ADR process?
Start from real needs: choose an important decision currently under discussion and record it using an ADR template to demonstrate how it helps focus the discussion. Set reasonable thresholds: not every implementation detail needs an ADR—use them only for truly important decisions. Use tool support: employ adr-tools to simplify creation and management. Regularly review: discuss ADRs in stand-ups or architecture reviews to build the habit of reading and referencing them.