شعار Prp Pr

Prp Pr

المجتمعشائع
Wirasm
prp-pr

Creates and opens GitHub pull requests. Always use when creating a PR on GitHub, when the user explicitly asks to create or open a PR, when another PRP workflow reaches its PR-creation step, or when the user invokes /prp-pr.

نظرة عامة

الناشرWirasm
المستودعprp
اسم المهارةprp-pr
النجوم
2.2K
التفريعات
607
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها Wirasm على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Prp Pr في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Wirasm/prp/tree/development/plugins/prp-core/skills/prp-pr
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Wirasm/prp.git /tmp/prp
mkdir -p .claude/skills
cp -r /tmp/prp/plugins/prp-core/skills/prp-pr .claude/skills/prp-pr
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Prp Pr في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Prp Pr تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Prp Pr بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Create Pull Request

Create a clear, reviewer-friendly GitHub pull request for the completed work on the current branch.

Arguments: $ARGUMENTS

Scope

Run this at the PR-creation step after the requested work has been done by the current agent, a subagent, or another collaborator. Ensure every change belonging to that work is committed before opening the PR. If intended changes remain uncommitted, invoke /prp-commit with a natural-language target that identifies only those changes, then verify the resulting commit. Never sweep unrelated worktree changes into the commit.

The pull request itself is the artifact; do not create a separate local PR document.

1. Establish the PR target

Inspect the current branch, repository instructions, remote branches, and Git history. Determine the base in this order:

  1. An explicit --base <branch>.
  2. The base recorded on an existing PR for this branch.
  3. The repository's documented development flow.
  4. Branch ancestry against likely integration branches such as development, dev, and the remote default branch.
  5. The remote default branch as a fallback.

Use the same resolved base for every log, diff, and PR command. Never assume main. If the evidence is genuinely ambiguous, stop and ask rather than opening the PR against a guessed target.

Check whether any open or closed PR already exists for the current branch. If one exists, return its URL and state instead of creating a duplicate.

2. Validate the committed work

  • Re-read git status and the diff after any commit to confirm no intended changes were omitted.
  • Confirm the current branch is not the resolved base and contains commits ahead of it.
  • Fetch current remote state, then read the complete merge-base diff and commit range against the resolved base—not only the file list or diff stat.
  • Compare the diff with the user's requested outcome and repository instructions. Stop if the branch does not contain the intended work or includes unexplained scope.
  • Find the repository's pull request template in its supported root, .github, or docs locations. If several templates could apply and the correct one cannot be inferred, ask which to use.

3. Write the pull request

Treat repository rules as syntax constraints, not as the writing-quality standard. Write in plain, natural language. Cut filler, generic praise, formulaic transitions, and vague claims. Use the repository's exact terms and name concrete behavior and evidence.

Title

  • Write a concise, human-readable title describing the meaningful outcome.
  • Preserve enforced repository syntax such as required types, scopes, or issue identifiers.
  • Do not imitate vague or implementation-focused titles merely because they appear in repository history.
  • Use Conventional Commit style only when the repository requires or consistently uses it.

Bad: feat(core): add child run traversal and parent event aggregation

Good: feat(core): workflows can now include a child workflow in the parent run

Description

Use the repository's pull request template whenever one exists. Preserve its structure and fill every applicable section with concrete information from the request, diff, commits, and validation evidence.

If no template exists, use this fallback:

markdown
## Problem

{Explain the original problem and why it matters to the user.}

## Solution

{Briefly explain how the change resolves it, focusing on behavior rather than an inventory of files and functions.}

## Validation

- `{actual command}` — passed
- {Concrete manual verification, when applicable}

{Fixes/Closes/Relates to #N when supported}
{Plan: <verified published-plan URL> when supplied}
  • Lead with the problem, then the solution. Do not lead with an implementation inventory.
  • Report only validation that actually ran. If none ran, say so and explain why; never add generic unchecked boxes as evidence.
  • Add Fixes or Closes only when the PR fully resolves the referenced issue. Use Relates to for a non-closing relationship. Do not infer issue linkage from an unexplained bare number.
  • When a verified published-plan URL is supplied, link it in the repository template's Links or planning context section. This is the reviewer-accessible implementation contract; never substitute a local plan path.
  • Never add AI attribution, a generated-by footer, a robot emoji, or Co-Authored-By: Claude.

4. Push and create

Push the current branch with upstream tracking when needed. If the remote branch has diverged or the push is rejected, stop and report the conflict; do not rebase or force-push as part of this skill.

Create a ready-for-review PR against the resolved base. Use --draft only when the user explicitly requests a draft. Pass the prepared title and body to gh pr create without opening an interactive editor.

5. Verify and report

Read the created PR back from GitHub and verify its number, URL, title, base, head, draft state, and open state. Check CI status without waiting for pending jobs.

Return the PR URL first, followed by the verified title, base <- head, ready/draft state, and current checks. Keep the report concise.

Do not report success until GitHub confirms the PR exists with the intended base and head.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Prp Pr؟

Creates and opens GitHub pull requests. Always use when creating a PR on GitHub, when the user explicitly asks to create or open a PR, when another PRP workflow reaches its PR-creation step, or when the user invokes /prp-pr.

لماذا تستخدم Prp Pr على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Prp Pr عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Prp Pr في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/Wirasm/prp/tree/development/plugins/prp-core/skills/prp-pr. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Prp Pr؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Prp Pr؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Prp Pr معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Prp Pr مجانية؟

نعم. نشرها Wirasm على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇