Agent Skills
› harumiWeb/exstruct
› adr-drafter
adr-drafter
GitHub用于根据 Issue、PR、代码差异及测试规范,起草新的架构决策记录(ADR)或更新现有 ADR。该技能强调区分政策背景与实现细节,提取上下文、决策及其后果,并引用具体证据,确保产出结构化的政策记录而非实施备忘录。
Trigger Scenarios
需要为新决策创建 ADR
需要对现有 ADR 进行更新或修订
Install
npx skills add harumiWeb/exstruct --skill adr-drafter -g -y
SKILL.md
Frontmatter
{
"name": "adr-drafter",
"description": "Draft a new ExStruct ADR or propose an update to an existing ADR from an issue, PR, diff, tests, and specs. Use when an ADR is required or recommended and you need a structured draft with context, decision, consequences, and evidence."
}
ADR Drafter
Draft a policy record, not an implementation memo.
Read
dev-docs/agents/adr-governance.mddev-docs/agents/adr-criteria.mddev-docs/agents/adr-workflow.mddev-docs/adr/template.md- Related ADRs under
dev-docs/adr/
Workflow
- Confirm whether the target is a new ADR or an update to an existing ADR.
- Read the issue, diff, relevant specs, tests, and implementation files.
- Extract:
- policy-level context
- chosen decision
- positive and negative consequences
- concrete evidence from
tests,code, andrelated specs
- Produce one of these outputs:
- a new ADR draft
- an update proposal for an existing ADR
ADR not neededwith rationale
Draft Rules
- Keep
whyin the ADR and leave detailedhowin code or specs. - Fill
Tests,Code, andRelated specswhenever possible. - If the policy replaces an old one, state the supersede relation explicitly.
- If evidence is missing, say so instead of inventing support.
Version History
- 92bc120 Current 2026-07-05 14:53


