Logotipo de Doubt Driven Development

Doubt Driven Development

Comunidad
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

Descripción general

Editoretr
Repositoriogroundwork
Nombre de la habilidaddoubt-driven-development
Estrellas
45
Forks
4
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por etr en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Doubt Driven Development en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/etr/groundwork/tree/main/skills/doubt-driven-development
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Doubt Driven Development en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Doubt Driven Development automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Doubt Driven Development no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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

¿Por qué usar Doubt Driven Development en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Doubt Driven Development está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Doubt Driven Development en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/etr/groundwork/tree/main/skills/doubt-driven-development. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Doubt Driven Development?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Doubt Driven Development?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Doubt Driven Development con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Doubt Driven Development?

Sí. etr la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇