Adr write

From weisser-dev/awesome-opencode · View interactive version

Adr write is an AI agent skill from the GitHub repository weisser-dev/awesome-opencode. Create Architecture Decision Records using the Michael Nygard template with context, decision, alternatives, and consequences

How to use this skill

Skill file

What I do

When to use me

Use this skill when you need to:

Process

  1. Discover: Check for existing ADRs in the project
  1. Gather context: Understand the decision to be made
  1. Enumerate alternatives: List all viable options
  1. Draft the ADR: Write using the template below
  1. Assign number and status: Follow the project's convention
  1. File the ADR: Save to the project's ADR directory

ADR Template

# ADR-NNNN: Title

**Date:** YYYY-MM-DD
**Status:** Proposed | Accepted | Deprecated | Superseded by ADR-XXXX

## Context

Describe the forces at play. What is the issue that motivates this decision?
Include technical context, business requirements, and constraints.

## Decision Drivers

- Driver 1 (e.g., performance requirements)
- Driver 2 (e.g., team expertise)
- Driver 3 (e.g., operational cost)

## Considered Alternatives

### Option A: [Name]
- **Pros:** ...
- **Cons:** ...

### Option B: [Name]
- **Pros:** ...
- **Cons:** ...

### Option C: [Name]
- **Pros:** ...
- **Cons:** ...

## Decision

State the decision clearly: "We will use [Option X] because..."

## Consequences

### Positive
- Benefit 1
- Benefit 2

### Negative
- Trade-off 1
- Trade-off 2

### Neutral
- Observation that is neither positive nor negative

## References

- [Link to relevant documentation]
- [Link to benchmark results]

ADR Status Lifecycle

Proposed -> Accepted -> (Deprecated | Superseded by ADR-XXXX)

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.