Skillpedia
النشر والسحابة (DevOps)16k · #10905

send

ما الذي تفعله

تتيح للمساعد أن يتولى المسار الكامل من تغيير الكود إلى طلب سحب مدموج. وهي للمطورين الذين يريدون إنهاء الفحوص قبل الدمج.

متى تستخدمها

  • ✓عندما تتفق على تغيير في الكود وتريد تحويله إلى طلب سحب.
  • ✓عندما تريد أن ينتظر المساعد انتهاء فحوص التكامل المستمر.
  • ✓عندما تريد أن يحدث الدمج فقط بعد نجاح الفحوص والمراجعة.

رابط المهارة

https://github.com/yc-software/qm/blob/main/skills-seed/send/SKILL.md

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

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/yc-software/qm/blob/main/skills-seed/send/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“أنشئ طلب سحب للتغيير الذي ناقشناه، وانتظر الفحوص، ثم ادمجه عندما يصبح كل شيء أخضر.”

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

كيف تعمل

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

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

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

Babysit

Make a pull request for the change we just discussed, file it, babysit CI, fix any issues that come up, and merge once CI is fully green.

Steps

  1. Make the PR. Commit the discussed change on a feature branch (create one off the default branch if currently on it). Push it.

  2. File it. Open a pull request with a clear title and description covering why and what changed. Use gh for GitHub or glab for GitLab. Detect from the remote.

  3. Wait for CI in one blocking process, with bounded transport retries. Load the github-gitlab skill; it reports the directory holding its scripts. For GitHub, capture the PR's full head SHA and use its bundled helper, not bare gh pr checks --watch:

    node <github-gitlab dir>/scripts/watch-ci.mjs --repo OWNER/REPO --pr NUMBER --head REVIEWED_HEAD_SHA
    

    Run this with execute, an explicit sandbox_id, background:true, and authorized credentials; subscribe with background action watch and the returned process_id. Keep that sandbox ID throughout the checkout, checks, and push. Keep one watcher per PR; hand off if another agent already owns it. The helper polls internally, retries recognized transport/server errors with bounded backoff, and has a 30-minute overall deadline. Set the background lifetime longer than that. Do not wake the model repeatedly to report pending checks.

    Read the helper's JSON status, not just the exit code. Pending is not failure; TLS timeouts and connection resets are not logout or permission expiry. Failed checks, auth failures, rate limits, unknown errors, exhausted retries, and deadlines all remain nonzero. Keep set -e; never mask failure with a success marker or merge. A changed head invalidates successful checks and reviews: restart both on the new SHA. Empty, skipped, or cancelled checks do not count as success.

    For GitLab, use glab ci status --live; the GitHub helper does not cover it. Preserve its nonzero status and investigate failures before proceeding.

    Also wait for asynchronous reviewers (including Bugbot) to finish on the latest commit. Watcher success alone is never approval to merge.

  4. Adversarially review the PR — always in a fresh context, before merging. Dispatch an independent subagent (or /code-review) that has not seen you write the change. Never review your own diff in the context that produced it — that context already believes the change is correct, and that belief is exactly the bias review exists to defeat. A fresh reviewer is non-negotiable on every send, however small the diff and however green CI is.

    What scales with risk is the reviewer's depth and breadth, not its independence:

    • Small, well-tested, single-file change: one reviewer, modest effort, scoped to the diff and its immediate call sites. Cheap, but still a stranger's eyes.
    • Risky change — core control flow, auth/credentials/security, data loss or migrations, concurrency and retry logic, spend, a public API contract, or a diff too large to hold in your head: high effort, wider blast-radius reading, and consider several reviewers with distinct lenses (correctness, security, does-it-actually-reproduce).

    Prompt the reviewer to break the change: correctness bugs, edge cases, regressions, security holes, violations of the repo's CLAUDE.md/spec, overengineering (needless abstraction, flags, layers, or generality for one caller — prefer the simplest thing that works), and reward hacking (tests weakened, skipped, or tailored to pass rather than to verify; assertions gutted; intent met in letter but not spirit; CI gamed). Treat the diff as guilty until proven correct. Green CI is not review.

  5. Fix every real issue found. Address each genuine finding from the adversarial review, from CI, and from reviewers/bots: fix it, push, and go back to step 3. Re-review the delta, not the whole diff again — a fresh full review per round is how a small PR turns into an afternoon. For anything that needs human judgment, ask the user. Cap at ~3 fix rounds, then stop and report what's unresolved.

  6. Merge once green AND reviewed. Merge only when all checks pass, the adversarial review is clean (no unaddressed findings), and there are no unresolved comments/findings — re-read checks and review threads, then merge directl

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

هل سيدمج إذا فشل فحص؟

لا. يدمج فقط عندما تكون كل الفحوص خضراء ونجحت المراجعة المستقلة.

ماذا لو أوقفت شبكة الفحوص؟

يعيد المحاولة عند مشكلات الاتصال المعروفة وبحد أقصى، ويتوقف بعد نحو 30 دقيقة.

هل يستطيع العمل مع وكيل آخر على الطلب نفسه؟

يحتفظ بمراقب واحد لكل طلب سحب، فلا يتداخل مع وكيل آخر يملكه أصلاً.

التفاصيل

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

Make a PR, wait for CI with bounded transport retries, independently review, and merge only when all gates pass.

repo: yc-software/qm

الشعبية

نجوم GitHub
16k
الترتيب
#10905
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

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

0

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

التعليقات

  • …

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

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