Agent Skills
› harumiWeb/exstruct
› adr-reconciler
adr-reconciler
GitHub审计架构决策记录与代码、测试及规范的一致性,检测策略漂移和证据缺失。适用于合并后或定期审计场景,确保实施与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


