Decision Mapのロゴ

Decision Map

コミュニティ
Mathews-Tom
decision-map

計画を始める前に解決すべき、未確定のアーキテクチャ、ポリシー、スコープに関する決定事項を整理します。課題管理ツール上で、質問ごとに永続的な決定チケットを1件作成し、種類を設定してブロッカーとの関連付けを行い、親マップの下にまとめます。未確定部分、スコープ外の項目、算出された着手可能範囲を可視化し、1回の実行につき1つの決定事項を解決します。次のような依頼で起動します:「決定事項を整理して」「何を決める必要がある?」「不明点を洗い出して」「まだ計画を立てられる段階ではない」「決定マップ」「この取り組みを図にして」「次の決定チケットに取り組んで」「wayfinder」。目指す方向がまだ定まっていない場合に使用します。既知の機能を実装単位に分解する用途には使わず、task-decomposerを使用してください。マイルストーン計画には使わず、plan-promptsを使用してください。

Add to TypingMind

概要

公開者Mathews-Tom
リポジトリarmory
スキル名decision-map
スター
318
フォーク
47
同梱ファイル
12
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 12個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Decision Map

Scope and Trigger Boundary

Ask one discriminator before creating anything: Do we know what should be built? If no, map unresolved decisions. If yes, route known design into milestones with plan-prompts or implementation-sized work with task-decomposer. A decision map produces decisions and evidence, never implementation deliverables.

SituationPackage
Destination or design still unclear; decisions would have to be inventeddecision-map
Design known; needs milestones and execution promptsplan-prompts
Feature specified; needs implementation slices, tests, riskstask-decomposer
Plan exists; needs a pre-implementation auditplan-review
Plan approved; needs execution across sessionsmilestone-runner
Repo audit needs standalone remediation plans, optionally as issuescodebase-advisor --issues
One decision needs a durable recordadr-writer
Session state must survive a handoffhandoff

Do not turn vague hopes into implementation tasks merely to make progress appear orderly. A sharp but currently unanswered question is a ticket. A question that cannot yet be stated sharply is fog.

Data Model

A map is one parent tracker item with five sections: Destination, Notes, Decisions so far, Not yet specified, and Out of scope. It is an index, not a duplicate store. A decision exists in exactly one ticket; the map holds only resolution pointers and scope boundaries.

A ticket holds one question, exactly one type label, exactly one interaction label, blockers, visible owner, session claim, and closure state. Refer to maps and tickets by linked title, never a bare identifier. Type labels are decision-map:discussion, decision-map:research, decision-map:prototype, and decision-map:unblock. Interaction labels are authoritative: exactly one of decision-map:hitl or decision-map:afk; ticket bodies must not restate the interaction mode.

Prerequisites

Use gh --version and require gh 2.96.0 or newer only when the user explicitly selects GitHub as the tracker. Verify authentication with gh auth status before that path. frontier.py requires Python 3.12 and only the standard library. .docs/agents/issue-tracker.md, when present, is the authoritative backend choice. Otherwise store maps locally in .docs/decision-maps/<effort>/; select GitHub only when the user expressly asks for it. Do not infer GitHub selection from a remote or authentication. Report the selected backend once and mention project-context-setup when the choice should be persisted. Probe GitHub capability before using native relationships. When older GitHub Enterprise or an older CLI rejects blockedBy, take the degraded path: generated child links in the map and Blocked by: #N lines in ticket bodies. The degraded index exists only to emulate absent tracker relationships.

Workflow

Mode A — Chart the Map

  1. Name the destination before discussing its route. Use one concrete either-or question at a time and reuse the effort's vocabulary.
  2. Sweep breadth-first for policy, architecture, scope, evidence, access, and design questions. If no fog surfaces, stop: the effort needs no decision map.
  3. Ensure labels and the selected backend schema exist. Create the map with all five sections.
  4. Create every question already sharp enough to ticket. Give every ticket exactly one type label and exactly one interaction label.
  5. Wire blocker edges only after ticket creation, because the backend needs ticket identifiers before it can connect them.
  6. Put the remaining unformulated uncertainty in Not yet specified; record conscious exclusions with a reason in Out of scope.
  7. Compute the frontier and map state with frontier.py; report created topology and stop.

Charting resolves nothing, runs no research, implements nothing, and never collapses uncertainty to look tidy. Report the AFK-ready frontier separately: those tickets may be advanced by that many independent work invocations, each resolving at most one ticket.

Mode B — Work Through the Map

  1. Load only the map body, select the requested frontier ticket or the first item returned by frontier.py, and establish visible ownership.
  2. Acquire and verify the session claim before substantive work. Follow references/claim-protocol.md; do not infer exclusivity from assignment.
  3. Resolve exactly one ticket by its type. A HITL ticket requires the human's judgment; an agent answering it alone has broken the ticket.
  4. Record one closure path: RESOLVED, OUT_OF_SCOPE, or INVALIDATED. Write the decision or evidence in the ticket, close it with the matching backend path, and add only a pointer in Decisions so far or Out of scope.
  5. Create newly surfaced sharp questions, graduate them out of fog, and remove only the graduated fog patch. Recompute frontier and state.
  6. Report and stop without selecting another ticket.

unblock work is restricted to evidence, access, measurement, setup, or a minimal experiment that makes a decision answerable. It never implements a product feature.

Output

Chart Output

Report map title and identifier, tickets with type and interaction labels, blocker edges, current frontier, remaining fog, computed map state, and the stop condition. Include the AFK-ready frontier count and state that each item requires a separate work invocation.

Work Output

Report the resolved ticket, closure path, recorded decision or evidence, new tickets, changed blocker edges, resulting frontier, state, and stop condition. When the state is COMPLETE, recommend plan-prompts for implementation planning. Do not create an inline plan.

Claim Protocol

Visible ownership and session claim are separate requirements. On GitHub, a claim comment begins with decision-map claim, includes session: and claimed-at:, and is re-read before work. The lowest non-stale database comment identifier, encoded in the issue-comment URL, wins. A loser withdraws, removes its assignee if it added one, recomputes the frontier, and selects another ticket. A claim older than the map's configured TTL, default 24 hours, can be preempted with a recorded reason.

Local maps use an exclusive claims lock. See references/claim-protocol.md for exact arbitration, stale-claim, and release rules.

Map States

An empty frontier does not mean completion. Evaluate the ordered ladder: actionable unclaimed ticket means ACTIVE; otherwise any claimed open ticket means WAITING; otherwise any open ticket means BLOCKED; otherwise non-empty fog means FOGGY; otherwise no open tickets, no fog, and no Unresolved contradiction: entry in Notes means COMPLETE.

Error Handling and Troubleshooting

FailureDiagnoseCorrective action
Tracker document absentinspect .docs/agents/issue-tracker.mduse the local .docs/decision-maps/ backend unless the user selected GitHub
Native relationship unsupportedgh issue view <map> --json blockedByuse degraded generated links and body blockers
Label schema absentgh label listbootstrap labels idempotently before ticket creation
Two sessions claim one ticketre-read comments and database comment identifierslowest fresh identifier wins; loser withdraws
Claim belongs to dead sessioncompare timestamp to map TTLrecord preemption, then claim
Empty frontier with open ticketsrun frontier.pyreport WAITING or BLOCKED, never complete
Map and tickets driftinspect map pointers and backend graphrepair generated degraded index or resolution pointers
Malformed local claim lockinspect the lock contentsstop; preserve it for diagnosis rather than overwriting it

Fail loudly when the map label is absent, a ticket has missing or multiple type or interaction labels, the capability probe is ambiguous, or claim verification fails. Do not silently create a replacement map.

Rationalizations

Reject these statements:

  • “I'll resolve two; they are small.” One invocation resolves one ticket.
  • “I'll pre-slice fog while I am here.” Fog is deliberately not a task list.
  • “I know the answer, so no human is needed.” That violates a HITL ticket.
  • “I'll just build it; it is faster.” Implementation is outside this package.
  • “The frontier is empty, so we are done.” The state ladder decides that.

Red Flags

Bare issue numbers in narration, maps that repeat ticket content, sharp questions left in fog, closed tickets without resolution comments, scope boundaries listed as decisions, or substantive work before claim verification all signal a broken map.

Verification

Confirm all five map sections exist; every open ticket is a child of the map and has exactly one type and interaction label; every blocker edge is native or documented as degraded; ownership and claim were verified before substantive action; each closure used one valid path and reached the correct map section; and the reported state matches frontier.py.

bash
uv run python skills/decision-map/scripts/frontier.py --map 42
uv run python skills/decision-map/scripts/frontier.py --map 42 --degraded
uv run python skills/decision-map/scripts/frontier.py --local .docs/decision-maps/billing

References

ReferencePurpose
references/map-format.mdMap schema, template, and index rules
references/ticket-types.mdTypes, labels, and closure boundaries
references/claim-protocol.mdGitHub arbitration and local exclusion
references/map-states.mdOrdered state ladder
references/tracker-operations.mdGitHub, degraded, and local backend operations
references/elicitation.mdDiscovery questions and vocabulary discipline
references/research-resolution.mdSelf-contained AFK research protocol
scripts/frontier.pyNormalized frontier and state computation

同梱ファイル

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

よくある質問

AIスキル「Decision Map」では何ができますか?

計画を始める前に解決すべき、未確定のアーキテクチャ、ポリシー、スコープに関する決定事項を整理します。課題管理ツール上で、質問ごとに永続的な決定チケットを1件作成し、種類を設定してブロッカーとの関連付けを行い、親マップの下にまとめます。未確定部分、スコープ外の項目、算出された着手可能範囲を可視化し、1回の実行につき1つの決定事項を解決します。次のような依頼で起動します:「決定事項を整理して」「何を決める必要がある?」「不明点を洗い出して」「まだ計画を立てられる段階ではない」「決定マップ」「この取り組みを図にして」「次の決定チケットに取り組んで」「wayfinder」。目指す方向がまだ定まっていない場合に使用します。既知の機能を実装単位に分解する用途には使わず、task-decomposerを使用してください。マイルストーン計画には使わず、plan-promptsを使用してください。

TypingMindでDecision Mapを使うメリットは何ですか?

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

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

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

Decision Mapを使えるAIモデルはどれですか?

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

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

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

AIスキル「Decision Map」は無料ですか?

はい。Mathews-TomがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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