Gdd Extract Learnings logo

Gdd Extract Learnings

Community
hegemonart
gdd-extract-learnings

Extracts project-specific design patterns and decisions from .design/ artifacts and writes them to .design/learnings/. Optionally proposes updates to reference/ files for user review.

Overview

Publisherhegemonart
Repositoryget-design-done
Skill namegdd-extract-learnings
Stars
3
Forks
1
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by hegemonart on GitHub. Read the source before you install it.

Installation

Install the Gdd Extract Learnings AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hegemonart/get-design-done/tree/main/scripts/skill-templates/extract-learnings
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Gdd Extract Learnings in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Gdd Extract Learnings on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Gdd Extract Learnings is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

{{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

Frequently asked questions

What does the Gdd Extract Learnings AI skill do?

Extracts project-specific design patterns and decisions from .design/ artifacts and writes them to .design/learnings/. Optionally proposes updates to reference/ files for user review.

Why use Gdd Extract Learnings on TypingMind?

Because you install it once and use it with any model. Gdd Extract Learnings is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Gdd Extract Learnings in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hegemonart/get-design-done/tree/main/scripts/skill-templates/extract-learnings. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Gdd Extract Learnings?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Gdd Extract Learnings?

As many as you like. As long as a model supports skills, you can use Gdd Extract Learnings with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Gdd Extract Learnings AI skill free?

Yes. It is published on GitHub by hegemonart under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇