Skip to content
Skillpedia
Documentation81k · #1555

adr-verify

What it does

This skill reads the saved index of architecture decision records and reports problems such as links to missing records or records that supersede each other in a loop. It is for teams who keep decision records and want them kept correct.

When to use it

  • ✓When you have just rebuilt the decision index and want to confirm it is healthy.
  • ✓When you want a strict check that fails if any record has a problem.
  • ✓When you are about to publish a release that depends on the decisions.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-adr/skills/adr-verify/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-adr/skills/adr-verify/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Check that our architecture decision records are consistent and tell me about any broken links or loops.”

5 new skills a week. 1 minute to read.

How it works

The agent reads the saved records and their links, looks for missing targets, circular supersede chains and status mismatches, and reports what it finds.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

ADR Verify

Companion to adr-index. After import, reads the persisted graph and surfaces integrity issues:

  • Dangling refs — edge points at an ADR ID that doesn't exist in adr-patterns. Common cause: the referenced ADR is in a sibling repo or got deleted.
  • Supersede cycles — ADR-A supersedes ADR-B and ADR-B supersedes ADR-A (or longer cycles). Always data corruption.
  • Status mismatches — an ADR is the source of a supersedes edge but its own status isn't Superseded. Usually a missed status update during a successor ADR's promotion.

What this skill cannot catch: an adr-patterns row for an ADR that was deleted from disk and has zero edges referencing it or from it — invisible to every check above (issue #2666). If the reported ADR count looks higher than what's actually on disk, run adr-reindex, not adr-verify again.

When to use

  • Right after adr-index to confirm the graph is healthy
  • In CI as a fail-closed gate (VERIFY_STRICT=1 exits 1 on any issue)
  • Before publishing an ADR-related release

Steps

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

Optional env:

  • VERIFY_FORMAT=json — JSON instead of markdown
  • VERIFY_STRICT=1 — exit 1 on ANY issue (default: only on cycles)

Exit codes

Code Meaning
0 Graph healthy (or dangling refs / status mismatches present in non-strict mode)
1 Supersede cycle detected, OR strict mode + any issue present

Cross-references

  • adr-index — populates the data this skill verifies
  • scripts/import.mjs — has its own dry-run validation; this skill is the read-back companion
  • adr-reindex — reconciles a deleted ADR that adr-verify cannot detect
FAQ

What is a supersede cycle?

It is when one decision record replaces another in a loop, which is treated as a data error.

Will it catch deleted records?

Not always. The skill says orphan entries for deleted files can be missed, so a reindex may be needed.

Can it fail a build?

Yes. A strict mode makes the check exit with an error when it finds any issue.

Details

Original description by the author

Read back adr-patterns + adr-edges namespaces, surface dangling refs / supersede cycles / Unknown statuses; exit 1 on cycles

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1555
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills