Skip to content
ruvnet avatar

Adr Review

Checks code changes against accepted ADRs and reports violations, superseded references, and unlinked changes.

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

Own this skill? Claim it

What it does

  • Covers the review flow: diff against main, locating related ADRs, loading their Decision and Consequences, then checking for violations
  • Searches docs/adr/ and file references via Grep, plus semantic memory_search, to match changed files to ADRs
  • Enforces only ADRs with accepted status and flags code that references superseded decisions using the adr-edges relationship graph
  • Produces a compliance report with Violations, Warnings, Compliant, and Unlinked Changes sections, then suggests code fixes or new superseding ADRs

Install

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

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

Files

ADR Review

Review code changes against accepted Architecture Decision Records to detect violations, drift, and non-compliance.

When to use

Before merging a PR, after significant code changes, or as part of a periodic compliance check. Use this to ensure code changes respect the architectural decisions the team has agreed upon.

Steps

  1. Get diff -- Run git diff main...HEAD --name-only (or the specified branch) to list changed files. Then run git diff main...HEAD to get the full diff content.

  2. Find relevant ADRs -- For each changed file:

    • Grep the file for ADR references (ADR-\d+)
    • Grep docs/adr/ for ADRs that mention the changed file paths or modules
    • Call mcp__plugin_ruflo-core_ruflo__memory_search with the file path and change summary to find semantically related ADRs
  3. Load ADR content -- Read each relevant ADR file. Focus on:

    • The Decision section (what was decided)
    • The Status (only enforce "accepted" ADRs)
    • The Consequences (expected constraints)

Details

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

Questions

What does the adr-review skill do?

The adr-review skill reviews code changes against accepted Architecture Decision Records to detect violations, drift, and non-compliance. It reads the git diff, finds related ADRs, checks each changed file against the accepted decisions, and produces a compliance report.

How do I install the adr-review skill?

Run npx -y skills add ruvnet/ruflo --skill adr-review -y in your project. After installing, the agent can check branch changes against your team's ADRs before a merge.

When should I use the adr-review skill?

Use it before merging a pull request, after significant code changes, or during a periodic compliance check. It helps confirm that code changes respect the architectural decisions the team has already agreed upon.

Where does adr-review stand in the Code Review and Quality category?

The adr-review skill is listed in the Code Review and Quality category on Claude Marketplaces, alongside improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review. It focuses on architecture decision compliance rather than general code review.

What does the adr-review skill need to run?

The skill uses Bash, Read, Grep and Glob, plus Ruflo memory tools for searching ADRs and checking the adr-edges relationship graph. If that namespace is empty, you must run adr-index first to populate it.

More from ruvnet/ruflo

All 236

Similar to Adr Review

More Code Review & Quality