adr

Create structured Architecture Decision Records with weighted decision matrices and adversarial reviews.

7|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/camilooscargbaptista/cto-toolkit --skill adr-camilooscargbaptista
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adr
Source: https://github.com/camilooscargbaptista/cto-toolkit/tree/main/adr
Command: npx skills add https://github.com/camilooscargbaptista/cto-toolkit --skill adr-camilooscargbaptista

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Captures the context, reasoning, and consequences of significant technical decisions so teams have durable institutional memory and aligned decision-making. It prevents ad-hoc choices, reduces rework, and ensures future teams understand why a particular architecture or technology was chosen.

Core Features & Use Cases

  • Philosophy-First Templates: Provides an Architectural Identity template to declare quality attributes, trade-offs, and non-negotiables before exploring options.
  • Structured Decision Exploration: Includes an ADR template with context, decision statement, alternatives, a weighted decision matrix, consequences, and references to quantify choices.
  • Adversarial Review Integration: Invokes an adversarial-reviewer agent to stress-test assumptions, surface biases, and validate decision scores.
  • Governance & Storage Guidance: Recommends naming conventions and file locations (e.g., docs/adr/NNNN-title.md) so ADRs are discoverable and auditable.
  • Use Case Example: Choose a primary database, compare PostgreSQL vs. managed NoSQL with weighted criteria tied to the Architectural Identity, and record the winning decision plus mitigations.

Quick Start

Create an ADR by defining the Architectural Identity, evaluating alternatives in the ADR template, and requesting an adversarial review to challenge the decision.

Frequently Asked Questions about adr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is an Architecture Decision Record and when should I document one?

An Architecture Decision Record (ADR) documents the context, reasoning, and consequences of significant technical decisions. You need an ADR for hard-to-reverse choices like framework selections, API contracts, and infrastructure strategies where trade-offs must be recorded.

How do I write an ADR that captures context and trade-offs?

To write an ADR, define an Architectural Identity declaring quality attributes and non-negotiables, evaluate alternatives in a weighted decision matrix, state explicit consequences, and request an adversarial review to stress-test assumptions before recording the final decision.

Can I use an ADR template for choosing a primary database like PostgreSQL?

Yes, you can use an ADR template for choosing a primary database. It helps compare options like PostgreSQL versus managed NoSQL by applying weighted scoring criteria tied to your Architectural Identity, recording the winning decision and required mitigations.

How does adversarial review improve architecture decision records?

Adversarial review improves architecture decision records by stress-testing assumptions, surfacing biases, and validating decision scores. This integration ensures your technical choices are durable, reduces rework, and provides future teams with reliable institutional memory.

What is the best way to store ADRs for team documentation and audits?

The best way to store ADRs for team documentation and audits is using recommended naming conventions and file locations such as docs/adr/NNNN-title.md. This structured governance ensures your decision records remain discoverable and auditable.

What should an ADR include to prevent ad-hoc technical choices?

An ADR should include an Architectural Identity, a decision statement, alternatives, a weighted decision matrix, explicit consequences, and references. Capturing these elements prevents ad-hoc choices and ensures future teams understand why specific architectures were chosen.