Agent Skills
› harumiWeb/exstruct
› adr-linter
adr-linter
GitHub用于审查已存在的ADR草稿,依据治理规范和模板检查状态、必备章节、证据质量及替代链接等合规性。在合并或评审前提供按严重程度排序的发现报告,确保决策记录的完整性和平衡性。
Trigger Scenarios
用户请求审查ADR草稿的合规性
准备合并或评审ADR前的自动检查
Install
npx skills add harumiWeb/exstruct --skill adr-linter -g -y
SKILL.md
Frontmatter
{
"name": "adr-linter",
"description": "Review an ExStruct ADR draft for required sections, status values, evidence quality, supersede links, and balanced consequences. Use when an ADR already exists in draft form and you need findings before review or merge."
}
ADR Linter
Review the ADR as a decision record, not as prose polish.
Read
dev-docs/agents/adr-governance.mddev-docs/agents/adr-workflow.mddev-docs/adr/template.md- Related ADRs if the draft mentions supersede or overlap
Workflow
- Validate the status value.
- Check that the ADR has
状態,背景,決定,影響,根拠,Supersedes, andSuperseded by. - Verify that
根拠contains concreteTests,Code, orRelated specs. - Check that consequences include tradeoffs, not only benefits.
- If supersede or replacement is claimed, verify the referenced ADR links are present and consistent.
Output Contract
Return findings first, ordered by severity.
high: contract hole, missing decision, invalid status, missing supersede linkagemedium: weak context, weak evidence, one-sided consequenceslow: clarity or consistency issues
If no findings exist, say that explicitly and mention any residual review risk.
Version History
- 92bc120 Current 2026-07-05 14:53


