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.

Stars 134
Forks 21

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

  1. dev-docs/agents/adr-governance.md
  2. dev-docs/agents/adr-criteria.md
  3. dev-docs/agents/adr-workflow.md
  4. dev-docs/adr/template.md
  5. Related ADRs under dev-docs/adr/

Workflow

  1. Confirm whether the target is a new ADR or an update to an existing ADR.
  2. Read the issue, diff, relevant specs, tests, and implementation files.
  3. Extract:
    • policy-level context
    • chosen decision
    • positive and negative consequences
    • concrete evidence from tests, code, and related specs
  4. Produce one of these outputs:
    • a new ADR draft
    • an update proposal for an existing ADR
    • ADR not needed with rationale

Draft Rules

  • Keep why in the ADR and leave detailed how in code or specs.
  • Fill Tests, Code, and Related specs whenever possible.
  • If the policy replaces an old one, state the supersede relation explicitly.
  • If evidence is missing, say so instead of inventing support.

Expand your agent's capabilities with these related and highly-rated skills.

harumiWeb/exstruct

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.

134 21
Explore
harumiWeb/exstruct

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.

134 21
Explore
harumiWeb/exstruct

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.

134 21
Explore
harumiWeb/exstruct

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.

134 21
Explore
harumiWeb/exstruct

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.

134 21
Explore
harumiWeb/exstruct

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.

134 21
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results