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

yeet

ما الذي تفعله

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

متى تستخدمها

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

رابط المهارة

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/workflow-automation/yeet/SKILL.md

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

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/workflow-automation/yeet/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“نفّذ yeet على تغييراتي: سجّلها، ثم ادفع الفرع وافتح طلب سحب.”

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

كيف تعمل

يتأكد الوكيل من تثبيت GitHub CLI وتسجيل الدخول إليه، وينشئ فرعًا عند الحاجة، ثم يسجّل التغييرات ويدفعها ويفتح طلب سحب مسودة.

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

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

Prerequisites

  • Require GitHub CLI gh. Check gh --version. If missing, ask the user to install gh and stop.
  • Require authenticated gh session. Run gh auth status. If not authenticated, ask the user to run gh auth login (and re-run gh auth status) before continuing.

Naming conventions

  • Branch: codex/{description} when starting from main/master/default.
  • Commit: {description} (terse).
  • PR title: [codex] {description} summarizing the full diff.

Workflow

  • If on main/master/default, create a branch: git checkout -b "codex/{description}"
  • Otherwise stay on the current branch.
  • Confirm status, then stage everything: git status -sb then git add -A.
  • Commit tersely with the description: git commit -m "{description}"
  • Run checks if not already. If checks fail due to missing deps/tools, install dependencies and rerun once.
  • Push with tracking: git push -u origin $(git branch --show-current)
  • If git push fails due to workflow auth errors, pull from master and retry the push.
  • Open a PR and edit title/body to reflect the description and the deltas: GH_PROMPT_DISABLED=1 GIT_TERMINAL_PROMPT=0 gh pr create --draft --fill --head $(git branch --show-current)
  • Write the PR description to a temp file with real newlines (e.g. pr-body.md ... EOF) and run pr-body.md to avoid \n-escaped markdown.
  • PR description (markdown) must be detailed prose covering the issue, the cause and effect on users, the root cause, the fix, and any tests or checks used to validate.
الأسئلة الشائعة

هل يحتاج إلى GitHub CLI؟

نعم. تشترط المهارة تثبيت gh وجود جلسة مصادقة.

هل طلب السحب مسودة؟

نعم. الأمر المستخدم في المهارة ينشئ طلب السحب كمسودة.

هل يعمل عند الطلب فقط؟

نعم. تنص المهارة على استخدامها فقط عندما يطلب المستخدم المسار كاملًا صراحةً.

التفاصيل

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

Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).

repo: davila7/claude-code-templates

الشعبية

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

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

0

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

التعليقات

  • …

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

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