doubt-driven-development

Subject non-trivial outputs to fresh-context adversarial scrutiny through a five-step doubt cycle.

Updated Dec 27, 2025
One-click install
npx skills add https://github.com/Lauughter/Python_training --skill doubt-driven-development-lauughter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doubt-driven-development
Source: https://github.com/Lauughter/Python_training/tree/main/.claude/skills/doubt-driven-development
Command: npx skills add https://github.com/Lauughter/Python_training --skill doubt-driven-development-lauughter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Non-trivial decisions often embed hidden assumptions that only reveal themselves after deployment. Doubt-driven development subjects these outputs to a fresh-context adversarial review to surface flaws before they stand.

Core Features & Use Cases

  • Surface unstated assumptions, edge cases, and risk in-flight.
  • Guide decision-making for architectural changes, unfamiliar code, or high-stakes production risks.
  • Use when correctness matters more than speed and verification is cheaper upfront than debugging later.

Quick Start

Present the artifact and contract, perform an adversarial review on the artifact, and reconcile the findings with the contract.

Frequently Asked Questions about doubt-driven-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is adversarial code review and how does it surface hidden assumptions?

Adversarial code review subjects non-trivial outputs to fresh-context scrutiny, surfacing unstated assumptions, edge cases, and risk in-flight before deployment. It uses doubt-driven development to enforce a five-step cycle, ensuring correctness when verifying decisions upfront is cheaper than debugging later.

How do I perform a fresh-context review for architectural decisions?

To perform a fresh-context review for architectural decisions, present the artifact and contract, execute an adversarial review on the artifact, and reconcile the findings with the contract. This in-flight decision review process enforces a five-step doubt cycle to surface flaws.

When should I use doubt-driven development instead of standard code review?

Use doubt-driven development instead of standard code review when correctness matters more than speed, such as for architectural changes, unfamiliar codebases, or high-stakes production risks. It is best suited for non-trivial decisions where verification is cheaper upfront than debugging later.

Can this development process handle edge cases in unfamiliar codebases?

Yes, this development process handles edge cases in unfamiliar codebases by applying adversarial prompts to surface unstated assumptions and risk in-flight. It guides decision-making by subjecting non-trivial outputs to fresh-context adversarial scrutiny to surface flaws.

What are the limitations of using an adversarial review process for development?

A key limitation of this adversarial review process is that it prioritizes correctness over speed, making it less suitable for rapid, low-stakes iterations. It enforces a rigorous five-step doubt cycle for non-trivial decisions, which may introduce unacceptable latency for trivial code changes.

What is the five-step doubt cycle for in-flight decision review?

The five-step doubt cycle for in-flight decision review is CLAIM, EXTRACT, DOUBT, RECONCILE, and STOP. It facilitates rigorous output scrutiny by subjecting non-trivial decisions to fresh-context adversarial review to surface unstated assumptions and reconcile findings with the contract.