Related

From rvdbreemen/adr-kit · View interactive version

Related is an AI agent skill from the GitHub repository rvdbreemen/adr-kit. Show inbound and outbound links for one ADR. Use for related decisions, dependencies, dangling ADR links, supersession, or retirement. Read-only.

How to use this skill

Skill file

adr-kit related

Reply in the language the user writes in; default to English. Keep command output, identifiers, paths, and ADR file content unchanged.

Use $ARGUMENTS as the required ADR id. Ask for the id when it is empty.

You are running /adr-kit:related. Purpose: show who an ADR points at and who

points back at it, before anyone changes its status. This is read-only; it

never edits ADRs.

Procedure

  1. Take the ADR id from the argument. If none was given, ask the user which

ADR to inspect (id or title fragment is enough; resolve a title fragment by

listing docs/adr/ADR-*.md and matching).

  1. Resolve the plugin path and run the bundled graph tool from the project

root:

```bash

ADR_KIT="${ADR_KIT_ROOT:-${CLAUDE_PLUGIN_ROOT}}"

[ -n "$ADR_KIT" ] || { echo "adr-kit: plugin root not found; set ADR_KIT_ROOT, or update or reinstall the plugin" >&2; exit 1; }

python "$ADR_KIT/bin/adr-related" ADR-NNN --format json

```

docs/adr/.

the stderr message and stop.

  1. Present the graph readably, not as raw JSON:

Kinds: related, supersedes, superseded-by, amended-by.

Inbound also surfaces mention edges: plain ADR-id occurrences outside

any declared relationship.

  1. If the dangling list is non-empty, call it out explicitly: these are

references to ADR ids that do not exist in the set. Suggest fixing the

stale link (typo) or restoring the missing ADR; do not fix it yourself in

this skill.

  1. One closing sentence of interpretation: e.g. "Nothing depends on this ADR;

superseding it is low-risk" or "Three Accepted ADRs reference this one;

superseding it requires updating their Related Decisions."

Boundaries

tool's edges; do not add speculative relationships the files do not state.

is the only inbound edge.

/adr-kit:supersede or /adr-kit:retire instead of editing here.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.