Agent Skills
› harumiWeb/exstruct
› adr-reconciler
adr-reconciler
GitHub用于审计架构决策记录(ADR)与当前规范、测试及源码的一致性,检测策略漂移、缺失更新或陈旧引用等偏差。在合并后、定期审计或怀疑实现偏离时使用,生成包含证据矩阵和推荐行动的审计报告。
触发场景
代码合并后验证 ADR 一致性
执行定期 ADR 合规性审计
怀疑实现与 ADR 存在分歧时
安装
npx skills add harumiWeb/exstruct --skill adr-reconciler -g -y
SKILL.md
Frontmatter
{
"name": "adr-reconciler",
"description": "Audit ExStruct ADRs against current specs, tests, and source code to detect policy drift, missing ADR updates, stale references, and evidence gaps. Use after merges, during periodic ADR audits, or when a review suspects that implementation and ADRs have diverged."
}
ADR Reconciler
Audit the current decision records before proposing new text.
Read
dev-docs/agents/adr-governance.mddev-docs/agents/adr-workflow.mddev-docs/specs/adr-index.md- Target ADRs under
dev-docs/adr/ - Related files under
dev-docs/specs/,tests/, andsrc/
Workflow
- Select the target ADRs from changed domains, explicit ADR IDs, or related index entries.
- Read each ADR claim and the linked specs, tests, and implementation paths.
- Build an evidence matrix for every finding:
adrspecssrctests
- Classify findings as one of:
policy-driftmissing-adr-updatemissing-evidencestale-reference
- Recommend the next action:
update-adrnew-adrupdate-specsadd-testsno-action
Output Contract
Return a concise audit result with:
scopeadrsspecssrctests
findings
Each finding should include:
typeseverityclaimaffected ADRsevidence matrixadrspecssrctests
recommended action
Do not silently rewrite ADR text. If the finding implies a new or changed policy, route back through adr-suggester and adr-drafter.
版本历史
- 92bc120 当前 2026-07-05 14:53


