Mpm Adrのロゴ

Mpm Adr

コミュニティ
bobmatnyc
mpm-adr

Architecture Decision Records (ADRs) — opt-in convention for documenting significant, hard-to-reverse architectural decisions using the Nygard template.

概要

公開者bobmatnyc
リポジトリclaude-mpm
スキル名mpm-adr
スター
152
フォーク
34
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

/mpm-adr

Architecture Decision Records (ADRs) are short, structured documents that capture why a significant architectural decision was made — not just what was decided. They live alongside the code so future contributors understand the constraints and trade-offs that shaped the system.

This skill is opt-in. Only use it for decisions that are architecturally significant AND costly to reverse. Over-forcing ADRs on routine work is the documented adoption-killer.


When to Write an ADR

Write an ADR only when all three conditions are true:

  1. Architecturally significant — the decision shapes how major parts of the system are structured, constrain future options, or affect multiple teams/components.
  2. Costly to reverse — undoing or changing the decision later would require substantial rework, data migration, or coordination.
  3. Not obvious from the code — the rationale is not apparent from reading the implementation alone.

Write an ADR for:

  • Choosing a database engine or persistence strategy
  • Adopting an async framework or concurrency model
  • Selecting an authentication/authorization approach
  • Defining service boundaries or API contracts
  • Committing to a major dependency or platform
  • Establishing a cross-cutting pattern (error handling, logging format)
  • Deprecating a foundational component

Do NOT write an ADR for:

  • Routine bug fixes
  • Small features or minor enhancements
  • Style/formatting decisions (use a linter config)
  • Decisions already obvious from the codebase
  • Every library version bump

If you are unsure, ask: "Would a new team member in six months need to understand why this choice was made?" If no — skip it.


File Location Convention

ScopeLocation
Workspace-wide decisionsdocs/adr/NNNN-kebab-title.md
Component-specific decisionsdocs/<component>/decisions/NNNN-kebab-title.md

Use docs/adr/ for decisions that span the whole project or affect architectural boundaries. Use docs/<component>/decisions/ for decisions scoped to a single service or library within a monorepo.


Numbering Convention

ADRs are numbered sequentially with zero-padded four-digit integers:

docs/adr/
  0000-template.md           ← master template (never a real decision)
  0001-use-postgres.md
  0002-adopt-async-framework.md
  0003-api-versioning-strategy.md

Pick the next available number by listing existing files:

bash
ls docs/adr/ | sort | tail -5

Status Lifecycle

Every ADR carries a Status field with one of these values:

StatusMeaning
ProposedDraft under discussion; not yet adopted
AcceptedAdopted — this is the current approach
DeprecatedNo longer recommended; superseded or abandoned
Superseded by [NNNN]Replaced by a later ADR (link to the new one)

When a decision changes, update the old ADR's status to Superseded by NNNN and create a new ADR for the replacement. Never delete old ADRs — the historical record is the point.


Nygard Template

markdown
# NNNN. Title (short, imperative: "Use X for Y")

Date: YYYY-MM-DD

## Status

Proposed | Accepted | Deprecated | Superseded by [NNNN](NNNN-replacement.md)

## Context

What is the issue that we are seeing that is motivating this decision?
Describe the forces at play: technical constraints, team constraints,
organizational constraints, product requirements. Be factual.

## Decision

The change that we are proposing or have agreed to implement.
State the decision clearly in active voice: "We will use X."

## Consequences

What becomes easier or more difficult as a result of this change?
List both positive and negative consequences. Include known risks.
Be honest about trade-offs — this section is the most valuable part.

Workflow

Creating a new ADR

  1. Run /mpm-init on a new project — docs/adr/ is scaffolded with README.md and 0000-template.md.
  2. Copy 0000-template.md to NNNN-your-title.md with the next number.
  3. Fill in Context, Decision, and Consequences. Set Status to Proposed.
  4. Submit for review. Once agreed, change Status to Accepted.
  5. Commit with: docs: ADR-NNNN adopt X for Y

Superseding an ADR

  1. Create a new ADR (MMMM-new-approach.md) with Status Accepted.
  2. Edit the old ADR's Status to Superseded by [MMMM](MMMM-new-approach.md).
  3. Commit both files together.

Follow-up (Stretch Goal)

A future documentation-agent hook could auto-draft ADRs from significant commits or conversation context. This is tracked as a follow-up to issue #562 and is not part of the current implementation.


References

  • Michael Nygard, "Documenting Architecture Decisions" (2011)
  • bobmatnyc/trusty-tools — prior art for this convention
  • docs/features/adr.md — trigger criteria and hybrid location guide

よくある質問

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

Architecture Decision Records (ADRs) — opt-in convention for documenting significant, hard-to-reverse architectural decisions using the Nygard template.

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

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

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

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

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

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

Mpm Adrで使えるAIモデルの数に制限はありますか?

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

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

bobmatnycがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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