visual-pr
ما الذي تفعله
تعلّم هذه المهارة الوكيل كيفية كتابة وصف لطلب السحب يستطيع المراجع قراءته بسرعة. يشرح سبب التغيير وشكل التنفيذ، وينشئ طلب السحب إن لم يكن موجوداً.
متى تستخدمها
- ✓عندما ينتهي المطور من تغيير ويحتاج إلى وصف واضح لطلب السحب.
- ✓عندما يصبح وصف طلب السحب الموجود قديماً بعد إضافة commits جديدة.
- ✓عندما يطلب المستخدم مخططاً بصرياً لما تغيّر في طلب سحب.
رابط المهارة
https://github.com/humanlayer/skills/blob/main/plugins/visual-pr/skills/visual-pr/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“استخدم مهارة visual-pr لكتابة وصف طلب السحب لفرعي الحالي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يجد وكيلك طلب السحب للفرع الحالي أو ينشئه، ويقرأ الفرق الكامل والتذكرة، ثم يملأ القالب. ويحصر سبب التغيير في جملة واحدة، ويضيف ملاحظات قليلة للمراجع.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Describe a Pull Request
Create or update the pull request for the current task with a concise description that helps a reviewer understand why the change exists and the shape of the implementation.
Workflow
Read the description template:
Read({SKILLBASE}/references/pr_description_template.md)Identify or create the pull request:
- Check the current branch for a PR with
gh pr view --json url,number,title,state,baseRefName,headRefName 2>/dev/null. - If no PR exists, inspect
git status --short --branchand the commits on the current branch. - Commit task-related changes when needed, push the branch with an upstream, and create a PR for it. Follow the repository's git safety protocol.
- Ask the user to select a PR only when the current branch has no relevant work and there is no safe current-branch PR to create.
- Check the current branch for a PR with
Gather only the context needed to explain the change:
- Read the ticket and any relevant task artifacts.
- Read the complete PR diff and enough surrounding code to understand behavior and ownership.
- Use
gh pr viewto collect PR metadata and changed files. - Read
{SKILLBASE}/references/show-me.mdfor the visual-outline conventions used in the PR body.
Write the PR description using the template:
- Keep Why the change to exactly one sentence.
- Keep Special things to note to 1-3 bullets. Prioritize reviewer warnings, migrations, compatibility constraints, deliberate omissions, or surprising decisions. Write
- None.when there are no special considerations. - Make Change outline a compact,
/show-me-inspired structural view rather than prose or a file-by-file changelog. - Include only the views that help explain this PR:
- SQL table and endpoint contract changes, plus pseudocode for business logic.
- key data structure / type changes
- A shallow file tree showing changed responsibilities.
- React component tree changes, including important hooks, state, and package boundaries.
- Call-tree, call-stack, control-flow, or data-flow changes.
- Prefer
diffblocks when showing changes to an existing shape. Show the complete target shape when most of it is new or diff notation would obscure ownership or order. - Keep each view focused on what a reviewer needs. Omit categories that did not change.
- optionaL: if you are aware of a ticket id/url, a humanlayer task url, or related plan/document urls, or other relevant links, include them in the header, otherwise omit the header
Save and publish the description:
- Use
.humanlayer/tasks/{task-slug}/pr-description.mdwhen the task directory exists; otherwise use.humanlayer/tasks/pr-{number}/description.md. - Update the PR with
gh pr edit {number} --body-file {output-path}. - Confirm the update succeeded.
- Use
Report completion:
- Read
{SKILLBASE}/references/describe_pr_final_answer.md. - Respond using that final answer template with the PR URL, saved description URL, and concise list of changed files.
- Read
Always read and follow {SKILLBASE}/references/pr_description_template.md. Do not expand the PR body beyond that template.
Write as one human talking to another: avoid jargon and slang, and use simple, coherent, concise language.
الأسئلة الشائعة
هل ينشئ طلب السحب بدلاً مني؟
إن لم يكن هناك طلب سحب للفرع، تنص المهارة على إيداع التغييرات المرتبطة بالمهمة ثم إنشائه.
ما طول الوصف؟
تحصر المهارة سبب التغيير في جملة واحدة، والملاحظات الخاصة في نقطة إلى ثلاث نقاط.
أي قالب تستخدم؟
تستخدم قالب وصف طلب السحب المحفوظ مع المهارة.
التفاصيل
الوصف الأصلي من المؤلف
Only use when the user explicitly invokes this skill by name.
repo: humanlayer/skills
الشعبية
- نجوم GitHub
- 5.5k
- الترتيب
- #14778
- الترخيص
- MIT
- آخر تحديث
- 1/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
build-iterated-agentic-loop
5.5kيساعد وكيلك على تحويل مهمة برمجية متكررة إلى مهارة داخل المستودع، مع سير عمل GitHub Actions مجدول يشغّل وكيل برمجة، وملف ذاكرة، وطلب سحب مفتوح واحد لكل دورة.
design-control-loop
5.5kيساعد وكيلك على استجواب المستخدم وتصميم حلقة تحكم تنقل قاعدة الكود نحو هدف بتغييرات صغيرة قابلة للمراجعة، ثم بنائها كسير عمل مجدول.
improve-claude-md
5.5kيساعد وكيلك على إعادة كتابة ملف CLAUDE.md بكتل شرطية، فتُتبع التعليمات المهمة عندما تنطبق، ويبقى الباقي بعيداً عن الطريق.
rpi
5.5kيساعد وكيلك على بحث تغيير، ودراسة تصميمه، وتنفيذه على مراحل واضحة، مع مستند لكل خطوة يمكنك مراجعته.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.