ワークフロー&基本ツール · addyosmani/agent-skills
doubt-driven-development
重要な意思決定や変更を、独立したコンテキストによる対抗的レビュー(Adversarial Review)に晒す「疑念駆動開発」。本番認証、データ移行、暗号化処理など、スピードより正確性が最優先される高リスク領域に最適。
L1 基本 · ソース登録のみV1 コミット固定Dual-pass Audit
管理レベルは Skill の能力と推奨統制措置を示すものであり、品質や安全性の認証、利用可否の判定ではありません。使用の可否はユーザーおよび管理者が決定します。Agent 環境によって制約が異なるため、自動保護を仮定しないでください。第三者製 Skill の著作権は原著作者に帰属し、利用リスクは利用者が負います。
1仕組みと動作原理
5段階の厳格な反証ループ:CLAIM(主張)→ EXTRACT(抽出)→ DOUBT(疑念)→ RECONCILE(調停)→ STOP(停止)。
skills/doubt-driven-development/SKILL.md
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.
体系的反証プロトコル。
完全な情報隔離:レビュアーには推論の言い訳を与えず、成果物と契約仕様のみを提示。
skills/doubt-driven-development/SKILL.md
If you doubt every keystroke, you ship nothing. The skill applies only to non-trivial decisions as defined above.
確証バイアスの排除。
迎合(Sycophancy)の阻止:レビュアーに潜在的な障害モードの指摘を義務付け。
skills/doubt-driven-development/SKILL.md
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)
過度の盲信を打破。
ノイズフィルタリング:致命的欠陥と理論上の些細な懸念を峻別。
skills/doubt-driven-development/SKILL.md
**Pass ARTIFACT + CONTRACT only. Do NOT pass the CLAIM.** Handing the reviewer your conclusion biases it toward agreement. The reviewer must independently determine whether the artifact satisfies the contract.
レビュー停滞を防止。
調停不能時の緊急停止回路:未解決の重大な矛盾がある場合は実行を強制中断。
skills/doubt-driven-development/SKILL.md
**The adversarial prompt above takes precedence over the persona's default response shape.** Personas like `code-reviewer` are written to produce balanced verdicts with both strengths and weaknesses; doubt-driven needs issues-only output.
決定論的安全弁。
规范跨模型二级升级机制(Cross-model escalation),强制在交互会话中向用户询问并使用只读沙箱
skills/doubt-driven-development/SKILL.md
**Interactive sessions: always offer. Never silently skip.** **Step 1: Ask the user** After the single-model review in Step 3 above, but before RECONCILE, pause and ask: > *"Single-model review complete. Want a cross-model second opinion? Options: Gemini CLI, Codex CLI, manual external review (you paste it elsewhere), or skip."*
这里在做什么:当单模型盲区可能造成严重后果时,主动征得用户授权并利用外部 CLI(如 Codex/Gemini)交叉复核
四级优先级意见对齐规则(Contract misread > Valid+actionable > Valid trade-off > Noise)与 3 轮上限硬阻断
skills/doubt-driven-development/SKILL.md
For each finding, classify in this **precedence order** (first matching class wins): 1. **Contract misread**… 2. **Valid + actionable**… 3. **Valid trade-off**… 4. **Noise**… Stop when: - Next iteration returns only trivial or already-considered findings, **or** - 3 cycles completed (escalate to user, don't grind a fourth alone)
这里在做什么:确立主控 Agent 对审查结果的分类判断权,并用最多 3 轮防止产生无限死循环
2コア機能
01重要計画およびコードに対する対抗的反証プロセスの実行
02コンテキストを隔離したブラインドレビューの統制
03モデルの確証バイアスおよびお追従の抑止
04未解決の疑念に対する決定論的停止ゲートの適用
05严格按优先级归类的审查意见消化对齐(RECONCILE)
063 轮有界防死循环与用户裁决阻断(STOP)
4推奨統制措置と判定根拠
安全運用のための推奨統制措置
Agent 向け
自動ロード可能
管理者向け
ソースとバージョンの記録
監査ノート: 方法論のプロトコル文書であり、読み取り専用環境での利用を前提とした安全な仕様です。
5二重目の独立検証
- [ok] 零自执行脚本核实 — 目录内无任何 scripts/ 或二进制文件,仅有单个 SKILL.md 文档,无任何代码执行行为
- [ok] 信息剥离原则核验 — SKILL.md 第 134 行严格规定仅传入 ARTIFACT 与 CONTRACT,严禁把主观 CLAIM 传入以防偏差
- [ok] 跨模型 CLI 交互授权核验 — 第 146-180 行详细规定了必须在交互会话询问用户、必须验证 CLI 是否可用、且必须通过 stdin 和只读沙箱传递
- [ok] 意见对齐四级分类核验 — 第 200-206 行清晰规范了 Contract misread > Valid+actionable > Valid trade-off > Noise 的优先级
- [ok] 硬性 3 轮终止条件核验 — 第 213-220 行明确限定 3 轮未收敛必须停机上报用户,防止死循环耗费 token
6結論
最適な用途: 本番環境の認証認可、DBマイグレーション、暗号処理、高並行制御など、失敗が許されない重要箇所の設計・検証に不可欠。
不向きな用途: 変数のリネーム、書式整形、単行の軽微なバグ修正など、リスクが低くオーバーヘッドが勝る日常作業。
💬 Online Trial Chat Sandbox
Preview this skill in an interactive chat playground. Generic LLM evaluation trial.
💬 Open Chat Trial (Preview)Under construction · Generic sandbox trial
Install Agent-Ready
① Accelerated Distribution dl.bestaiskill.com
Option A · Direct Zip Download⚡ Download doubt-driven-development (Zip)
Edge-accelerated mirror via dl.bestaiskill.com
Option B · Copy Guide for AgentAgent はこの JSON ガイドから自動的にダウンロードして検証します。
② Upstream GitHub
GitHub Repo ↗
Pinned to commit 301b02b12b.