Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/harumiWeb/exstruct/tree/main/.agents/skills/adr-indexer
SKILL.md
ADR Indexer
Refresh the derived ADR map after the source ADRs change.
Read
dev-docs/agents/adr-governance.mddev-docs/agents/adr-workflow.mddev-docs/specs/adr-index.md- All ADR files under
dev-docs/adr/ - Existing
dev-docs/adr/README.md,dev-docs/adr/index.yaml,dev-docs/adr/decision-map.md
Workflow
- Scan the ADR files and collect normalized metadata:
idtitlestatusprimary_domaindomainssupersedessuperseded_byrelated_specs
- Compare the normalized metadata with
README.md,index.yaml, anddecision-map.md. - Update the derived artifacts so that status, primary domain, domain grouping, and supersede relationships match the ADR source files.
- Report any ambiguity that cannot be derived from the ADR text alone.
Output Contract
Return a concise summary with:
updated artifactsadded or changed ADR entriesconsistency findings
Treat ADR-xxxx-*.md as the source of truth. Do not invent domains, statuses, or supersede links that the ADR text cannot justify.
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.
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.
Didn't find tool you were looking for?