New advertisers: 50% off your first month with code FIRSTMONTHSee slots
addyosmani avatar

Doubt Driven Development

Fresh-context adversarial review that challenges a non-trivial decision before it stands, not after.

skills.sh installs
70.2K
GitHub stars
119.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the doubt cycle: claim, extract, adversarial review, reconcile findings, and stop condition
  • Includes a prompt template that frames the reviewer to disprove rather than approve, plus a checklist for each step
  • Enforces passing only the artifact and contract to the reviewer, never the author's claim or reasoning
  • Offers an optional cross-model second opinion via Gemini CLI or Codex CLI, with the user choosing whether to use it
  • Designed for main-session orchestration on high-stakes or unfamiliar code, not for persona or subagent contexts

Install

$ npx -y skills add addyosmani/agent-skills --skill doubt-driven-development -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Doubt-Driven Development

Overview

A confident answer is not a correct one. Long sessions accumulate context that quietly turns assumptions into "facts" without anyone noticing. Doubt-driven development is the discipline of materializing a fresh-context reviewer — biased to disprove, not approve — before any non-trivial output stands.

This is not /review. /review is a verdict on a finished artifact. This is an in-flight posture: non-trivial decisions get cross-examined while course-correction is still cheap.

When to Use

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

  • It introduces or modifies branching logic
  • It crosses a module or service boundary
  • It asserts a property the type system or compiler cannot verify (thread safety, idempotence, ordering, invariants)
  • Its correctness depends on context the future reader cannot see
  • Its blast radius is irreversible (production deploy, data migration, public API change)

Apply the skill when:

Details

Repository
github.com/addyosmani/agent-skills
Categories
Agent Workflow & Planning, Code Review & Quality
First seen
May 16, 2026

More from addyosmani/agent-skills

All 25

Similar to Doubt Driven Development

More Agent Workflow & Planning