本文へスキップ
Skillpedia
ドキュメント作成81k · #1555

adr-verify

できること

このスキルは、保存されたアーキテクチャの決定記録の索引を読み、存在しない記録へのリンクや、互いに置き換え合ってループする記録などの問題を報告します。決定の記録を保ち、正しい状態にしたいチームのためのものです。

使う場面

  • ✓決定の索引を再構築したばかりで、健全かを確かめたいとき。
  • ✓どれか1つでも問題があれば失敗する厳密な確認がほしいとき。
  • ✓決定に依存するリリースを公開する直前のとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-adr/skills/adr-verify/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“アーキテクチャの決定記録が一貫しているかを確認し、壊れたリンクやループについて教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、保存された記録とそのリンクを読み、存在しない対象、循環する置き換えの連鎖、状態の食い違いを探し、見つけたことを報告します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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
よくある質問

循環する置き換えとは何ですか?

ある決定の記録が、ループの中で別の記録を置き換えることで、データの誤りとして扱われます。

削除された記録は見つけられますか?

必ずしも見つけられません。削除されたファイルの孤立したエントリは見逃すことがあり、その場合は再索引が必要だとスキルは述べています。

ビルドを失敗させられますか?

はい。厳密なモードでは、問題を見つけると確認がエラーで終了します。

詳細

作者による元の説明

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

repo: ruvnet/ruflo

人気

GitHubのスター
81k
ランキング
#1555
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル