Speq Adr Rulesのロゴ

Speq Adr Rules

コミュニティ
marconae
speq-adr-rules

When a decision becomes an ADR: the default is no, only durable decisions qualify, search first, one decision per ADR. Use inside a /speq-plan, /speq-record, or /speq-audit run.

概要

公開者marconae
リポジトリspeq-skill
スキル名speq-adr-rules
スター
54
フォーク
10
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

ADR Rules

An ADR is a rare record of a durable decision. Most plans produce none. This skill is the single owner of the rules. Other skills and agents cite it and do not restate it.

1. Default No

  • The expected number of Promotes to ADR: yes entries per plan is zero.
  • Set yes only when a criterion in rule 2 applies and you can name it.
  • Two or more yes entries in one plan get re-judged. Re-read each one against rule 2 and rule 3 before you keep it.
  • A plan with many Design Decisions entries or many resolved review findings does not owe an ADR for each. Most decisions are local and stay no.

2. Criteria for Yes

A decision qualifies only when at least one of these holds:

  • It affects multiple components.
  • It sets a long-lived constraint that binds future work.
  • It is a major technology, API, persistence, security, or deployment choice.
  • It rejects a plausible alternative, and the reason will matter to a later reader.

The entry's Rationale names the criterion that applies and states the result of the search in rule 5.

3. Never an ADR

  • Naming, file placement, and folder layout.
  • A one-off bug fix.
  • A scope trim or a task ordering choice.
  • Implementation detail: function signatures, file paths, flags, data layout inside one module.
  • A workaround specific to one plan's own mechanics, such as a spec-merge gap or a review-loop correction.
  • A corollary of another decision. Record it as a bullet in the parent entry's Consequences line.
  • A statement that already lives in a feature spec scenario.

4. Where It Goes Instead

ContentDestination
Conventions that bind contributors or agentsCLAUDE.md, AGENTS.md, a .speq/*-hook.md file, or specs/mission.md Constraints
WHAT the system is: components and boundariesspecs/architecture.md, changed through an architecture delta
HOW this plan builds itA phrase in the plan.md task line. Only a choice with a rejected alternative gets a decision-log.md ## Design Decisions entry with Promotes to ADR: no
Execution stepsplan.md ## Implementation Tasks

An ADR records why. specs/architecture.md records what is.

To change an existing ADR, write a new ADR with Supersedes: <slug>. Do not edit the old fragment.

5. Search First

Before you set yes, read the ADR digest (/speq-cli) and any fragment that matches the decision. If an ADR already covers the decision, do not promote a duplicate. Either set no, or supersede that ADR when the decision has changed. State the search result in Rationale.

Every plan reads the accepted ADRs before it records design decisions. A plan whose decision, spec delta, or architecture delta contradicts an accepted ADR either conforms to it or supersedes it through a decision-log entry with Supersedes: <slug> and Promotes to ADR: yes. A silent contradiction is a defect.

6. One Decision, No Detail

  • One ADR records one decision.
  • Decision states the choice in plain words. It holds no function signatures, file paths, or flags.
  • An ADR names a library but never pins its version. A version number lives in the manifest or lockfile. The Decision states the policy instead, for example "use the registry release, not a git tag".
  • If the Decision needs a list of paths, signatures, or version numbers to make sense, the content is implementation detail. Move it to the plan.md task line, or to a decision-log.md ## Design Decisions entry with Promotes to ADR: no if it has a rejected alternative.

7. Shape

An ADR has four short sections: Context, Decision, Options Considered, Consequences.

  • Options Considered appears only when a real alternative was rejected.
  • Consequences appears only when the entry carries a Consequences line.
  • Each section is a few sentences. A section that needs a page is more than one decision or holds implementation detail.

7a. Minimum Text, No History

An ADR holds the least text that states the decision. Follow /speq-writing-guardrails.

  • State the current fact in the present tense. Do not narrate how the decision was reached: no earlier attempts, review rounds, plan names, dates, or "was changed from".
  • Context is one or two sentences: the situation that forces the decision.
  • Decision is one to three sentences.
  • An Options Considered row is one line: the option and the reason it lost.
  • Consequences are short bullets that name what becomes easier or harder.
  • Do not copy a decision-log entry's Rationale or Alternatives prose into the ADR. Keep only what a later reader needs to understand why.
  • Remove a sentence that a reader could drop without losing the decision or its reason.

8. Status Lifecycle

  • An ADR is proposed at plan time. A Promotes to ADR: yes entry that passes rules 1 to 5 is the proposal. The plan skill prints it as an ADR candidate.
  • Recording the plan is the acceptance. recorder-agent writes Status: Accepted when /speq-record runs.
  • To reject a proposal, change the entry to Promotes to ADR: no and run the plan skill again before you record. In a PR run, comment on the draft PR and run /speq-plan-pr again with the PR number.
  • Deprecated and Superseded by <slug> follow the existing rules.

9. Vocabulary

TermMeaning
ADRA permanent record in specs/_decision/ of one durable decision
Plan contextThe ## Context part of plan.md: a bullet list of the problem and the forces behind one plan's change. It holds no decisions and is not an ADR
Decision-log entryA note in a plan's decision-log.md. Only an entry marked Promotes to ADR: yes can become an ADR
ADR candidateA decision-log entry marked Promotes to ADR: yes. It is the proposal, shown when the plan is ready
AcceptedAn ADR written by /speq-record. Recording the plan is the acceptance

よくある質問

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

When a decision becomes an ADR: the default is no, only durable decisions qualify, search first, one decision per ADR. Use inside a /speq-plan, /speq-record, or /speq-audit run.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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