create-pr
ما الذي تفعله
ترشد هذه المهارة ذكاءك خلال تحضير طلب سحب على GitHub وفتحه. وهي لمطورين يريدون تغييرًا موصوفًا جيدًا وقابلًا للمراجعة.
متى تستخدمها
- ✓عندما تنتهي من العمل على فرع وتريد فتح طلب سحب.
- ✓عندما تريد أن يتبع وصف طلب السحب قالب المشروع.
- ✓عندما تريد فتح طلب السحب كمسودة للمراجعة الآمنة.
رابط المهارة
https://github.com/DevCaress/guia-entrevistas-de-programacion/blob/main/.claude/skills/create-pr/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“حضّر طلب سحب لفرعي باستخدام قالب المشروع، وافتحه كمسودة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تفحص المهارة الفرع وفرقه، وتشغّل فحوص المستودع، وتكتب العنوان والوصف من القالب. وتدفع الفرع وتفتح طلب السحب كمسودة فقط عندما تطلب ذلك.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Create Pull Request
Prepare reviewable pull requests for main. Keep the branch focused, preserve unrelated work, and never merge or modify another person's pull request.
Workflow
Inspect the current branch,
git status --short, the diff againstmain, recent commits, and any existing pull request for the branch.Confirm the branch is not
mainand that it contains a small, coherent change. If the scope, target branch, or included files are unclear, ask before proceeding.Ensure all intended work is committed. Use the
create-commitskill if a commit is needed.Run the relevant validation commands from
CONTRIBUTING.md. Report failures accurately; do not weaken checks or use bypass flags.Derive a concise Conventional Commit-style PR title, such as
docs(react): add testing resources. Reuse a suitable user-provided title.Build the description from
.github/pull_request_template.md:- Explain what changed and why.
- Add
Closes #<number>only when an issue is known. - Mark only validation commands that actually passed.
- Keep unchecked items unchecked and do not claim work that was not performed.
If the user asked to open the PR, push the current branch and create a draft pull request targeting
main. Use GitHub CLI or an authenticated GitHub integration. If the user asked only to prepare it, provide the title and body without pushing or creating anything.Return the PR URL, target branch, title, validation results, and any limitations.
Safety rules
- Do not push or create a PR unless the user explicitly requested that external action.
- Do not use
--force, alter branch history, merge, approve, or request review unless explicitly asked. - Do not include secrets, generated output, local configuration, or unrelated changes.
- Do not create a duplicate PR. Update or report an existing PR instead.
- Use
mainas the base branch unless the user specifies another target.
الأسئلة الشائعة
هل يُفتح طلب السحب كمسودة؟
نعم، المسودة هي الافتراض ما لم تطلب خلاف ذلك.
هل تدمج طلب السحب؟
لا. لا تدمج المهارة طلب السحب، ولا تغيّر طلب سحب لشخص آخر أبدًا.
هل ستقول إن الفحوص نجحت وهي لم تنجح؟
لا. تقول المهارة إنه يجب الإبلاغ عن الإخفاقات بدقة، وتعليم التحققات التي نجحت فعلًا فقط.
التفاصيل
الوصف الأصلي من المؤلف
Prepare and open a safe GitHub pull request for this repository. Use when the user asks to create, open, or prepare a pull request from completed branch work. Inspect the branch and diff, validate changes, follow the repository PR template, push only when authorized, and open a draft PR by default.
الشعبية
- نجوم GitHub
- 8.2k
- الترتيب
- #12546
- الترخيص
- MIT
- آخر تحديث
- 8/8/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.