Логотип Doubt Driven Development

Doubt Driven Development

Спільнота
etr
doubt-driven-development

Use when building a high-stakes or hard-to-reverse change - schema/data migrations, auth, payments, public API surface, destructive operations, or concurrency - to adversarially refute the chosen approach BEFORE committing to it

Огляд

Видавецьetr
Репозиторійgroundwork
Назва навичкиdoubt-driven-development
Зірки
45
Форки
4
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

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

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

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

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

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

    Опубліковано на GitHub користувачем etr. Перегляньте вихідний вміст перед установленням.

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

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

1

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

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

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/etr/groundwork/tree/main/skills/doubt-driven-development
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/etr/groundwork.git /tmp/groundwork
mkdir -p .claude/skills
cp -r /tmp/groundwork/skills/doubt-driven-development .claude/skills/doubt-driven-development
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

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

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

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

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

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

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

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

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

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

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

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

Doubt-Driven Development

Overview

For most code, optimism is fine: try it, run the test, fix what breaks. For changes you cannot cheaply undo, optimism is a liability. Doubt-driven development inverts the default — you actively try to refute your chosen approach before you build it, and you require concrete evidence to clear each doubt.

Core principle: default to refuted when uncertain. A doubt you cannot disprove with evidence is a reason to choose a safer path, not a reason to proceed and hope.

This is review applied during the build, by you, before a single line is committed. It is distinct from [[validate]], the post-hoc multi-agent loop that runs after implementation — that catches what got built wrong; this catches what should never have been built that way.

When to Use

Apply when the change is high-stakes or hard to reverse:

  • Schema / data migrations — backfills, column drops, type changes, anything that mutates existing rows
  • Authentication / authorization — session handling, token validation, permission checks
  • Payments / billing — charges, refunds, idempotency, money math
  • Public API surface — endpoints or contracts other teams or users depend on
  • Destructive / irreversible operations — deletes, overwrites, bulk updates, cache purges
  • Concurrency — locking, ordering, race-prone shared state

Routine, easily-reverted CRUD does not need this. Reserve the ceremony for blast radius.

Process

1. Name the decision

State the high-stakes decision in one sentence, explicitly. "I will run the backfill in a single transaction over the whole table." Vague intent cannot be refuted. If you cannot name it crisply, you do not understand it well enough to commit to it.

2. Adopt the skeptic stance — refute, don't defend

Before implementing, switch jobs. Your job is now to break the chosen approach, not to justify it. Produce, in writing:

  • How it fails — concrete failure modes, not "it should be fine"
  • What it breaks — existing callers, data, invariants, in-flight requests
  • What would disprove it — the specific observation that would prove the approach wrong (the row count mismatches; the lock is held > N seconds; the old client gets a 500)

A skeptic who lists zero failure modes is not trying. Push until you have real ones.

3. Demand evidence per doubt

Each doubt is cleared only by concrete evidence — a test, a doc/spec, or a spike (throwaway experiment against real-ish data). "I'm pretty sure" does not clear a doubt. If clearing a doubt requires a behavior, write the failing test first ([[test-driven-development]]) so the evidence is durable. Spike code lives in the task worktree (or a scratch worktree via [[use-git-worktree]]) and is never committed — never in the shared workspace, where it pollutes other work.

4. Resolve: clear, refute, or escalate

  • Cleared — evidence disproves the doubt. Proceed on that point.
  • Refuted — evidence confirms the failure, or you cannot get evidence after honest effort. Pick a safer, reversible path (expand/contract migration instead of in-place; feature flag; dry-run mode; smaller batches) or escalate to the human with the doubt and what you tried.

Uncertainty after honest effort counts as refuted, not as permission to proceed.

Rationalizations

ExcuseReality
"I'm pretty sure it works"Certainty without evidence is a guess. Get the test, doc, or spike.
"It's probably fine, low risk"You put it on the high-stakes list. Probably-fine is the exact failure this catches.
"[[validate]] will catch it later"Validate runs after the irreversible thing already happened. Doubt runs before.
"Refuting my own plan wastes time"A bad migration or auth bug costs far more than the spike that would have caught it.
"I can't prove it's safe, but I can't prove it's unsafe either"Default to refuted. The burden is on the approach to clear the doubt, not on you to disprove it.
"Adding a flag / dry-run is over-engineering"For irreversible work, reversibility is the requirement, not a luxury.

Red Flags - STOP

  • Listing only reasons the approach works, none of how it fails
  • "Should be fine" / "I'm pretty sure" / "probably" as the basis to proceed
  • Clearing a doubt with reasoning instead of a test, doc, or spike
  • Treating "I couldn't find a problem" as "there is no problem"
  • Running the irreversible step with no dry-run, no flag, no rollback
  • Proceeding while a named doubt is still open

Verification

Before committing the high-stakes change:

  • The decision is named in one explicit sentence
  • At least one concrete failure mode and its disproving observation are written down
  • Every doubt is either cleared by evidence (test/doc/spike) or marked refuted
  • No open doubt remains; uncertain ones were treated as refuted
  • If refuted, a safer reversible path was taken or the human was escalated to
  • The irreversible step has a rollback, dry-run, or flag — or proof it needs none

Can't check every box? The doubt is not cleared. Do not commit.

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

Що робить навичка ШІ Doubt Driven Development?

Use when building a high-stakes or hard-to-reverse change - schema/data migrations, auth, payments, public API surface, destructive operations, or concurrency - to adversarially refute the chosen approach BEFORE committing to it

Навіщо використовувати Doubt Driven Development у TypingMind?

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

Як встановити Doubt Driven Development у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/etr/groundwork/tree/main/skills/doubt-driven-development. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Doubt Driven Development?

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

Зі скількома моделями ШІ можна використовувати Doubt Driven Development?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Doubt Driven Development — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Doubt Driven Development?

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

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

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

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

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

Усі

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

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