Langsung ke konten
Skillpedia
Pemrograman umum48k Β· #4494

doubt-driven-development

Fungsinya

Tool ini membantu memastikan keputusan penting dalam proyek ditinjau dengan cermat sebelum difinalisasi. Caranya, AI diminta untuk 'meragukan' keputusannya sendiri, lalu mencari masalah yang mungkin terlewat.

Kapan dipakai

  • βœ“Saat membuat keputusan signifikan tentang bagaimana proyek akan dibangun.
  • βœ“Sebelum menulis kode yang rumit atau kode yang memengaruhi banyak bagian proyek.
  • βœ“Saat menyatakan sesuatu yang tidak jelas, seperti 'ini pasti akan berjalan dengan baik'.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/doubt-driven-development/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/doubt-driven-development/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œTinjau keputusan ini: apakah cara baru mengatur data ini aman untuk banyak pengguna yang mengakses secara bersamaan?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

AI pertama-tama menjelaskan keputusan tersebut dan alasan dibuatnya. Lalu AI memisahkan bagian-bagian esensial (kode atau deskripsi keputusan beserta aturannya). Terakhir, AI meminta 'versi' AI lain, yang bertugas mencari kelemahan, untuk menganalisis bagian-bagian yang sudah dipisahkan tersebut.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Supporting material availability

This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:

  • <support-root>/references/orchestration-patterns.md

Obtain the required material from the declared upstream source, or from a user-provided installation of that source. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.

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:

  • About to make an architectural decision under uncertainty
  • About to commit non-trivial code
  • About to claim a non-obvious fact ("this is safe", "this scales", "this matches the spec")
  • Working in code you don't fully understand

When NOT to use:

  • Mechanical operations (renaming, formatting, file moves)
  • Following a clear, unambiguous user instruction
  • Reading or summarizing existing code
  • One-line changes with obvious correctness
  • Pure tooling operations (running tests, listing files)
  • The user has explicitly asked for speed over verification

If you doubt every keystroke, you ship nothing. The skill applies only to non-trivial decisions as defined above.

Loading Constraints

This skill is designed for the main-session orchestrator, where Step 3 (DOUBT, detailed below) can spawn a fresh-context reviewer.

  • Do NOT add this skill to a persona's skills: frontmatter. A persona that follows Step 3 would spawn another persona β€” the orchestration anti-pattern explicitly forbidden by references/orchestration-patterns.md ("personas do not invoke other personas").
  • If you find yourself applying this skill from inside a subagent context (where Claude Code prevents nested subagent spawn): the preferred path is to surface to the user that doubt-driven cannot run nested and let the main session handle it. As a last resort only, a degraded self-questioning fallback exists β€” rewrite ARTIFACT + CONTRACT as a fresh self-prompt with a hard mental separator from your prior reasoning, and walk Steps 1–5. This is not fresh-context review (you carry your own context with you), so flag the result as degraded and prefer escalation whenever the user is reachable.

The Process

Copy this checklist when applying the skill:

Doubt cycle:
- [ ] Step 1: CLAIM β€” wrote the claim + why-it-matters
- [ ] Step 2: EXTRACT β€” isolated artifact + contract, stripped reasoning
- [ ] Step 3: DOUBT β€” invoked fresh-context reviewer with adversarial prompt
- [ ] Step 4: RECONCILE β€” classified every finding against the artifact text
- [ ] Step 5: STOP β€” met stop condition (trivial findings, 3 cycles, or user override)

Step 1: CLAIM β€” Surface what stands

Name the decision in two or three lines:

CLAIM: "The new caching layer is thread-safe under the
        read-heavy workload described in the spec."
WHY THIS MATTERS: a race here corrupts user data and is
                  hard to detect in QA.

If you can't write the claim that compactly, you have a vibe, not a decision. Surface it before scrutinizing it.

Step 2: EXTRACT β€” Smallest reviewable unit

…

Pertanyaan umum

Apa itu keputusan 'non-trivial'?

Itu adalah keputusan yang berdampak besar, seperti mengubah logika utama program, memengaruhi komunikasi antar bagian sistem, atau menimbulkan konsekuensi yang sulit dibatalkan.

Mengapa AI perlu 'meragukan'?

Karena kita manusia (dan AI juga) mudah terbiasa dengan ide sendiri dan berhenti melihat potensi masalah. Tinjauan yang berfokus pada pencarian kelemahan membantu memastikan semuanya sudah dipikirkan dengan matang.

Bisakah saya memakai ini untuk meninjau apa saja?

Tidak, tool ini ditujukan untuk keputusan yang penting dan kompleks. Tugas sederhana seperti mengganti nama file atau merapikan format kode tidak memerlukan tinjauan mendalam ini.

Detail

Deskripsi asli dari pembuat

Subjects every non-trivial decision to a fresh-context adversarial review before it stands.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#4494
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa