/loom:loom-adr <title> [--body-file=<path>] [--status=<status>]from loom
Record an Architectural Decision Record (ADR) to the workspace-level adr-log. Use when an architectural decision worth being durable — visible to other engineers and to future agents — surfaces in conversation: a chosen tradeoff, a deliberate constraint, a deferred alternative, a load-bearing invariant. Composes `loom adr` (the CLI verb) which writes `projects/adr-log/NNNN-<title-slug>.md` with permanent sequential numbering. ADRs are append-only; revise by writing a NEW ADR with `--status=superseded` body-linking to the prior number, never edit the old file.
Ships in loom. 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.
Record an architectural decision as a durable, numbered ADR. The
verb is the deterministic seam (loom adr "<title>" writes the file
and commits it); this skill is the orienting layer that decides
whether the decision in front of you is worth an ADR, composes a
body file from the conversation context, and invokes the verb.
Trigger on language like:
The decision should be architectural — visible to other engineers
or agents, not local-to-a-PR. A naming choice that affects one
function isn't an ADR; a naming convention that constrains how
future siblings get named is. A useState vs useReducer choice
inside one component isn't an ADR; the team's stance on state
management across the design system is.
Signals an ADR fits:
Signals an ADR does NOT fit:
PLAN.md /
INTERVIEW.md already records it.--status=proposed if you want to log the debate, but most
in-flight discussions belong in the project's research artifacts
or a PR thread until they crystallize.ev-loop-interactiveThe ev-loop-interactive skill's unit loop includes an ADR-emit
hook (step 5.5, between scope-shift detection and phase update)
that fires once per unit close. The hook scans the just-written
checkin's notes_for_pr array for entries containing the literal
[adr-candidate] marker (case-sensitive, bracketed-literal) and,
per match, offers the operator the chance to lift the entry into a
real ADR via this verb. The marker convention is the operator's
intent; the hook is the offer.
When invoked from that path, the calling pattern is fixed:
node plugins/loom/cli/loom.ts adr "<title>" \
--body-file=<tmp-path> \
--no-commit
Three things matter about that invocation, and downstream agents following this skill from within the loop should preserve all three:
--body-file carries a body composed by the loop (Context =
paraphrase of the marked entry + the unit's contract goal,
Decision = the decision the operator named, Consequences = a
literal TODO: operator to fill before commit line). The body
is intentionally incomplete so the operator hand-edits before
the checkin's git commit step runs.--no-commit is mandatory. The verb's default auto-commit
would race the checkin commit; the hook stages the returned ADR
path for the unit's git-add list so the ADR rides the same git
commit as the manifest update — one revertable bundle if the
ADR turns out wrong.node plugins/loom/cli/loom.ts (not bare loom) is the
encoded invocation. The cached-PATH-binary lag pattern documented
in 2026-05-28-loom-adr's P2D2 notes_for_pr means the bare
loom adr invocation can still fail with unknown-verb in fresh
sessions even after the marketplace dependency has shipped. The
node …/loom.ts form is the substrate's working path until the
cache-lifecycle issue is resolved.See plugins/ev/skills/ev-loop-interactive/SKILL.md § Step 2 unit
loop, sub-step 5.5 for the full hook semantics (scan, per-match
flow, event vocabulary, idempotency posture, auto-mode behavior).
Look at what's in conversation. If the user explicitly asked, skip to step 2. Otherwise reflect back the candidate decision in one sentence and confirm — auto-firing on every "decision-flavored" sentence creates noise. The skill body's job here is to be a careful filter.
Prefer --body-file=<path> over the verb's default TODO stub when
the decision context is already in conversation. The default stub is
a TODO scaffold for the operator to fill in later; if you have the
context now, write it now.
Body structure (the conventional shape, matching the TODO stub the verb writes):
## Context
<What forces the decision? What constraints, prior choices, or
domain facts make this a real decision and not a trivial choice?>
## Decision
<What was decided. Stated plainly. The decision sentence is the
TL;DR — readers should be able to skim just this section and know
what we did.>
## Consequences
<What follows from the decision. What is now easy that wasn't
before. What is now harder. What alternatives were closed off.
What this commits us to. What we'll watch for if the decision
turns out to be wrong.>
Write the body to a temp file (/tmp/loom-adr-<slug>.md is the
substrate convention used by loom's other body-file paths).
loom adr "<title>" --body-file=/tmp/loom-adr-<slug>.md
Optional flags:
--status=<status> — defaults to accepted. Convention:
proposed | accepted | deprecated | superseded. Freeform in v1;
no enum enforcement.--no-commit — write the file but skip the git commit. Use when
the ADR will commit alongside other work in the same PR (e.g. a
unit's checkin commits an ADR-candidate alongside the
implementation diff).The verb writes projects/adr-log/NNNN-<title-slug>.md with
sequential numbering (next number = max existing + 1, NOT
count + 1 — see projects/CONVENTIONS.md § Architectural Decisions) and (unless --no-commit) commits with the message
[loom] adr NNNN: <title>. The verb emits JSON
{number, slug, path, status, committed} on stdout.
Surface the path + number to the user so the ADR is locatable.
ADRs are append-only. The numbering invariant exists for one reason: cross-references to "ADR-0007" in commit messages, PRs, and other ADRs must never silently re-point to a different decision.
To revise a decision:
--status=superseded.## Context section, name the prior ADR number
you're superseding and why.## Status line stays whatever it
was; the new ADR's existence is the supersession record.There is no loom adr supersede sub-verb in v1. The convention is
the contract. If you find yourself wanting to edit an old ADR,
stop and write a new one instead.
--status=superseded.invalid-title from
the verb. Pick a longer, more descriptive title.--body-file path doesn't exist → body-file-not-found. Check the
path or fall back to the TODO stub by omitting --body-file.--status=proposed (logs the debate) or wait until it
crystallizes. Most debates belong in PR threads or research
artifacts until they're settled.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub krambuhl/agents --plugin loom7 skills in this plugin
/loom-archiveClose out a loom-managed project. Interview the user for color, synthesize a project-type retrospective from the corpus, write the retro via `bin/loom retro write --type=project`, then relocate the project to `archive/` via `bin/loom project archive`. Stops there — composing the archive PR is a separate concern./loom-migrateExecute a runbook migration — pluck a bounded batch of annotated work sites, apply each site's runbook (migration dictionary) transform, verify, and open one PR for the batch. The execution half of the decentralized work-distribution axis (project 2026-06-30-distributed-project-store, Phases 6-8): /loom-runbook authors the inventory in the code, this skill works it off a batch at a time, and /ev-goal repeats until the dict-id scans clean. Use to run a migration authored by /loom-runbook./loom-Other plugins' skills for the same job