Gdd Instinctのロゴ

Gdd Instinct

コミュニティ
hegemonart
gdd-instinct

アトミックなインスティンクト学習ユニット(パイプラインがサイクルを重ねる中で蓄積する、小さく範囲を限定した、信頼度付きのパターン)を確認・管理します。プロジェクトおよび全体のインスティンクトストアを一覧表示し、キーワードで検索できます。プロジェクトをまたぐ審査基準を通過した検証済みのプロジェクトインスティンクトは、全体ストアに昇格できます。インスティンクトの確認、トピック別の検索、全体スコープへの昇格を希望する場合に使います。インスティンクト、学習済みパターン、インスティンクトの昇格や検索、インスティンクトストアに関する依頼で起動します。

Add to TypingMind

概要

公開者hegemonart
リポジトリget-design-done
スキル名gdd-instinct
スター
3
フォーク
1
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

{{command_prefix}}instinct

Role: Front end for the atomic instinct store. An instinct is a single learned pattern with a trigger, a confidence between 0.3 and 0.9, a domain, and a scope. This skill lists, searches, and promotes instincts. It never edits stored units by hand and never invents new ones - the reflector and {{command_prefix}}extract-learnings author them.

The store engine ships at scripts/lib/instinct-store.cjs (authored elsewhere - this skill only calls it). Unit shape (YAML frontmatter plus a short body) is specified in reference/instinct-format.md. The project store lives at .design/instincts/instincts.json; the global store at ~/.claude/gdd/global-instincts.json.

Invoke the engine with node, the same way other skills call a scripts/lib helper:

bash
node "${CLAUDE_PLUGIN_ROOT}/scripts/lib/instinct-store.cjs" <subcommand> [args]

If the engine exposes only a module API rather than a CLI, drive it from a short node -e script:

bash
node -e "const s=require('${CLAUDE_PLUGIN_ROOT}/scripts/lib/instinct-store.cjs'); console.log(JSON.stringify(s.list({scope:process.env.SCOPE})))"

Invocation Modes

CommandBehavior
{{command_prefix}}instinct listCompact table of stored instincts (default mode).
{{command_prefix}}instinct query "<keyword>"Search instincts by keyword; show the top matches.
{{command_prefix}}instinct promote <id>Promote one project instinct to the global store (gated).

Flags apply across modes:

  • --scope project|global selects which store to read. Default is project.
  • --domain <d> filters to one domain (the domain enum is defined in reference/instinct-format.md).

list

Read the requested store and print a compact table. Call instinct-store.list({ scope, domain, baseDir }):

bash
node -e "const s=require('${CLAUDE_PLUGIN_ROOT}/scripts/lib/instinct-store.cjs'); \
  const rows=s.list({ scope: process.env.SCOPE || 'project', domain: process.env.DOMAIN || undefined }); \
  console.log(JSON.stringify(rows));"

Render one row per instinct. Keep it scannable:

ID        DOMAIN     CONF   CYCLES  TRIGGER
in-7f3a   tokens     0.72   3       palette has no neutral ramp
in-91bc   layout     0.55   2       cards overflow on the 320px breakpoint
  • CONF is the stored confidence (0.3 to 0.9).
  • CYCLES is cycles_seen.
  • Truncate TRIGGER to keep each line on one row.

If the store is empty, print: No instincts in the <scope> store yet. Run {{command_prefix}}reflect or {{command_prefix}}extract-learnings to accumulate some.

query

Search by keyword and show the closest matches. Call instinct-store.query(keyword, { scope, baseDir, limit }). The engine uses an FTS5 index when one is present and falls back to a plain scan otherwise; either path returns the same row shape.

bash
node -e "const s=require('${CLAUDE_PLUGIN_ROOT}/scripts/lib/instinct-store.cjs'); \
  const hits=s.query(process.env.KW, { scope: process.env.SCOPE || 'project', limit: 10 }); \
  console.log(JSON.stringify(hits));"

Print the top matches in the same table shape as list, ordered by the engine's relevance ranking. If there are no matches, say so plainly and suggest a broader keyword. Quote multi-word keywords so the shell passes one argument.

promote

Promote a single project instinct into the global store so it applies across every project. Promotion is gated: instinct-store.promote(id, { baseDir }) only succeeds when the instinct has been seen across at least K cycles (K=2) spanning at least M distinct project ids (M=2). The engine enforces the gate; this skill surfaces the outcome and asks the user to confirm before the write.

Confirm first. Prefer @clack/prompts, and fall back to AskUserQuestion when it is absent (mirror the probe in {{command_prefix}}new-skill):

bash
node -e "try { require.resolve('@clack/prompts'); console.log('clack'); } catch { console.log('fallback'); }"
  • clack: drive clack.confirm({ message: 'Promote <id> to the global store?' }) from a short Node script.
  • fallback: ask the same yes or no question with AskUserQuestion.

On a confirmed yes, run the promotion:

bash
node -e "const s=require('${CLAUDE_PLUGIN_ROOT}/scripts/lib/instinct-store.cjs'); \
  console.log(JSON.stringify(s.promote(process.env.ID, {})));"

Branch on the engine result:

  • Promotion succeeded: print Promoted <id> to the global store. and show the new global row.
  • Gate not met: the engine reports how far the instinct is from the K=2 / M=2 bar. Print that plainly, for example <id> needs 2 cycles across 2 projects; seen 1 cycle in 1 project so far. Not promoted. Do not retry and do not force the write.
  • Unknown id: print No instinct <id> in the project store. and suggest {{command_prefix}}instinct list.

If the user answers no at the confirm step, print Promotion cancelled. and exit without writing.

Do Not

  • Do not edit .design/instincts/instincts.json or the global store by hand. All writes go through scripts/lib/instinct-store.cjs.
  • Do not author new instincts here. The reflector and {{command_prefix}}extract-learnings emit units; this skill reads and promotes them.
  • Do not bypass the promotion gate. If the K=2 / M=2 bar is not met, report it and stop.
  • Do not modify reference/instinct-format.md or the store engine.

INSTINCT COMPLETE

よくある質問

AIスキル「Gdd Instinct」では何ができますか?

アトミックなインスティンクト学習ユニット(パイプラインがサイクルを重ねる中で蓄積する、小さく範囲を限定した、信頼度付きのパターン)を確認・管理します。プロジェクトおよび全体のインスティンクトストアを一覧表示し、キーワードで検索できます。プロジェクトをまたぐ審査基準を通過した検証済みのプロジェクトインスティンクトは、全体ストアに昇格できます。インスティンクトの確認、トピック別の検索、全体スコープへの昇格を希望する場合に使います。インスティンクト、学習済みパターン、インスティンクトの昇格や検索、インスティンクトストアに関する依頼で起動します。

TypingMindでGdd Instinctを使うメリットは何ですか?

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

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

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

Gdd Instinctを使えるAIモデルはどれですか?

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

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

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

AIスキル「Gdd Instinct」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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