adr
Create architecture decision records using MADR 4.0 format
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create architecture decision records using MADR 4.0 format
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create effective D2/Mermaid diagrams optimized for terminal display
Add an image to a decision document — rename, move to docs/assets/, insert reference
Create blameless incident reports and post-mortems
Complete Mermaid flowchart reference — shapes, edges, subgraphs, styling
Complete Mermaid sequence diagram reference — participants, arrows, activations, control flow
Create business opportunity documents with thorough questioning
| name | adr |
| description | Create architecture decision records using MADR 4.0 format |
Capture a technical architecture decision using MADR 4.0 format.
Check existing context:
dg list
dg validate
Link to OPP when applicable: If this ADR implements a business opportunity, reference it.
Create the ADR:
dg new adr "Use Ruby on Rails with PostgreSQL"
Fill in the document:
proposed — Under discussion, not yet decidedaccepted — Decision is final and activedeprecated — No longer relevantsuperseded — Replaced by a newer ADR (link to it)implements: fieldimplements: or conflicts_with: fieldsdepends_on: for decisions that block or are blocked by other docs<!-- FIXME: ... --> for information gaps that need follow-up