Logotipo de Doubt Driven Review

Doubt Driven Review

Comunidad
pimenov
doubt-driven-review

Runs an adversarial review gate for non-trivial or high-stakes decisions before they stand. Use when Codex is about to claim something is safe, correct, reversible, production-ready, scalable, idempotent, secure, or compliant; when work touches production, auth, permissions, secrets, billing, public APIs, migrations, irreversible cleanup, customer data, external agent CLIs, or unfamiliar code with meaningful blast radius; or when a confident answer would be cheaper to challenge now than to debug later.

Descripción general

Editorpimenov
Repositoriocodex-first-skills-pack
Nombre de la habilidaddoubt-driven-review
Estrellas
28
Forks
5
Archivos incluidos
Solo instrucciones
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • 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 pimenov en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Doubt Driven Review 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/pimenov/codex-first-skills-pack/tree/main/skills/doubt-driven-review
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → 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/pimenov/codex-first-skills-pack.git /tmp/codex-first-skills-pack
mkdir -p .claude/skills
cp -r /tmp/codex-first-skills-pack/skills/doubt-driven-review .claude/skills/doubt-driven-review
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Doubt Driven Review 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 encaja con la habilidad, 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 Review 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 Review 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 que encaja con la habilidad, 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 Review

Overview

Use this skill to challenge a risky decision while it is still cheap to change. The reviewer must try to disprove the artifact against its contract, not praise it or summarize it.

This is an in-flight gate, not a general code review. It is for decisions, claims, diffs, plans, migrations, deploy steps, rollback plans, and safety assertions that could hurt if they are wrong.

Do Not Use

  • One-line mechanical edits, formatting, renames, or file moves.
  • Simple read-only exploration where no claim or mutation follows.
  • Tasks already proven by a failing-then-passing test at the right boundary.
  • Cases where the user explicitly chooses speed over verification and the risk is low.
  • As theater after the decision is already made; use normal review for finished artifacts.

Trigger Test

A decision is non-trivial when at least one is true:

  • It crosses a module, service, repository, account, or production boundary.
  • It changes branching logic, permissions, data shape, API behavior, routing, deploy/runtime config, or cleanup behavior.
  • It asserts a property the type system cannot prove: idempotence, ordering, race safety, rollback safety, data parity, security, or compatibility.
  • It depends on context a future reader cannot see.
  • It would be expensive, public, or irreversible to undo.

When in doubt on production, auth, data, billing, secrets, infrastructure, or external agent runtime isolation, apply the skill.

Workflow

1. State The Claim

Write the claim in two or three lines:

text
CLAIM:
<What is about to stand as true?>

WHY THIS MATTERS:
<What breaks if this claim is wrong?>

If the claim cannot be written compactly, the decision is not yet clear enough to review. Clarify the contract first.

2. Extract Artifact And Contract

Prepare the smallest reviewable unit.

Use this shape:

text
ARTIFACT:
<diff, command plan, migration plan, config, function, rollout plan, or decision proposal>

CONTRACT:
- Must satisfy: <requirements>
- Must not: <stop-lines>
- Evidence available: <tests, docs, source files, smoke checks>
- Unknowns: <known gaps>

Do not include hidden chain-of-thought, persuasive reasoning, or the CLAIM in the reviewer prompt. The reviewer receives artifact plus contract only.

If the artifact is too large, split it before review. A 500-line diff should become focused review units.

3. Run The Adversarial Review

Use the strongest safe review method available.

Preferred order:

  1. Fresh-context subagent or reviewer tool, when available and safe.
  2. A separate model or external CLI only after explicit user approval and isolation preflight.
  3. Degraded self-review fallback when no fresh reviewer is available; clearly label it as degraded.

Use this prompt:

text
Adversarial review. Find what is wrong with this artifact.
Assume the author is overconfident. Look for:
- unstated assumptions;
- edge cases not handled;
- hidden coupling or shared state;
- ways the contract could be violated;
- existing conventions this might break;
- failure modes under unexpected input, timing, permissions, or partial rollback.

Do not validate. Do not summarize. Find issues, or state explicitly that you cannot find any after thorough examination.

ARTIFACT:
<artifact>

CONTRACT:
<contract>

For behavioral code, a failing test written before the fix can satisfy the adversarial review for that specific behavior. For production, data, auth, permissions, deployment, or irreversible operations, tests may be evidence but do not replace explicit safety review.

4. External CLI Gate

Never run codex exec, Gemini CLI, Claude Code, OpenCode, or another agentic CLI from this skill without explicit user approval for that exact invocation.

Before any external CLI:

  1. Verify the exact binary with which <tool> and version/help output.
  2. State the exact cwd.
  3. State the effective CODEX_HOME or tool profile/home.
  4. Describe the inherited env class without printing secrets.
  5. Confirm no production-capable MCP/apps/server tools are available unless the user explicitly approved that production operation.
  6. Use read-only or plan/sandbox mode when available.
  7. Pass the prompt through stdin or a temporary file; never interpolate artifact text into shell arguments.
  8. Delete temporary prompt/output files unless intentionally saved as evidence.

If isolation is not proven, do not run the external CLI. Offer manual external review or continue with the degraded fallback.

5. Reconcile Findings

Reviewer output is data, not verdict. Re-read artifact and contract before accepting a finding.

Classify each finding:

  • contract gap: the contract was unclear or incomplete; fix the contract first.
  • actionable: real issue; change the artifact, then rerun the relevant part of the review.
  • trade-off: real issue accepted consciously; document why and how it is bounded.
  • noise: false flag caused by missing context; decide whether to add that context to the contract.

Do not rubber-stamp the reviewer. Do not dismiss every finding. If two review cycles surface substantive findings and none are classified as actionable or contract gaps, stop and escalate to the user because the review may have become theater.

6. Stop

Stop when one is true:

  • The next cycle returns only trivial or already-addressed findings.
  • Three cycles have completed.
  • The user explicitly accepts the remaining risk.
  • The artifact is too large and must be decomposed.

If substantive findings remain after three cycles, the output is not ready. Surface the unresolved risk and the smallest next step.

Output Shape

Use a compact report:

text
Doubt review:
- Claim: <short claim>
- Method: <fresh reviewer / self-review fallback / external CLI with approved isolation>
- Findings:
  - actionable: ...
  - contract gap: ...
  - trade-off: ...
  - noise: ...
- Decision: proceed / revise / ask the user / blocked
- Evidence: <tests, docs, commands, source files, smoke checks>

For user-facing project notes, write explanatory text in the user's language while leaving technical literals unchanged.

Common Rationalizations

RationalizationReality
"I'm confident."Confidence is not evidence; risky confidence is exactly what this skill checks.
"A reviewer will slow us down."A bounded review is cheaper than debugging a bad production or data decision.
"The plan is obvious."Obvious plans often hide unstated assumptions. Write the contract.
"The other model said it's fine."Review output is not authority. Reconcile findings against the artifact and contract.
"We can just run another CLI."External agent CLIs are production-adjacent until isolation is proven and approved.

Red Flags

  • Claiming safe, idempotent, reversible, production-ready, or no risk without artifact/contract review.
  • Passing the CLAIM or persuasive reasoning to the reviewer.
  • Asking "is this good?" instead of "find what is wrong".
  • Running external agent CLIs without exact approval and isolation preflight.
  • Looping more than three times instead of decomposing or escalating.
  • Treating all reviewer findings as true, or all of them as noise.
  • Deleting, deploying, migrating, or changing permissions after only self-review when a fresh review was available.

Verification

Before finishing, confirm:

  • The claim and why-it-matters were stated.
  • Artifact and contract were separated from reasoning.
  • The review prompt was adversarial.
  • The review method was named, including degraded fallback if used.
  • External CLI was not run without explicit approval and isolation preflight.
  • Every finding was classified as contract gap, actionable, trade-off, or noise.
  • A stop condition was met.
  • Remaining risks and next steps were stated.

Preguntas frecuentes

¿Qué hace la habilidad de IA Doubt Driven Review?

Runs an adversarial review gate for non-trivial or high-stakes decisions before they stand. Use when Codex is about to claim something is safe, correct, reversible, production-ready, scalable, idempotent, secure, or compliant; when work touches production, auth, permissions, secrets, billing, public APIs, migrations, irreversible cleanup, customer data, external agent CLIs, or unfamiliar code with meaningful blast radius; or when a confident answer would be cheaper to challenge now than to debug later.

¿Por qué usar Doubt Driven Review en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Doubt Driven Review 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 Review en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/pimenov/codex-first-skills-pack/tree/main/skills/doubt-driven-review. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

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

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 Review?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Doubt Driven Review 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 Review?

pimenov la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. 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 el directorio

Crea ya tu propio espacio de trabajo con IA

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