Skillpedia
برمجة عامة48k · #4159

closed-loop-delivery

ما الذي تفعله

تساعد هذه المهارة الذكاء الاصطناعي على إنجاز مهام البرمجة من البداية حتى النهاية. تضمن أن الشيفرة تعمل، وتخضع للمراجعة، وتُختبر، وفق قواعد واضحة حتى تصبح كل الأمور جاهزة.

متى تستخدمها

  • ✓عندما تريد من الذكاء الاصطناعي إصلاح خطأ واختبار الإصلاح.
  • ✓عندما تحتاج إلى أن ينشئ الذكاء الاصطناعي ميزة جديدة، بما فيها الاختبارات والنشر.
  • ✓عندما تريد تجنب طلب اختبار المراجعة والنشر من الذكاء الاصطناعي في خطوات منفصلة.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/closed-loop-delivery/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/closed-loop-delivery/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أصلح الخطأ X، وتأكد من نجاح الاختبارات، وأرسله للمراجعة، وانشره في بيئة التطوير.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يفهم الذكاء الاصطناعي أولًا ما يجب إنجازه والقواعد التي تُعدّ العمل مكتملًا. ثم يكتب الشيفرة، ويختبرها محليًا، ويعالج تعليقات المراجعة، وأخيرًا ينشر ويتحقق من أن كل شيء يعمل كما هو متوقع.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Closed-Loop Delivery

Overview

Treat each task as incomplete until acceptance criteria are verified in evidence, not until code is merely changed.

Core rule: deliver against DoD (Definition of Done), not against code diff size.

When to Use

Use this skill when:

  • user gives a coding/fix task and expects end-to-end completion
  • task spans code + tests + PR comments + dev deploy + runtime checks
  • repeated manual prompts like "now test", "now deploy", "now re-check PR" should be avoided

Do not use this skill for:

  • pure Q&A/explanations
  • prod deploy requests without explicit human approval
  • tasks blocked by missing secrets/account access that cannot be inferred

Required Inputs

Before execution, define these once:

  • task goal
  • acceptance criteria (DoD)
  • target environment (dev by default)
  • review cadence/budget when requested; a default review cadence is not a task-completion limit

If acceptance criteria are missing, request them once. If user does not provide, propose a concrete default and proceed.

Issue Gate Dependency

If the project already uses create-issue-gate, respect its current contract; otherwise derive acceptance criteria from the authorized task without inventing a mandatory issue.

  • If issue status is ready and execution gate is allowed, continue.
  • A real project-required draft gate can block dependent actions; it does not forbid independent discovery or already-authorized work under a different applicable workflow.
  • Use available task context to formulate testable criteria; clarify only when a missing decision materially changes the outcome.

Default Workflow

  1. Define DoD

    • Convert request into testable criteria.
    • Example: checkout task DoD = "checkout endpoint returns a valid, openable third-party payment URL in dev".
  2. Implement minimal change

    • Keep scope tight to task goal.
  3. Verify locally

    • Run focused tests first, then broader checks if needed.
  4. Review loop

    • Fetch PR comments/reviews.
    • Classify valid vs non-actionable.
    • Fix valid items, re-run verification.
  5. Dev deploy + runtime verification

    • Deploy only to an already-authorized dev target when runtime behavior matters; otherwise prepare and verify the concrete candidate locally.
    • Verify via real API/Lambda/log evidence against DoD.
  6. Completion decision

    • Only report "done" when all DoD checks pass.
    • Otherwise continue loop until pass or stop condition.

PR Comment Polling Policy

Avoid noisy short polling by default. Use batched windows:

  • Round 1: wait 3m, collect delta comments/reviews
  • Round 2: wait 6m, collect delta again
  • Final round: wait 10m, collect all remaining visible comments/reviews

At each round:

  • process all new comments in one batch
  • avoid immediate re-poll after each single comment
  • after the 10m round, stop waiting and proceed with all comments visible at that point

If CI is still running, align polling to check completion boundaries instead of fixed rapid polling.

Human Gate Rules (Must Ask)

Require missing consequential authorization for the following; do not request it again when the user has already granted the exact scope:

  • production/staging deploy beyond agreed scope
  • destructive operations (history rewrite, force push, data-destructive ops)
  • actions with billing/security posture changes
  • secret values not available in repo/runtime
  • ambiguous DoD that materially changes outcome

Iteration/Stop Conditions

Stop and escalate with a concise blocker report when:

  • The same verified external blocker leaves no meaningful authorized next step; two failed iterations alone are not a reason to stop when useful repair work remains
  • external dependency blocks progress (provider outage, missing creds, account permission)
  • conflicting review instructions cannot both be satisfied

Escalation report must include:

  • what passed
  • what failed
  • evidence (commands/logs/API result)
  • smallest decision needed from user

Output Contract

When claiming completion, always include:

  • acceptance criteria checklist with pass/fail
  • commands/tests run
  • runtime evidence (endpoint/Lambda/log key lines)
  • PR status (new actionable comments count)

Do not claim success without evidence.

Example

User request:

Take this bug from reproduction through root-cause proof, implementation, tests, review, and final validation.

Limitations

…

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

ما هي « معايير القبول »؟

هي القواعد التي تحدد متى تكون المهمة منتهية تمامًا وتعمل بشكل صحيح، مثل: « يجب أن يعمل زر تسجيل الدخول دون أخطاء ».

هل يمكن للذكاء الاصطناعي النشر في بيئة الإنتاج؟

لا، ليس دون موافقتك الصريحة. يمكنه النشر في بيئات الاختبار (التطوير)، أما بيئة الإنتاج فسيطلب إذنك قبل ذلك.

ماذا يحدث إذا لم يستطع الذكاء الاصطناعي إنجاز المهمة؟

إذا واجه عائقًا (مثل نقص الصلاحيات أو مشكلة لا يستطيع حلها وحده)، سيتوقف ويطلب مساعدتك، ويشرح ما الذي حدث.

التفاصيل

الوصف الأصلي من المؤلف

Use when a coding task must be completed against explicit acceptance criteria with minimal user re-intervention across implementation, review feedback, deployment, and runtime verification.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#4159
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة