adr
Skill0 starsChanged 6 months agoApache-2.0View on GitHub
Architecture Decision Records (ADR) の作成・管理スキル。`/adr` で新規ADR作成、`/adr list` で一覧表示、`/adr supersede 0001` で既存ADRの置換。設計判断の「なぜ」を不変のドキュメントとして記録する。アーキテクチャの意思決定、設計方針の記録、技術選定の理由の文書化に使う。
90 other projects use a version of this.
Adopted by
Most recently taken up by
- GustavoAlecio/claude-setuptheir own version, first seen Nov 8, 2026
- computerlovetech/skillstheir own version, first seen Nov 8, 2026
- rvdbreemen/OTGW-firmwaretheir own version, first seen Nov 8, 2026
- axodouble/skillstheir own version, first seen Nov 8, 2026
- RodrigoAnciaes/golem-sddtheir own version, first seen Nov 8, 2026
- n1kben/agentstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use fdr, runbook and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
thiagofgfSkillfdr
Use when creating, changing, reviewing, retiring, auditing, or backfilling implemented user-visible feature behavior, permissions, feature-specific rationale, tradeoffs, or relationships to architectural decisions.
Also in 3 projects that use this
AnthropicSkillrunbook
Create or update an operational runbook for a recurring task or procedure. Use when documenting a task that on-call or ops needs to run repeatably, turning tribal knowledge into exact step-by-step commands, adding troubleshooting and rollback steps to an existing procedure, or writing escalation paths for when things go wrong.
Also in 5 projects that use this
drewdrewthisSkillsweep
Search for similar patterns, anti-patterns, or issues elsewhere in the codebase after a fix or feature. Use after implementing a fix to catch the same bug in other places, or proactively to audit for a known pattern.
Also in 4 projects that use this
vndeeSkillproduct-spec
Use when starting a new feature, product, or project — before any architecture or code, to define what to build and why
Also in 3 projects that use this
OpenAISkillthreat-model
Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model, or the user explicitly asks to create, update, or persist a repository threat model. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.
Also in 6 projects that use this
montymiSkilltech-spec
Parse and review Technical Specification documents for completeness, consistency, and implementation readiness
Also in 3 projects that use this
Other versions90 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 90
- CrowdDotDev/crowd.dev★ 3.4ksame name
- chattocorp/chatto★ 2.9ksame name
- Cosmian/kms★ 372same name
- linuxfoundation/insights★ 288same name
- rvdbreemen/OTGW-firmware★ 213same name
- sd0xdev/sd0x-dev-flow★ 192same name
- sd0xdev/sd0x-harness★ 192same name
- irahardianto/awesome-agv★ 157same name
- jellydn/my-ai-tools★ 127same name
- EmeaAppGbb/spec2cloud★ 100same name
80 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- add-mesh-peerSkill
- analyze-logsSkill
- codex-consultSkill
- codex-reviewSkill
- config-analyzerSkill
- cross-reviewSkill
- drawioSkill
- empirical-prompt-tuningSkill
- git-historySkill
- github-writingSkill
- hard-task-playbookSkill
- inherit-wipSkill
- interviewSkill
- ja-natural-reviewSkill
- mcp-smoke-via-claude-pSkill
- meeting-minutesSkill
- memoSkill
- nerfstudio-trainerSkill
- obsidian-work-loggerSkill
- plan-with-qaSkill
- poll-sonnet-workersSkill
- post-merge-cleanupSkill
- release-applySkill
- ros2-inspectorSkill
- ros2-launch-debugSkill
- ros-analyzeSkill
- safe-pathspec-commitSkill
- setup-claude-localSkill
- split-advisorSkill
- surveySkill
- work-logSkill
- write-specSkill
- zenn-interviewSkill
The file
Files
ADR Skill
プロジェクトの設計判断を Architecture Decision Records (ADR) として記録・管理する。
ADRの価値は「不変性」にある。一度書いたら書き換えず、変更時は新しいADRで置換(supersede)する。これによりgrepで発見しても安全で、ステータスで現在有効な決定を構造的に判別できる。
使い方
/adr → 対話的に新規ADR作成
/adr list → 既存ADRの一覧表示(番号・タイトル・ステータス)
/adr supersede 0001 → ADR-0001を置換する新ADRを作成配置先(ADR ルートの解決)
新規 ADR は Obsidian vault 優先 で配置する。リポジトリには push しないことを既定とする(個人作業ファイルとして扱う)。
解決順序:
- vault モード(既定):
~/Documents/my_obsidian/projects/<basename(cwd)>/ADR/- vault プロジェクトディレクトリ (
~/Documents/my_obsidian/projects/<basename(cwd)>/) が存在し書き込み可能なら、その下のADR/を ADR ルートとする ADR/サブディレクトリが無ければ作成する
- vault プロジェクトディレクトリ (
- アクセス不可なら
/add-dirを依頼して中断:- vault プロジェクトディレクトリへの書き込みで permission エラーになる場合、
additionalDirectoriesに未登録の可能性が高い - ユーザに対して以下のように案内し、処理を中断する:
vault への書き込みができません。次を実行してから /adr を再実行してください: /add-dir ~/Documents/my_obsidian/projects/<basename(cwd)>/ - vault プロジェクトディレクトリ自体が未作成の場合は、Obsidian で先にプロジェクトを作るか、
mkdir -pで作るか案内する
- vault プロジェクトディレクトリへの書き込みで permission エラーになる場合、
docs/adr/フォールバック(明示要求時のみ):- ユーザが「team-shared にしたい」「リポジトリに置きたい」と明示した場合のみ、リポジトリの
docs/adr/に書く - 既定では
docs/adr/が存在しても 書き込み先には選ばない。あくまで vault 優先
- ユーザが「team-shared にしたい」「リポジトリに置きたい」と明示した場合のみ、リポジトリの
docs/adr/ がリポジトリに既存で、かつ vault にも ADR がある「移行中」状態では、/adr list で両方を表示する(後述)。
ADRテンプレート
# ADR XXXX: タイトル
- **Status**: Accepted
- **Date**: YYYY-MM-DD
- **Supersedes**: なし
- **Related**: [[XXXX-related-adr]](任意、Obsidian wikilink 推奨)
## Context
なぜこの決定が必要だったか。背景・制約・選択肢を記述する。
## Decision
何を決定したか。採用した方針を明確に記述する。
## Consequences
- **良い点**: この決定によるメリット
- **悪い点**: この決定によるデメリットやトレードオフ- 見出しは
# ADR XXXX:(半角スペース、ハイフン無し)。vault 既存 ADR の表記に合わせる - メタ行は
**Status**等の bold 形式 Relatedは Obsidian wikilink[[file-basename]]で書くと vault 内で相互参照しやすい
実行フロー
/adr(新規作成)
- ADR ルートを解決する(上記「配置先」セクション参照)。vault アクセス不可なら
/add-dir案内で中断 - ADR ルートを走査し、既存 ADR の最大番号を取得して次の番号を決定する
- AskUserQuestion で以下をヒアリングする(まとめて聞く、1個ずつ聞かない):
- どんな設計判断を記録したいか
- なぜその判断が必要だったか(背景・制約)
- 他にどんな選択肢があったか
- 採用した方針とその理由
- git log や関連コードを調査し、判断の背景を補完する
- ADRファイルを生成し、ユーザーに内容を確認してもらう
- 確認後、ファイルを
<ADRルート>/XXXX-descriptive-name.mdに書き出す
ファイル名の descriptive-name 部分は、決定内容を端的に表す英語のケバブケースにする(例: queryable-command-pattern, grpc-deadline-with-cache-fallback)。
/adr list
- vault の ADR ルートを走査する
- 加えて リポジトリ直下の
docs/adr/が存在すれば、そこも走査する(移行中の表示用) - 各ファイルから番号・タイトル・ステータスを抽出する
- テーブル形式で一覧表示する。ソースが混在する場合は Source 列を付ける
| # | タイトル | Status | Source |
|------|----------------------------------|------------|------------|
| 0001 | Bridge は temi-app に住む | Accepted | vault |
| 0002 | REST から integration への pivot | Accepted | vault |
| 0003 | RobotGate 状態機械 | Accepted | vault |
| 0099 | (legacy) docs/adr/ にだけ残るもの | Accepted | docs/adr/ |Source 列はソースが 1 箇所だけの場合は省略してよい。
/adr supersede XXXX
- ADR ルート(vault と
docs/adr/両方)から ADR XXXX を探して読み込み、内容を把握する - AskUserQuestion で「何が変わったのか、なぜ変えるのか」をヒアリングする
- 新しい ADR を作成する(
**Supersedes**: ADR XXXXを記載)- 新規 ADR は vault モードのルールに従って vault に書く(旧 ADR が
docs/adr/にあっても新規は vault)
- 新規 ADR は vault モードのルールに従って vault に書く(旧 ADR が
- 旧 ADR の Status 行のみを
Superseded by ADR YYYYに更新する- これがADRの不変原則における唯一の例外
重要なルール
- 不変原則: 既存ADRの内容は絶対に書き換えない。唯一の例外はSuperseded時のStatus更新のみ
- vault 優先: 既定で vault に書く。リポジトリ (
docs/adr/) には push しない方針を尊重する /add-dir依頼: vault に書けないときは無理にdocs/adr/にフォールバックせず、ユーザに/add-dirを依頼して中断する- ヒアリングは必ずAskUserQuestionを使う: 質問は2〜4個にまとめて聞く
- 背景の調査: git log やコードを読んで、ユーザーの説明を補完する。ユーザーが語らなかった技術的背景も拾う
- 日本語で対話: ユーザーとのやりとりは日本語。ADR本文も日本語でOK(タイトルのケバブケース部分のみ英語)
- 過剰に書かない: Context/Decision/Consequencesの各セクションは簡潔に。長文より「なぜ」が伝わることが重要
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

