ce-commit-push-pr
ما الذي تفعله
تنقل هذه المهارة تغييراتك المحلية عبر الحفظ والدفع وإنشاء طلب السحب. وهي مخصصة للمطورين الذين يريدون تنفيذ خطوات الشحن بشكل متسق.
متى تستخدمها
- ✓عندما تريد شحن تغييراتك الحالية وفتح طلب سحب.
- ✓عندما تريد كتابة وصف واضح لطلب سحب لتغييرات قمت بها بالفعل.
- ✓عندما تريد إعادة كتابة وصف طلب سحب موجود أو تحديثه.
رابط المهارة
https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-commit-push-pr/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك حفظ تغييراتي ودفع الفرع وفتح طلب سحب بوصف جيد؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تفحص المهارة حالة المستودع وتجمع التغييرات وتكتب رسالة الحفظ ووصف طلب السحب، ثم تطلب تأكيدك قبل الدفع. وتستخدم أدوات GitHub لفتح طلب السحب أو تعديله.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Git Commit, Push, and PR
Asking the user: use the host's blocking question tool already in the current tool list (match by capability, not by a host-specific name). Presence in the current tool list is proof the tool exists; never call a user-facing question tool to discover whether it exists. If a matching tool is listed but unloaded, use the host's tool-discovery primitive to load that capability — do not search for another host's tool name. Fall back to asking in chat only when no such tool is in the list or a real question call errors, and never silently skip the question.
Mode
- Description-only — the user wants just a description ("write/draft a PR description", "describe this PR", a pasted PR URL or number). Run Step 4 only and print it. Apply it only if asked. Pass any pasted PR ref so Pre-A resolves the range.
- Description update — refresh or rewrite an existing PR's description, with no commit or push intent. Resolve PR presence by the Context rule below: an exit-0
[]is "no open PR" (report it and stop), and a non-zero exit is unknown (resolve auth or connectivity, then stop until presence is known). With an open PR, run Step 4 in PR mode on that URL, then Step 5 to preview, confirm, and apply viagh pr edit. - Full workflow — otherwise: Steps 1-5. Enter Stack mode instead when intent or preference wants a stack.
mode:pipeline modifier, set by orchestrated callers such as lfg. Run the resolved mode non-interactively and suppress every blocking ask. Each suppressed ask takes the conservative default: no existing-PR rewrite, the branch kept, an unresolvable base stopping rather than guessed, and a description-update preview applied directly, since that invocation is the apply intent. Pipeline stack mode uses only the intent and scope on the invocation and passes posture into the handoff.
Stack mode (opt-in)
Opt-in only. Enter it when intent or standing preference wants a multi-PR stack. An explicit stack request is required intent — do not re-read it as a single PR with a custom --base. Do not proactively suggest PR stacks. When the user did not ask for one, refuse nonsense stacks (one logical change, artificial slices) and stay single-PR.
In stack mode, load references/stack-submit.md before Step 3 and follow only its probing, topology, and retrospective construction; that layer-by-layer commit flow replaces ordinary Step 3. Do not submit there. Step 5 handles submission, the gh stack CLI dependency and residuals, and the handoff posture: posture:stack-ready by default, posture:stack-land only on explicit land intent, from the bottom open non-draft PR. Do not add posture: to this skill's argument-hint.
Context
Read references/context.md before Step 1. It defines the command table, the exit-code meanings, the fork and detached-HEAD traps, and the branch and PR resolution Steps 1-2 use. Two of its rules belong here too. Never ask whether to branch: a detached HEAD, or the default branch with work on it, creates one, and the default branch with no work reports and stops. And with conventional commits, default to fix: over feat: when ambiguous, unless the user overrides.
Three rules govern the run.
Every git and gh probe is its own argv-form call, gathering and re-verification alike, and its exit status is control flow. The reference gives the reason and names the two compound recipes this skill pins.
Probe output is a snapshot. Re-verify branch, remote, and PR state right before each consequential action: Step 3's push, Step 5's create.
Only an exit-0 [] from a query against the base repo means "no open PR." A non-zero exit is unknown, never "none". On a fork checkout, target the base with -R and pass the branch name only, since --head <owner>:<branch> silently returns []. With results, do not blindly take index 0: match head owner and branch, and stop on an ambiguous match. Note the URL and body from that entry — Step 5 uses the URL to pick the existing-PR path, Step 4 rewrites the existing body.
Step 3: Commit and push
Read references/commit-and-push.md for commit/push mechanics and default-branch handling via references/branch-creation.md. If stack mode committed its layers, skip to Step 4; Step 5 submits them.
Project publishing gate. Before publishing commits, resolve every applicable pre-push or review-ready requirement from the project
الأسئلة الشائعة
هل تدفع دون أن تسأل؟
صُممت المهارة لتعرض المعاينة وتطلب التأكيد قبل تطبيق التغييرات، مثل الدفع أو تعديل طلب السحب.
هل تكتب وصف طلب السحب فقط؟
نعم. يوجد وضع وصف فقط يكتب الوصف أو يحدّثه دون حفظ أو دفع.
هل تحتاج إلى صلاحية GitHub؟
نعم. تستخدم أداة سطر أوامر GitHub لفتح طلبات السحب وتعديلها.
التفاصيل
الوصف الأصلي من المؤلف
Commit, push, and open a PR. Use when asked to ship/open a PR, or for PR-description-only flows like writing, rewriting, or describing a PR body.
الشعبية
- نجوم GitHub
- 26k
- الترتيب
- #10022
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
ce-babysit-pr
26kيساعد وكيلك على دفع طلب سحب مفتوح على GitHub نحو الدمج، عبر معالجة تعليقات المراجعة والفحوص الفاشلة والفروع القديمة مع الوقت.
ce-bakeoff
26kيساعد وكيلك على بناء عدة حلول متنافسة لمشكلة واحدة، ومقارنتها، ثم دمج أقوى أجزائها في نهج واحد موصى به.
ce-brainstorm
26kيساعد وكيلك على تحويل فكرة غير واضحة إلى مجموعة متطلبات واضحة ومناسبة للحجم قبل بدء أي عمل، عبر حوار موجّه وقصير.
ce-code-review
26kيساعد وكيلك على مراجعة تغيير شيفرة محدد أو طلب سحب للبحث عن الأخطاء والتراجعات والاختبارات الناقصة ومشكلات المعايير، وعرض النتائج بوضوح.
مهارات مشابهة
openclaw-update
394kيساعد وكيلك على تحديث بوابة OpenClaw Gateway الموجودة، مع اختيار طريقة التحديث المناسبة لطريقة تثبيتها والحفاظ على جلستك.
diagnose-gateway
394kيساعد وكيلك على معرفة سبب فشل بوابة OpenClaw Gateway عبر فحص الإعدادات والقنوات والمنافذ دون تغيير أي شيء.
crabbox-apps
394kيساعد وكيلك على فتح تطبيق وتشغيله على جهاز سحابي مؤقت، ثم عرض واجهته في الشريط الجانبي للدردشة.