adr-generation ยท v1.1.0 ยท 2026-09-27 ยท sha256 d81ab67c1e4c8519

adr-generation v1.1.0A

Immutable. This exact content never changes and is served at /api/v1/blob/d81ab67c1e4c8519.

---
name: adr-generation
description: 'Formalizes architectural decisions into machine-readable ADR (Architecture Decision Record) documents.'
version: 1.1.0
last-updated: 2026-09-26
skills:
  - fabel-protocol
---

# ADR Generation Skill

Use this skill to produce formal Architecture Decision Records.

## ๐Ÿ”ด Hallucination Traps

- โŒ **Creating ADRs for trivial things** โ†’ โœ… Only generate ADRs for decisions that affect boundaries, dependencies, or scale.
- โŒ **Presenting one option as an "Alternative"** โ†’ โœ… Always research and list at least 2 viable alternatives.
- โŒ **Inventing Consequences** โ†’ โœ… Focus on concrete operational or code-level consequences (e.g., "Requires manual DB migrations").

## ๐Ÿ“‹ Pre-Flight Checklist

1. Have we identified the core problem?
2. Are there at least two viable alternatives?
3. Did we confirm the Minimal-Change Principle?

## ๐Ÿ“ ADR Markdown Template

Use the following strict template when generating an ADR. Save the file in `.agent/architecture/adrs/YYYY-MM-DD-title.md`.

```markdown
# ADR: [Short Descriptive Title]

## Context

[What is the problem we are solving?]

## Decision

[What is the selected approach?]

## Alternatives Considered

1. **[Option A]**: [Why it was rejected]
2. **[Option B]**: [Why it was rejected]

## Trade-offs

[What are the downsides of the chosen Decision?]

## Consequences

[What does this decision force us to do later? What are the operational impacts?]
```

## ๐Ÿ›ก๏ธ Verification-Before-Completion (VBC)

Before concluding, verify that the `system-model.yml` has been updated to reflect this ADR.