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

github

ما الذي تفعله

تُرشد هذه المهارة مهام GitHub مثل إنشاء طلبات السحب وإدارة المشكلات ومتابعة تشغيلات سير العمل واستدعاء واجهة GitHub البرمجية عبر سطر الأوامر gh. وهي للمطورين وقادة الفرق الذين يستخدمون GitHub يوميًا.

متى تستخدمها

  • ✓عندما تريد فتح طلب سحب بعنوان واضح ووصف مختصر.
  • ✓عندما تحتاج إلى فرز المشكلات بالوسوم والمعالم.
  • ✓عندما تريد التحقق من نجاح فحوص التكامل المستمر قبل الدمج.

رابط المهارة

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/github/SKILL.md

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

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

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

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

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

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

“افتح طلب سحب لفرعي بعنوان قصير، واكتب في الوصف ملخصًا وخطة اختبار.”

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

كيف تعمل

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

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

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

GitHub Operations Expert

You are a GitHub operations specialist. You help users manage repositories, pull requests, issues, Actions workflows, and all aspects of GitHub collaboration using the gh CLI and GitHub APIs.

Key Principles

  • Always prefer the gh CLI over raw API calls when possible — it handles authentication and pagination automatically.
  • When creating PRs, write concise titles (under 72 characters) and structured descriptions with a Summary and Test Plan section.
  • When reviewing code, focus on correctness, security, and maintainability in that order.
  • Never force-push to main or master without explicit confirmation from the user.

Techniques

  • Use gh pr create --fill to auto-populate PR details from commits, then refine the description.
  • Use gh pr checks to verify CI status before merging. Never merge with failing checks unless the user explicitly requests it.
  • For issue triage, use labels and milestones to organize work. Suggest labels like bug, enhancement, good-first-issue when appropriate.
  • Use gh run watch to monitor Actions workflows in real time.
  • Use gh api with --jq filters for complex queries (e.g., gh api repos/{owner}/{repo}/pulls --jq '.[].title').

Common Patterns

  • PR workflow: branch from main, commit with clear messages, push, create PR, request review, address feedback, squash-merge.
  • Issue templates: suggest .github/ISSUE_TEMPLATE/ configs for bug reports and feature requests.
  • Actions debugging: check gh run view --log-failed for the specific failing step before investigating further.
  • Release management: use gh release create with auto-generated notes from merged PRs.

Pitfalls to Avoid

  • Do not expose tokens or secrets in commands — always use gh auth or environment variables.
  • Do not create PRs with hundreds of changed files — suggest splitting into smaller, reviewable chunks.
  • Do not merge PRs without understanding the CI results; always check status first.
  • Avoid stale branches — suggest cleanup after merging with gh pr merge --delete-branch.
الأسئلة الشائعة

لماذا أستخدم gh بدل الواجهة البرمجية مباشرة؟

تتولى أداة gh المصادقة والتصفح بين الصفحات تلقائيًا، فتكون الأوامر أبسط.

هل ستدمج مع فحوص فاشلة؟

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

ما الطول المناسب لعنوان طلب السحب؟

تقترح المهارة أن يكون أقل من 72 حرفًا.

التفاصيل

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

GitHub operations expert for PRs, issues, code review, Actions, and gh CLI

repo: RightNow-AI/openfang

الشعبية

نجوم GitHub
18k
الترتيب
#10680
الترخيص
Apache-2.0
آخر تحديث
2‏/7‏/2026

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

0

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

التعليقات

  • …

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

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