AGENT SKILL

architect-adr-writer

暂无简介

License 许可
MIT
所属仓库
lookatitude/guild
最近更新
2026-11-06
Stars
★ 8
Forks
0

02 资源文件 1

03 SKILL.md 正文

architect-adr-writer

The ADR is the evidence trail a future reviewer follows to understand why, not just what.

What you do

Write one ADR following the classic MADR/Nygard shape, scoped to a single decision. The ADR is short enough to read in under three minutes and specific enough that six months from now a new teammate can reconstruct the reasoning without asking.

  • Name the decision in the title as a resolved sentence: "Use Postgres for the events store" not "Events store".
  • Include Status (Proposed / Accepted / Superseded), Date (today), and Deciders (roles or names if known).
  • Write Context as the forces in play — constraints, prior commitments, what made this a decision worth recording.
  • List Drivers (the 2–5 criteria that actually moved the choice).
  • Enumerate Options considered with one-line pros/cons — including the rejected ones, by name.
  • State the Decision as a single declarative sentence plus a short justification tied back to drivers.
  • List Consequences — positive, negative, and follow-up work created by the choice.

Output shape

A markdown file at .guild/runs/<run-id>/adr/<slug>.md, 60–150 lines. Sections in order:

# ADR: <decision sentence>

- Status: Accepted
- Date: YYYY-MM-DD
- Deciders: <roles>

## Context
## Drivers
## Options considered
## Decision
## Consequences

Anti-patterns

  • Skipping alternatives — an ADR without rejected options is a press release.
  • No date / no status — then nobody knows if it's still in force.
  • No consequences — a decision without downsides is a sales pitch, not a record.
  • Rewriting history — do not edit an accepted ADR silently; supersede it with a new one and link both.
  • Scope creep — one decision per ADR. Two decisions = two files.

Handoff

Return the ADR path to the invoking architect specialist. If the user wants the decision mirrored into the durable project wiki, the architect hands off to guild:decisions — this skill writes the per-run artifact; guild:decisions owns wiki/decisions/. This skill does not itself dispatch.

04 同仓库更多 Skills