Gdd Extract Learningsのロゴ

Gdd Extract Learnings

コミュニティ
hegemonart
gdd-extract-learnings

.design/内のアーティファクトからプロジェクト固有のデザインパターンと決定事項を抽出し、.design/learnings/に書き込みます。必要に応じて、ユーザーが確認できるようreference/ファイルの更新案も提示します。

Add to TypingMind

概要

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

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

AIスキル「Gdd Extract Learnings」を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/extract-learnings
  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/extract-learnings .claude/skills/gdd-extract-learnings
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

{{command_prefix}}extract-learnings

Role: Scan .design/ artifacts for recurring patterns, successful decisions, and validated approaches. Write structured learnings to .design/learnings/. Optionally propose additions to tracked reference/ files for the user to review and approve.

When to run

  • After {{command_prefix}}complete-cycle (auto-suggested by complete-cycle skill)
  • After a major verify/audit pass surfaces new patterns
  • Manually, to checkpoint what the project has learned

Protocol

Step 1 - Gather source artifacts

Collect content from available .design/ files:

bash
ls .design/*.md 2>/dev/null

Read (if present): DESIGN-CONTEXT.md, DESIGN-VERIFICATION.md, DESIGN-DEBT.md, DESIGN-SUMMARY.md, CYCLES.md

Step 2 - Invoke gdd-learnings-extractor agent

Delegate extraction to the gdd-learnings-extractor agent, passing it the list of available files. The agent extracts structured learning entries.

Step 3 - Write learnings artifact

The agent writes or appends to .design/learnings/LEARNINGS.md.

Layout of .design/learnings/LEARNINGS.md:

markdown
# Project Learnings

## <Category> — <Date>

### L-<NN>: <Title>

**Source:** <which .design/ file and section>
**Pattern type:** decision | anti-pattern | validated-approach | token-convention | component-convention
**Confidence:** high | medium | low
**Summary:** <1-2 sentences>
**Evidence:** <quote or paraphrase from source>
**Proposed reference update:** <yes — see proposal below | no>

---

Step 3b - Dual-emit atomic instinct units (Phase 51)

Alongside the prose LEARNINGS.md, emit atomic instinct units for every learning the extractor tags as an instinct-candidate. A learning is an instinct-candidate when it states a single trigger plus a one-line response - the same shape the reflector emits. Broader narrative learnings stay prose-only.

For each instinct-candidate, build a unit per reference/instinct-format.md (frontmatter: id, trigger, confidence from 0.3 to 0.9, domain, scope, project_id, source, cycles_seen, first_seen, last_seen, plus a short body). Set source: extract-learnings. Carry the learning's confidence (high / medium / low) into the numeric field (roughly 0.8 / 0.55 / 0.35), capped at 0.9.

Write each unit through the store engine scripts/lib/instinct-store.cjs rather than by hand:

bash
node "${CLAUDE_PLUGIN_ROOT}/scripts/lib/instinct-store.cjs" add --scope project

If the engine exposes a module API only, drive add(unit, { scope: 'project', baseDir }) from a short node -e script. The engine owns de-duplication and cycles_seen bookkeeping; do not pre-merge.

The prose LEARNINGS.md is retained read-only for one minor version so existing readers keep working while tooling migrates to the units. Keep writing it; do not drop the prose path in this version.

Step 4 - Reference file proposal (optional)

After writing LEARNINGS.md, check each learning entry with Proposed reference update: yes.

For each such entry: generate a proposed addition to the appropriate reference/ file (e.g., reference/heuristics.md, reference/anti-patterns.md).

Print the proposal to the terminal and ask the user to review:

━━━ Reference update proposal ━━━

Learning L-03 suggests adding to reference/anti-patterns.md:

  ### Anti-pattern: Overloaded primary button
  Using the primary button style for more than one action per screen
  reduces clarity and violates Nielsen's heuristic #4 (consistency).
  Evidence: DESIGN-VERIFICATION.md, cycle 3.

Accept this update? [y/n/edit]

If user types y: write the addition to the reference file. If user types n: mark the learning as "proposal declined" in LEARNINGS.md. If user types edit: open the proposed text for the user to modify, then write.

Step 5 - Summary

━━━ Learnings extracted ━━━
Source files scanned:    <N>
Learnings written:       <N>
Reference proposals:     <N>  (<M> accepted)
Output: .design/learnings/LEARNINGS.md
━━━━━━━━━━━━━━━━━━━━━━━━━━━

Required reading (conditional)

@.design/intel/decisions.json (if present) @.design/intel/patterns.json (if present) @.design/learnings/LEARNINGS.md (if present)

EXTRACT-LEARNINGS COMPLETE

よくある質問

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

.design/内のアーティファクトからプロジェクト固有のデザインパターンと決定事項を抽出し、.design/learnings/に書き込みます。必要に応じて、ユーザーが確認できるようreference/ファイルの更新案も提示します。

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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