github-pr-workflow
ما الذي تفعله
تساعد هذه المهارة على تجهيز الكود الخاص بك ليراجعه الآخرون. تضمن أن تكون التغييرات واضحة وسهلة الفهم وتعمل كما هو متوقع.
متى تستخدمها
- ✓عندما تنتهي من تغيير في الكود وتريد أن يراجعه شخص ما.
- ✓عندما يطلب المراجع منك إصلاح شيء وتحتاج إلى تقديم الإصلاحات.
- ✓عندما يكون الكود بانتظار المراجعة منذ مدة ويحتاج إلى تحديث أو تفاصيل أكثر.
رابط المهارة
https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/bundled/software-development/github-pr-workflow/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“جهّز الكود الخاص بي للمراجعة، بما في ذلك ملخص واضح وكيف اختبرته وأي تفاصيل مهمة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تنظم المهارة الكود، وتضمن وضوح رسائل التغييرات، وتساعدك على عرض طريقة اختبارك لكل شيء. كما تساعد في الرد على تعليقات المراجعين.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
GitHub Pull Request Workflow
Ship a PR a reviewer can land without follow-up clarifying questions. The aim is high signal in the title and body, evidence the change works, and clean replies when feedback comes in.
When to use
- You are about to open a PR for a change that is functionally complete.
- A reviewer left comments and you need to respond and push fixes.
- A PR has been open more than a day and needs to be brought back into shape (stale conflicts, missing description, missing verification).
When not to use
- The change is not yet functionally complete. Finish the work first; draft PRs that bounce on review are noise.
- The repository uses a non-GitHub forge. Adjust to that forge's conventions; do not force GitHub-isms.
Branch hygiene before opening
- Rebase or merge from the target base so the diff is current.
- Squash WIP commits into reviewable units. Prefer one commit per logical change; do not force one-commit-per-PR if the work is genuinely multi-step.
- Confirm tests, typecheck, and lint pass locally. Note any deliberate skips in the PR body.
- Remove debug prints, commented-out code, and
TODOmarkers that are not tracked.
PR title
- Imperative mood, under 70 characters.
- Lead with the user-visible change, not the file touched.
Allow CSV export from reports tablebeatsUpdate reports.tsx. - If the repo uses an issue prefix convention (
PAP-1234:,[security]), follow it. - No trailing period.
PR body
Use this structure:
## Summary
- 1–3 bullets describing what changed and why.
## Implementation notes
- Anything non-obvious in the diff: trade-offs, dropped alternatives, gotchas.
- Migration or config implications.
## Verification
- The exact commands or steps you ran.
- Screenshots or short clips for UI changes (required if pixels moved).
- Edge cases you exercised by hand.
## Risk and rollback
- What breaks if this is reverted, and how to revert cleanly.
Skip the Risk and rollback section only for clearly trivial PRs (typos, docs).
Verification evidence
- Tests passing in CI is necessary, not sufficient. Reviewers also need to know the change behaves correctly end to end.
- For UI work, include screenshots of the golden path and one edge case. Tag dark and light mode if the project supports both.
- For migrations, include a dry-run plan and reversal steps.
- For performance changes, include a before/after measurement, not adjectives.
Replying to review comments
- Reply on every comment, even with just "fixed in <commit-sha>" — silent fixes leave the reviewer guessing.
- Push fixes as new commits while review is active; do not amend during review unless the reviewer agrees.
- If you disagree with feedback, say so with one sentence of rationale and let the reviewer decide. Don't escalate over comments.
- Re-request review explicitly after pushing changes.
Merge checklist
- All required checks green.
- All review comments resolved.
- PR title/body still accurate (update if scope changed mid-review).
- Linked issue moves to
in_reviewordoneper project convention. - Delete the branch after merge unless it is a long-lived integration branch.
Anti-patterns
- PR description that says "see commits". Reviewers should not need to read the log.
- Mixing refactor and behavior change in the same PR with no separation in the body.
- "Address feedback" commits that bundle unrelated edits. One commit per round of feedback is fine; one commit for everything in flight is not.
- Force-pushing during active review without telling the reviewer.
الأسئلة الشائعة
لماذا العنوان والوصف الواضحان مهمان؟
يساعدان المراجع على فهم ما تغيّر ولماذا وكيف يُختبر بسرعة. وهذا يوفر الوقت ويتجنب الالتباس.
ما هي « commits » ولماذا ننظمها؟
« Commits » مثل « حفظ » لعملك. تنظيمها يعني تجميع التغييرات الصغيرة المرتبطة في « حفظ » واحد، فيصبح تاريخ الكود أنظف وأسهل في المتابعة.
هل أحتاج إلى لقطات شاشة لكل تغيير؟
لقطات الشاشة مهمة بشكل خاص للتغييرات التي تؤثر في المظهر المرئي للبرنامج، لأنها تُظهر بالضبط كيف يبدو التغيير عمليًا.
التفاصيل
الوصف الأصلي من المؤلف
Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.
repo: paperclipai/paperclip
الشعبية
- نجوم GitHub
- 103k
- الترتيب
- #805
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
delegate-work
103kيساعد وكيلك على تفويض العمل إلى وكيل آخر. مفيد لتقسيم المهام المعقدة وتتبع التقدم بطريقة منظمة.
follow-up-results
103kيجعل وكيلك يتحقق من نتائج الأعمال السابقة. مفيد لتتبع تقدم المهام وإضافة ملاحظات بشرية.
review-my-team
103kيساعد وكيلك على مراجعة الفريق المرتبط. مفيد للحصول على ملخص للفريق والمهام والعوائق والموافقات المعلقة.
paperclip-task-bridge
103kيجعل وكيلك ينشئ المهام ويديرها على منصة أخرى. مفيد للتفاعل مع أنظمة إدارة المشاريع مباشرة.
مهارات مشابهة
openclaw-update
394kيساعد وكيلك على تحديث بوابة OpenClaw Gateway الموجودة، مع اختيار طريقة التحديث المناسبة لطريقة تثبيتها والحفاظ على جلستك.
diagnose-gateway
394kيساعد وكيلك على معرفة سبب فشل بوابة OpenClaw Gateway عبر فحص الإعدادات والقنوات والمنافذ دون تغيير أي شيء.
crabbox-apps
394kيساعد وكيلك على فتح تطبيق وتشغيله على جهاز سحابي مؤقت، ثم عرض واجهته في الشريط الجانبي للدردشة.