Skip to content
ruvnet avatar

Adr Index

Builds and refreshes an ADR index and dependency graph from on-disk files, in one Bash call.

CCM score
71 of 100
skills.sh installs
738
GitHub stars
82.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers both ADR formats found in the Ruflo monorepo: v3-style headings with a **Status** line and plugin-style YAML frontmatter
  • Runs scripts/import.mjs, with IMPORT_FORMAT=json, IMPORT_DRY_RUN=1, and ADR_ROOT options for output, preview, and scan root
  • Strips references like #1697 and PR 1234 from ADR bodies so they are not misread as ADR numbers
  • Designed for bootstrapping ADR tracking on an existing codebase or re-syncing a stale graph; it only adds and upserts, so use adr-reindex for deletions

Install

$ npx -y skills add ruvnet/ruflo --skill adr-index -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

ADR Index

Persists every ADR under */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:

  • v3-style: # ADR-097: Title heading + **Status**: Proposed line
  • plugin-style: YAML frontmatter (id: ADR-NNNN, status: Proposed)

Implementation is in 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.

When to use

  • After importing ADRs from another project
  • When the AgentDB graph is out of sync with the on-disk ADR files
  • Bootstrapping ADR tracking on an existing codebase

Steps

  1. Run the importer:

    node plugins/ruflo-adr/scripts/import.mjs
    

    Optional env:

    • IMPORT_FORMAT=json — emit JSON instead of markdown
    • IMPORT_DRY_RUN=1 — parse + summarize, skip persistence
    • ADR_ROOT=/path — scan a different root (default: cwd)

Details

Repository
github.com/ruvnet/ruflo
Categories
Technical Documentation, Agent Workflow & Planning
First seen
Jun 3, 2026

Questions

What does the adr-index skill do?

The adr-index skill builds or rebuilds the ADR index and dependency graph by running scripts/import.mjs. It stores every ADR under docs/adr or docs/adrs and their relationships, handling both v3-style and plugin-style ADR formats in one Bash call.

How do I install the adr-index skill?

Run npx -y skills add ruvnet/ruflo --skill adr-index -y in your project. After installing, the agent can rebuild the ADR index and check the graph for dangling references and status mismatches.

What does adr-index not do?

The adr-index skill only adds or upserts records, so it cannot remove rows for ADR files that were deleted. For reconciling a deleted ADR file, the sibling adr-reindex skill is the one to use.

Which other skills work alongside adr-index?

adr-index is in the Technical Documentation category, alongside domain-modeling, archify, writing-guidelines, design-doc-mermaid and documentation-and-adrs. It pairs with adr-verify for graph-integrity checks and adr-create, which produces the ADR files it consumes.

More from ruvnet/ruflo

All 236

Similar to Adr Index

More Technical Documentation