doubt-driven-development

Solid

Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production, security-sensitive logic, irreversible operations), or any time a confident output would be cheaper to verify now than to debug later.

AI & Automation 30 stars 1 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 83/100

Stars 20%
50
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Skill: doubt-driven-development # Adversarial Fresh-Context Review, In-Flight Adapted from [addyosmani/agent-skills](https://github.com/addyosmani/agent-skills) (MIT) — genuinely self-contained, kept close to verbatim. Conceptually complements `comprehension-gate` (a related skill, not installed in this project — it verifies the *human* understands a hard-to-reverse action; this one has the *agent* doubt its own non-trivial decisions before they stand) and `improve`/`tech-lead` (both installed here — those give post-hoc verdicts on a finished artifact; this is in-flight, while course-correction is still cheap). ## 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 i...

Details

Author
valpere
Repository
valpere/session-indexer
Created
2 months ago
Last Updated
today
Language
Go
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category