Adr Skillのロゴ

Adr Skill

組織
skillrecordings
adr-skill

Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept/reject, deprecate, or supersede an ADR; bootstrap an adr folder and index; or enforce ADR conventions. This skill uses Socratic questioning to capture intent before drafting, and validates output against an agent-readiness checklist.

概要

公開者skillrecordings
リポジトリadr-skill
スキル名adr-skill
スター
89
フォーク
4
同梱ファイル
10
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 10個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    skillrecordingsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルAdr SkillをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/skillrecordings/adr-skill/tree/main/.agents/skills/adr-skill
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skillrecordings/adr-skill.git /tmp/adr-skill
mkdir -p .claude/skills
cp -r /tmp/adr-skill/.agents/skills/adr-skill .claude/skills/adr-skill
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAdr Skillを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にAdr Skillを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Adr Skillは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

ADR Skill

Philosophy

ADRs created with this skill are agent-first: they are written so that a coding agent can read one and implement the decision without further clarification. Humans review and approve, but the primary consumer is an agent working from the ADR.

This means:

  • Constraints must be explicit and measurable, not vibes
  • Decisions must be specific enough to act on ("use PostgreSQL 16 with pgvector" not "use a database")
  • Consequences must map to concrete follow-up tasks
  • Non-goals must be stated to prevent scope creep
  • The ADR must be self-contained — no tribal knowledge assumptions

Three-Phase Workflow

Every ADR goes through three phases. Do not skip Phase 1.

Phase 1: Capture Intent (Socratic)

Before writing anything, interview the human to understand the decision space. Ask questions one at a time, building on previous answers. Do not dump a list of questions.

Core questions (ask in roughly this order, skip what's already clear from context):

  1. What are you deciding? — Get a short, specific title. Push for a verb phrase ("Choose X", "Adopt Y", "Replace Z with W").
  2. Why now? — What broke, what's changing, or what will break if you do nothing? This is the trigger.
  3. What constraints exist? — Tech stack, timeline, budget, team size, existing code, compliance. Be concrete.
  4. What does success look like? — Measurable outcomes. Push past "it works" to specifics (latency, throughput, DX, maintenance burden).
  5. What options have you considered? — At least two. For each: what's the core tradeoff? If they only have one option, help them articulate why alternatives were rejected.
  6. What's your current lean? — Capture gut intuition early. Often reveals unstated priorities.
  7. Who needs to know or approve? — Decision-makers, consulted experts, informed stakeholders.
  8. What would you tell a new engineer (or agent) implementing this? — This surfaces the practical context that often gets left out.

Adaptive follow-ups: Based on answers, probe deeper where the decision is fuzzy. Common follow-ups:

  • "What's the worst-case outcome if this decision is wrong?"
  • "What would make you revisit this in 6 months?"
  • "Is there anything you're explicitly choosing NOT to do?"
  • "What prior art or existing patterns in the codebase does this relate to?"

When to stop: You have enough when you can mentally draft every section of the ADR without making things up. If you're guessing at any section, ask another question.

Phase 2: Draft the ADR

  1. Choose the ADR directory.

    • If one exists (adr/, docs/adr/, docs/decisions/, etc.), use it.
    • If none exists, create docs/decisions/ (MADR default) or adr/ (simpler repos).
  2. Choose a filename strategy.

    • If existing ADRs use numeric prefixes (0001-...), continue that.
    • Otherwise use slug-only filenames (choose-database.md).
  3. Choose a template.

    • Use assets/templates/adr-simple.md for straightforward decisions (one clear winner, minimal tradeoffs).
    • Use assets/templates/adr-madr.md when you need to document multiple options with structured pros/cons/drivers.
    • See references/template-variants.md for guidance.
  4. Fill every section from Phase 1 answers. Do not leave placeholder text. Every section should contain real content or be removed (optional sections only).

  5. Generate the file.

    • Preferred: run scripts/new_adr.js (handles directory, naming, and optional index updates).
    • If you can't run scripts, copy a template from assets/templates/ and fill it manually.

Phase 3: Review Against Checklist

After drafting, review the ADR against the agent-readiness checklist in references/review-checklist.md. Present findings to the human and iterate.

Key questions the review answers:

  • Could an agent implement this decision from the ADR alone?
  • Are there ambiguities that would cause an agent to guess or ask for clarification?
  • Are consequences actionable (specific tasks, not vague aspirations)?
  • Is the scope bounded (what's in AND what's out)?

Do not finalize until the ADR passes the checklist or the human explicitly accepts the gaps.

Other Operations

Update an Existing ADR

  1. Identify the intent:

    • Accept / reject: change status, add any final context.
    • Deprecate: status → deprecated, explain replacement path.
    • Supersede: create a new ADR, link both ways (old → new, new → old).
    • Add learnings: append to ## More Information with a date stamp. Do not rewrite history.
  2. Use scripts/set_adr_status.js for status changes (supports both YAML front matter and inline status).

Index

If the repo has an ADR index/log file (often README.md or index.md in the ADR dir), keep it updated.

Preferred: let scripts/new_adr.js --update-index do it. Otherwise:

  • Add a bullet entry for the new ADR.
  • Keep ordering consistent (numeric if numbered; date or alpha if slugs).

Bootstrap

When introducing ADRs to a repo that has none:

bash
node /path/to/adr-skill/scripts/bootstrap_adr.js

This creates the directory, an index file, and the first ADR ("Adopt architecture decision records"). Use --json for machine-readable output. Use --dir to override the directory name.

Categories (Large Projects)

For repos with many ADRs, organize by subdirectory:

docs/decisions/
  backend/
    0001-use-postgres.md
  frontend/
    0001-use-react.md
  infrastructure/
    0001-use-terraform.md

Numbers are local to each category. Choose a categorization scheme early (by layer, by domain, by team) and document it in the index.

Resources

scripts/

  • scripts/new_adr.js — create a new ADR file from a template, using repo conventions.
  • scripts/set_adr_status.js — update an ADR status in-place (YAML front matter or inline). Use --json for machine output.
  • scripts/bootstrap_adr.js — create ADR dir, README.md, and initial "Adopt ADRs" decision.

references/

  • references/review-checklist.md — agent-readiness checklist for Phase 3 review.
  • references/adr-conventions.md — directory, filename, status, and lifecycle conventions.
  • references/template-variants.md — when to use simple vs MADR-style templates.
  • references/examples.md — filled-out short and long ADR examples.

assets/

  • assets/templates/adr-simple.md — lean template for straightforward decisions.
  • assets/templates/adr-madr.md — MADR 4.0 template for decisions with multiple options and structured tradeoffs.
  • assets/templates/adr-readme.md — default ADR index scaffold used by scripts/bootstrap_adr.js.

Script Usage

From the target repo root:

bash
# Simple ADR
node /path/to/adr-skill/scripts/new_adr.js --title "Choose database" --status proposed

# MADR-style with options
node /path/to/adr-skill/scripts/new_adr.js --title "Choose database" --template madr --status proposed

# With index update
node /path/to/adr-skill/scripts/new_adr.js --title "Choose database" --status proposed --update-index

# Bootstrap a new repo
node /path/to/adr-skill/scripts/bootstrap_adr.js --dir docs/decisions

Notes:

  • Scripts auto-detect ADR directory and filename strategy.
  • Use --dir and --strategy to override.
  • Use --json to emit machine-readable output.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Adr Skill」では何ができますか?

Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept/reject, deprecate, or supersede an ADR; bootstrap an adr folder and index; or enforce ADR conventions. This skill uses Socratic questioning to capture intent before drafting, and validates output against an agent-readiness checklist.

TypingMindでAdr Skillを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Adr Skillはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAdr Skillをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/skillrecordings/adr-skill/tree/main/.agents/skills/adr-skillを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Adr Skillを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Adr Skillは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAdr Skillを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Adr Skill」は無料ですか?

skillrecordingsがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇