Agent skill
adr-linter
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.
Install this agent skill to your Project
npx add-skill https://github.com/harumiWeb/exstruct/tree/main/.agents/skills/adr-linter
SKILL.md
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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
adr-suggester
Determine whether a change in ExStruct needs an ADR, using repository-specific governance and criteria. Use when reading an issue, PR, review thread, or diff and you need a verdict of required, recommended, or not-needed, plus candidate ADR titles and related existing ADRs.
adr-reviewer
Review an ExStruct ADR draft for decision quality, overlap with existing ADRs and specs, evidence strength, rollout risk, and human-ownership escalations. Use only after adr-linter reports no unresolved high/medium findings on the current draft, and when you need design-review findings before merge or handoff.
adr-reconciler
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-drafter
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.
codacy-issues-fetcher
Retrieve and format Codacy analysis issues by running `scripts/codacy_issues.py` in the ExStruct workspace. Use when users ask to inspect repository or pull-request Codacy findings, filter by severity, or produce structured issue output for review and fix planning.
adr-indexer
Maintain ExStruct ADR index artifacts by scanning ADR files and synchronizing README, index.yaml, and decision-map.md metadata. Use when ADRs are added, updated, superseded, or reclassified and the repository needs a refreshed ADR map for humans and AI agents.
Didn't find tool you were looking for?