شعار Doubt Driven Review

Doubt Driven Review

المجتمع
pimenov
doubt-driven-review

Runs an adversarial review gate for non-trivial or high-stakes decisions before they stand. Use when Codex is about to claim something is safe, correct, reversible, production-ready, scalable, idempotent, secure, or compliant; when work touches production, auth, permissions, secrets, billing, public APIs, migrations, irreversible cleanup, customer data, external agent CLIs, or unfamiliar code with meaningful blast radius; or when a confident answer would be cheaper to challenge now than to debug later.

نظرة عامة

الناشرpimenov
المستودعcodex-first-skills-pack
اسم المهارةdoubt-driven-review
النجوم
28
التفريعات
5
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها pimenov على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Doubt Driven Review في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/pimenov/codex-first-skills-pack/tree/main/skills/doubt-driven-review
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pimenov/codex-first-skills-pack.git /tmp/codex-first-skills-pack
mkdir -p .claude/skills
cp -r /tmp/codex-first-skills-pack/skills/doubt-driven-review .claude/skills/doubt-driven-review
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Doubt Driven Review في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Doubt Driven Review تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Doubt Driven Review بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Doubt-Driven Review

Overview

Use this skill to challenge a risky decision while it is still cheap to change. The reviewer must try to disprove the artifact against its contract, not praise it or summarize it.

This is an in-flight gate, not a general code review. It is for decisions, claims, diffs, plans, migrations, deploy steps, rollback plans, and safety assertions that could hurt if they are wrong.

Do Not Use

  • One-line mechanical edits, formatting, renames, or file moves.
  • Simple read-only exploration where no claim or mutation follows.
  • Tasks already proven by a failing-then-passing test at the right boundary.
  • Cases where the user explicitly chooses speed over verification and the risk is low.
  • As theater after the decision is already made; use normal review for finished artifacts.

Trigger Test

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

  • It crosses a module, service, repository, account, or production boundary.
  • It changes branching logic, permissions, data shape, API behavior, routing, deploy/runtime config, or cleanup behavior.
  • It asserts a property the type system cannot prove: idempotence, ordering, race safety, rollback safety, data parity, security, or compatibility.
  • It depends on context a future reader cannot see.
  • It would be expensive, public, or irreversible to undo.

When in doubt on production, auth, data, billing, secrets, infrastructure, or external agent runtime isolation, apply the skill.

Workflow

1. State The Claim

Write the claim in two or three lines:

text
CLAIM:
<What is about to stand as true?>

WHY THIS MATTERS:
<What breaks if this claim is wrong?>

If the claim cannot be written compactly, the decision is not yet clear enough to review. Clarify the contract first.

2. Extract Artifact And Contract

Prepare the smallest reviewable unit.

Use this shape:

text
ARTIFACT:
<diff, command plan, migration plan, config, function, rollout plan, or decision proposal>

CONTRACT:
- Must satisfy: <requirements>
- Must not: <stop-lines>
- Evidence available: <tests, docs, source files, smoke checks>
- Unknowns: <known gaps>

Do not include hidden chain-of-thought, persuasive reasoning, or the CLAIM in the reviewer prompt. The reviewer receives artifact plus contract only.

If the artifact is too large, split it before review. A 500-line diff should become focused review units.

3. Run The Adversarial Review

Use the strongest safe review method available.

Preferred order:

  1. Fresh-context subagent or reviewer tool, when available and safe.
  2. A separate model or external CLI only after explicit user approval and isolation preflight.
  3. Degraded self-review fallback when no fresh reviewer is available; clearly label it as degraded.

Use this prompt:

text
Adversarial review. Find what is wrong with this artifact.
Assume the author is overconfident. Look for:
- unstated assumptions;
- edge cases not handled;
- hidden coupling or shared state;
- ways the contract could be violated;
- existing conventions this might break;
- failure modes under unexpected input, timing, permissions, or partial rollback.

Do not validate. Do not summarize. Find issues, or state explicitly that you cannot find any after thorough examination.

ARTIFACT:
<artifact>

CONTRACT:
<contract>

For behavioral code, a failing test written before the fix can satisfy the adversarial review for that specific behavior. For production, data, auth, permissions, deployment, or irreversible operations, tests may be evidence but do not replace explicit safety review.

4. External CLI Gate

Never run codex exec, Gemini CLI, Claude Code, OpenCode, or another agentic CLI from this skill without explicit user approval for that exact invocation.

Before any external CLI:

  1. Verify the exact binary with which <tool> and version/help output.
  2. State the exact cwd.
  3. State the effective CODEX_HOME or tool profile/home.
  4. Describe the inherited env class without printing secrets.
  5. Confirm no production-capable MCP/apps/server tools are available unless the user explicitly approved that production operation.
  6. Use read-only or plan/sandbox mode when available.
  7. Pass the prompt through stdin or a temporary file; never interpolate artifact text into shell arguments.
  8. Delete temporary prompt/output files unless intentionally saved as evidence.

If isolation is not proven, do not run the external CLI. Offer manual external review or continue with the degraded fallback.

5. Reconcile Findings

Reviewer output is data, not verdict. Re-read artifact and contract before accepting a finding.

Classify each finding:

  • contract gap: the contract was unclear or incomplete; fix the contract first.
  • actionable: real issue; change the artifact, then rerun the relevant part of the review.
  • trade-off: real issue accepted consciously; document why and how it is bounded.
  • noise: false flag caused by missing context; decide whether to add that context to the contract.

Do not rubber-stamp the reviewer. Do not dismiss every finding. If two review cycles surface substantive findings and none are classified as actionable or contract gaps, stop and escalate to the user because the review may have become theater.

6. Stop

Stop when one is true:

  • The next cycle returns only trivial or already-addressed findings.
  • Three cycles have completed.
  • The user explicitly accepts the remaining risk.
  • The artifact is too large and must be decomposed.

If substantive findings remain after three cycles, the output is not ready. Surface the unresolved risk and the smallest next step.

Output Shape

Use a compact report:

text
Doubt review:
- Claim: <short claim>
- Method: <fresh reviewer / self-review fallback / external CLI with approved isolation>
- Findings:
  - actionable: ...
  - contract gap: ...
  - trade-off: ...
  - noise: ...
- Decision: proceed / revise / ask the user / blocked
- Evidence: <tests, docs, commands, source files, smoke checks>

For user-facing project notes, write explanatory text in the user's language while leaving technical literals unchanged.

Common Rationalizations

RationalizationReality
"I'm confident."Confidence is not evidence; risky confidence is exactly what this skill checks.
"A reviewer will slow us down."A bounded review is cheaper than debugging a bad production or data decision.
"The plan is obvious."Obvious plans often hide unstated assumptions. Write the contract.
"The other model said it's fine."Review output is not authority. Reconcile findings against the artifact and contract.
"We can just run another CLI."External agent CLIs are production-adjacent until isolation is proven and approved.

Red Flags

  • Claiming safe, idempotent, reversible, production-ready, or no risk without artifact/contract review.
  • Passing the CLAIM or persuasive reasoning to the reviewer.
  • Asking "is this good?" instead of "find what is wrong".
  • Running external agent CLIs without exact approval and isolation preflight.
  • Looping more than three times instead of decomposing or escalating.
  • Treating all reviewer findings as true, or all of them as noise.
  • Deleting, deploying, migrating, or changing permissions after only self-review when a fresh review was available.

Verification

Before finishing, confirm:

  • The claim and why-it-matters were stated.
  • Artifact and contract were separated from reasoning.
  • The review prompt was adversarial.
  • The review method was named, including degraded fallback if used.
  • External CLI was not run without explicit approval and isolation preflight.
  • Every finding was classified as contract gap, actionable, trade-off, or noise.
  • A stop condition was met.
  • Remaining risks and next steps were stated.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Doubt Driven Review؟

Runs an adversarial review gate for non-trivial or high-stakes decisions before they stand. Use when Codex is about to claim something is safe, correct, reversible, production-ready, scalable, idempotent, secure, or compliant; when work touches production, auth, permissions, secrets, billing, public APIs, migrations, irreversible cleanup, customer data, external agent CLIs, or unfamiliar code with meaningful blast radius; or when a confident answer would be cheaper to challenge now than to debug later.

لماذا تستخدم Doubt Driven Review على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Doubt Driven Review عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Doubt Driven Review في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/pimenov/codex-first-skills-pack/tree/main/skills/doubt-driven-review. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Doubt Driven Review؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Doubt Driven Review؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Doubt Driven Review معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Doubt Driven Review مجانية؟

نشرها pimenov على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇