Логотип Gdd Apply Reflections

Gdd Apply Reflections

Спільнота
hegemonart
gdd-apply-reflections

Review and selectively apply proposals from .design/reflections/<cycle-slug>.md. Diffs each proposal, prompts user to accept/skip/edit, then writes changes.

Огляд

Видавецьhegemonart
Репозиторійget-design-done
Назва навичкиgdd-apply-reflections
Зірки
3
Форки
1
Файли в пакеті
1
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: hegemonart. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Gdd Apply Reflections у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/hegemonart/get-design-done/tree/main/scripts/skill-templates/apply-reflections
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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/apply-reflections .claude/skills/gdd-apply-reflections
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Gdd Apply Reflections в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Gdd Apply Reflections, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Gdd Apply Reflections не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

{{command_prefix}}apply-reflections

Interactive proposal review loop. Reads .design/reflections/<cycle-slug>.md, walks each numbered proposal, and applies accepted ones to the appropriate target file. Nothing is applied without explicit user confirmation.

Steps

1. Resolve reflections file

  • If --cycle <slug> given: load .design/reflections/<slug>.md
  • Else: glob .design/reflections/*.md, sort by modified time descending, load the most recent
  • If no file found: error "No reflections found. Run {{command_prefix}}reflect first."
  • Print: "Reviewing reflections: "

2. Parse proposals

Scan file for lines matching ### Proposal N — [TYPE] .... Extract each proposal block (Why / Change / Risk).

If --filter <TYPE> given: skip proposals whose type tag doesn't match.

Print: "Found N proposals (N after filter)."

3. Review loop

For each proposal (in order):

Print the full proposal block:

─────────────────────────────────────────
Proposal N/TOTAL — [TYPE] Title
Risk: low|medium

Why: ...
Change: ...
─────────────────────────────────────────
(a) apply   (s) skip   (e) edit   (q) quit

If --dry-run: print [dry-run — would prompt here] and continue to next proposal without prompting.

Based on user choice:

  • a - apply (see Apply Logic below)
  • s - mark proposal as **Reviewed: skipped** in the reflections file; continue
  • e - show the Change text, ask user to provide edited version, then apply the edited version
  • q - stop processing; print "Stopped at proposal N. Resume with {{command_prefix}}apply-reflections --cycle <slug>."

4. Apply Logic by Proposal Type

After the user chooses a (apply) or e (edit-then-apply), branch on the proposal's bracketed type tag and follow the per-type apply procedure in ./apply-reflections-procedure.md - one numbered procedure each for [FRONTMATTER], [REFERENCE], [BUDGET], [QUESTION], [GLOBAL-SKILL]. All branches end with **Applied**: <date> appended to the proposal block in the reflections file.

5. Summary

After all proposals processed (or q):

─────────────────────────────────────────
Apply-reflections complete
  Applied:  N
  Skipped:  N
  Remaining: N (run again to continue)
─────────────────────────────────────────

[INCUBATOR]

Incubator drafts authored by scripts/lib/incubator-author.cjs (Phase 29-04) appear as a distinct proposal class. For each draft under .design/reflections/incubator/<slug>/, use scripts/lib/apply-reflections/incubator-proposals.cjs:

  1. discoverIncubatorDrafts() → list pending drafts.
  2. renderProposal(draft) → show full body + diff + origin signals.
  3. User chooses accept | reject | defer | edit.
  4. accept - scope-guard runs FIRST (validateScope from scripts/validate-incubator-scope.cjs); applyAccept then promotes draft → agents/<slug>.md or skills/<slug>/SKILL.md and appends a registry entry. Single-step per D-04.
  5. reject - applyReject removes the incubator subdir.
  6. defer - no-op; draft re-surfaces next run.
  7. edit - applyEdit opens $EDITOR; re-prompt user on close.

Stage-1 gate. At session start, call checkStage1Gate(). If thresholdMet && !optInRecorded, display the opt-in prompt once. NEVER auto-flip per D-01 - recording opt-in requires explicit user confirmation via recordOptIn(). Full procedure: ./apply-reflections-procedure.md §[INCUBATOR].

[KFM-CANDIDATE]

KFM-catalogue proposals authored by scripts/lib/reflector-kfm-proposer.cjs (Phase 30.5-03 D-05) appear as a 6th proposal class. Drafts at .design/reflections/incubator/kfm-<slug>/CATALOGUE-ENTRY.md; pre-filled 11-field schema with TODO: placeholders for pattern + fix. Two upstream signals share the surface (D-06): capability_gap clusters (≥3, no existing match) + kfm-candidate events (whitelist-matched articles, 1-shot). User chooses accept | reject | defer | edit. applyAccept appends to reference/known-failure-modes.md + reference/registry.json (origin: incubator-kfm); applyReject removes the incubator subdir; applyDefer stamps deferred_until; applyEdit returns the draft path for $EDITOR. Full procedure: ./apply-reflections-procedure.md §[KFM-CANDIDATE].

[INSTINCT]

Atomic instinct units emitted by design-reflector (and surfaced from {{command_prefix}}extract-learnings) appear as a distinct proposal class, alongside [INCUBATOR] and [KFM-CANDIDATE]. Each unit is a fenced yaml block under the reflector's ## Atomic instincts section, shaped per reference/instinct-format.md (id, trigger, confidence, domain, scope, project_id, source, cycles_seen, first_seen, last_seen, plus a short body). A unit is a proposal, never a stored fact - nothing lands until the user accepts it.

Mirror the [INCUBATOR] flow:

  1. Discover the units: parse every yaml block under ## Atomic instincts in the reflections file. Skip malformed blocks (warn on stderr, keep going).
  2. For each unit: show the parsed trigger, domain, confidence, and body so the user sees what would be stored.
  3. Prompt: (a) accept (r) reject (d) defer (e) edit (q) quit.

Per-action behavior:

  1. accept - call scripts/lib/instinct-store.cjs add(unit, { scope, baseDir }) with the unit at its emitted confidence. The store owns de-duplication and cycles_seen bookkeeping. On success print Stored instinct <id> (<domain>, confidence <n>). and append **Applied**: <date> to the proposal block.
  2. reject - do not store the unit. Append **Reviewed: rejected** to the reflections file.
  3. defer - no-op; the unit re-surfaces next run. Append **Reviewed: deferred**.
  4. edit - let the user adjust trigger, confidence, or domain, then accept the edited unit through the same add(...) call. Default scope: 'project' (write global only when the unit's frontmatter says so); never edit .design/instincts/instincts.json directly, and promote to global via the separate gated {{command_prefix}}instinct promote.

Do Not

  • Do not apply any proposal without the user explicitly choosing a or e.
  • Do not modify source code files (.ts, .tsx, .css, .js) - only agent files, reference files, budget.json, discussant questions, global skills, and incubator drafts.
  • Do not re-run the reflector - this skill only applies existing proposals.
  • Do not bypass the scope guard or auto-flip Stage-1 - both are non-negotiable per D-05 / D-01.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Gdd Apply Reflections?

Review and selectively apply proposals from .design/reflections/<cycle-slug>.md. Diffs each proposal, prompts user to accept/skip/edit, then writes changes.

Навіщо використовувати Gdd Apply Reflections у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Gdd Apply Reflections — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Gdd Apply Reflections у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/hegemonart/get-design-done/tree/main/scripts/skill-templates/apply-reflections. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Gdd Apply Reflections?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Gdd Apply Reflections?

Зі скількома забажаєте. У TypingMind ви можете використовувати Gdd Apply Reflections із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Gdd Apply Reflections?

Так. На GitHub цю навичку публікує hegemonart за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇