Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/harumiWeb/exstruct/tree/main/.agents/skills/adr-drafter
SKILL.md
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.
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-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.
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.
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?