# Creating Adrs

> Structured ADR creation in MADR format. Triggers: ADR, Architecture Decision, 決定記録, 技術選定, アーキテクチャ決定, design decision, 技術的決定, 設計判断, deprecation, 非推奨化, process change, プロセス変更

- Skill: `majiayu000/creating-adrs` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/creating-adrs`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/creating-adrs/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/creating-adrs

---


# ADRクリエーター

## 6フェーズプロセス

| フェーズ        | アクション                                                                 |
| --------------- | -------------------------------------------------------------------------- |
| 1. 事前チェック | `./scripts/pre-check.sh "$TITLE"` を実行（共有スクリプト使用）             |
| 2. テンプレート | `$HOME/.claude/scripts/select-adr-template.sh "$TITLE"` を実行             |
| 3. 参照         | プロジェクトドキュメント、Issue、外部リソースを収集                        |
| 4. 検証         | 必須セクションをチェック（Title、Status、Context、Decision、Consequences） |
| 5. インデックス | `adr/README.md`を自動生成                                                  |
| 6. リカバリー   | 欠落ディレクトリ、重複、欠落セクションを処理                               |

## テンプレート選択

スクリプトでテンプレートを自動選択:

```bash
TEMPLATE=$("$HOME/.claude/scripts/select-adr-template.sh" "$TITLE")
```

| テンプレート         | ユースケース             | 必須セクション                   |
| -------------------- | ------------------------ | -------------------------------- |
| technology-selection | ライブラリ、FW選択       | オプション（最低3つ）、Pros/Cons |
| architecture-pattern | 構造、設計ポリシー       | コンテキスト、結果               |
| process-change       | ワークフロー、ルール変更 | Before/After比較                 |
| deprecation          | 技術の廃止               | 移行計画、タイムライン           |

## ディレクトリ構造

```text
adr/
├── README.md          # 自動生成インデックス
├── 0001-*.md         # 連番
└── 0002-*.md
```

## 参照

| トピック     | リソース                      |
| ------------ | ----------------------------- |
| MADR         | <https://adr.github.io/madr/> |
| コマンド     | `../../commands/adr.md`       |
| テンプレート | `../../templates/adr/`        |
| スクリプト   | `./scripts/`                  |

