Build or rebuild the ADR index + dependency graph by running scripts/import.mjs (handles v3-style and plugin-style ADR formats; one Bash call vs hundreds of MCP round-trips)
*/docs/adr/ or */docs/adrs/ to the adr-patterns namespace and every relationship (supersedes / amends / related / depends-on) to adr-edges. Handles both ADR formats found in the Ruflo monorepo:# ADR-097: Title heading + **Status**: Proposed lineid: ADR-NNNN, status: Proposed)scripts/import.mjs (one Bash call) rather than dozens of per-ADR MCP tool calls — same effective behavior, materially faster, dual-format-aware, and false-positive-resistant for issue numbers.[object Object]
IMPORT_FORMAT=json — emit JSON instead of markdownIMPORT_DRY_RUN=1 — parse + summarize, skip persistenceADR_ROOT=/path — scan a different root (default: cwd)adr-verify skill, which runs scripts/verify.mjs and exits 1 on cycles.mcp__claude-flow__memory_search against the populated namespace:memory_search --query "federation budget" --namespace adr-patterns
adr-patterns namespace, key <ADR-id>::<basename>, value (text):<title> — <first paragraph of Context>
file: <relative path>
status: <Proposed|Accepted|Superseded|...>
date: <ISO date>
tags: <comma-separated>
adr-edges namespace, key <relation>:<FROM>-><TO>:<timestamp-rand>, value:{ "from": "ADR-097", "to": "ADR-086", "relation": "related", "capturedAt": "<ISO>" }
#1697 / commit abc123 / PR 1234 references inside ADR bodies are stripped before regex extraction so they don't get misread as ADR-1697 etc. See extractAdrRefs() in scripts/import.mjs.adr-create — produces the ADR files this skill consumesadr-review — runs over adr-patterns for compliance checksadr-verify (sibling skill) — runs scripts/verify.mjs for graph-integrity gating