/dev-team:adr-toolsfrom dev-team
Drives the npryce/adr-tools CLI to create, link, supersede, and manage Architecture Decision Records. Use for 'add an ADR', 'record this decision', 'supersede ADR N', or any `adr` command request.
Ships in dev-team. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Mechanics for working with npryce/adr-tools — the adr CLI that creates numbered Architecture Decision Records. Pairs with the adr-author agent: that agent decides whether an ADR is warranted and writes the prose; this skill drives the CLI correctly.
command -v adr || echo "adr-tools not installed — see https://github.com/npryce/adr-tools"
cat .adr-dir 2>/dev/null # project's configured ADR directory
ls "$(cat .adr-dir 2>/dev/null || echo docs/adr)/" 2>/dev/null | head -3
If the pre-flight reports adr missing, run /project-init to set up this repo's tooling — it installs the adr CLI as a capability tool (see its ${CLAUDE_PLUGIN_ROOT}/skills/project-init/references/capability-tools.md) — or install it directly: see npryce/adr-tools (the CLI link is the fallback).
Project convention is docs/adr/. adr-tools stores the directory in .adr-dir at the project root — adr reads that file to find the ADRs no matter what subdirectory you're in. If .adr-dir is missing, run adr init docs/adr once. Do not init silently into a different path — confirm with the user if existing ADRs live somewhere unexpected.
adr new opens $VISUAL or $EDITOR (defaulting to vi). In a Claude Code shell this hangs the command and exits non-zero — the file is created but empty. Two workarounds:
Preferred — bypass the editor. Run with a no-op editor, then write the body with the Write tool:
EDITOR=true VISUAL=true adr new "<title>"
The command prints the new file path to stdout. Read it, then replace the template Context/Decision/Consequences sections with the real content via Edit or Write.
Fallback — let it fail, then fill in. adr new "<title>" will create the templated file and exit non-zero from the editor failure. Read the new file (it lives at <adr-dir>/NNNN-<slugified-title>.md — typically docs/adr/) and fill it in.
The skill always prefers workaround 1.
EDITOR=true VISUAL=true adr new "<title in plain words>"
Then Edit the generated file to fill in:
Accepted (default) is fine for decisions already made. Use Proposed only if there is genuine open debate.Commit the new ADR in the same commit (or PR) as the implementation it justifies.
EDITOR=true VISUAL=true adr new -s <N> "<new title>"
adr-tools automatically:
Do not delete the old ADR. Its history is the point.
adr link <SOURCE> "<LINK>" <TARGET> "<REVERSE-LINK>"
Example: adr link 12 "Amends" 10 "Amended by". Use this for relationships like Amends/Refines/Constrains. Multiple links are normal.
adr list
Returns sorted file paths. Pipe through xargs head -1 for a quick title scan.
adr generate toc > docs/adr/README.md
Run this after creating or superseding any ADR, then commit the regenerated TOC alongside the ADR change. Without this, the index drifts.
adr generate graph | dot -Tpng > docs/adr/graph.png
Optional but useful when supersede/link chains get deep. Requires Graphviz (dot).
adr-tools assigns sequential numbers; references in commits, PRs, and other ADRs depend on them being stable. If a number is wrong, supersede; never renumber.adr new -s <N> so the bidirectional link is automatic and consistent.Accepted status.adr-author decision framework.This skill handles the CLI mechanics. Use the adr-author agent when:
adr generate toc produces.A typical flow: the user asks "should we ADR this?" → adr-author decides yes/no and drafts the body → this skill runs the adr new / adr link commands and regenerates the TOC.
Prose you write follows ${CLAUDE_PLUGIN_ROOT}/knowledge/documentation-style.md (Whole-file load: short):
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub bdfinst/agentic-dev-team --plugin dev-team103 skills in this plugin
/agent-auditAudit code-review agents, skills, and hooks for structural compliance. Use this when adding or modifying any agent, skill, or hook file, or for a periodic health check of the toolkit. Trigger phrases: "audit the agents", "check compliance", "validate the skills", "are the agents correct", or any time agent/skill files change./agent-evalRun eval fixtures against review agents and grade results. Use this after adding or modifying a review agent, to validate detection accuracy, or when the user says "run the evals", "test the agents", "check for regressions", or "how accurate is the agent"./agent-readinessScore how ready the current repository is for AI-assisted development against the Agent-Readiness Scorecard. Use when the user asks "how agent-ready is this repo", "score this repo for agents", "agent readiness", or wants a tiered readiness report. Scores YOUR project repo's readiness — not the dev-team plugin's own review agents and routing (for that, use /harness-audit)./api-designContract-first API design for stable, evolvable interfaces. Use whenever defining a new API endpoint, inter-service boundary, or modifying an existing contract. Includes backward compatibility checklist and error contract specification./apply-fixesApply correction prompts generated by /code-review. Use this whenever the user wants to apply, fix, or action the results of a code review — phrases like "apply the fixes", "fix the issues", "apply corrections", or after /code-review has run and produced a corrections/ directory./apply-test-doublesApply `/cd-test-architecture`'s Step 4b build-vs-document decision logic against an existing, saved assessment report — or, when no valid report path is given, against a target to assess first — without re-running the full Steps 0-6 assessment each time. Use when the user wants to revisit or change a component's Build/Document choice from a saved cd-test-architecture report, says "apply the test doubles", "re-run Step 4b", "change the build-vs-document decision", or cites the `/apply-test-doubles <path>` command from a test-double setup guide.Other plugins' skills for the same job