- name
SKILL.md
स्किल फ़ाइल पब्लिशर की रिपॉज़िटरी में ही रहती है।
कॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add omagents/omagents --skill work-with-pr -a cursor -yकॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add omagents/omagents --skill work-with-pr -a claude-code -yकॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add omagents/omagents --skill work-with-pr -a codex -yकॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add omagents/omagents --skill work-with-pr -a grok -yकॉपी किया गया संदेश Grok Bot चैट में भेजें। Bot यह SKILL.md GitHub से लाता है और उसे उन स्किल में जोड़ देता है जो आपके सभी Bot साझा करते हैं।
Install this skill: https://github.com/omagents/omagents/tree/HEAD/packages/core/skills/work-with-prपब्लिशर से
Manage pull requests from creation to merge using the github MCP tools.
Verify the branch is ready:
# Check current branch
git branch --show-current
# Check for uncommitted changes
git status --porcelain
# Check commits to be included
git log origin/main..HEAD --oneline
github_create_pull_request(
owner="<owner>",
repo="<repo>",
title="<clear title>",
head="<feature-branch>",
base="main",
body="## Summary\n\n<what this PR does>\n\n## Changes\n\n- <change 1>\n- <change 2>\n\n## Testing\n\n<how to test>"
)
PR body structure:
# Get PR details
github_pull_request_read(method="get", owner="<owner>", repo="<repo>", pullNumber=<N>)
# Get changed files
github_pull_request_read(method="get_files", owner="<owner>", repo="<repo>", pullNumber=<N>)
# Get diff
github_pull_request_read(method="get_diff", owner="<owner>", repo="<repo>", pullNumber=<N>)
# Get CI check runs
github_pull_request_read(method="get_check_runs", owner="<owner>", repo="<repo>", pullNumber=<N>)
# Update title or body
github_update_pull_request(owner="<owner>", repo="<repo>", pullNumber=<N>, title="<new title>")
# Update branch with latest from base
github_update_pull_request_branch(owner="<owner>", repo="<repo>", pullNumber=<N>)
# Convert to/from draft
github_update_pull_request(owner="<owner>", repo="<repo>", pullNumber=<N>, draft=false)
Create a pending review, add comments, then submit:
# Create pending review
github_pull_request_review_write(method="create", owner="<owner>", repo="<repo>", pullNumber=<N>)
# Add line comments
github_add_comment_to_pending_review(
owner="<owner>", repo="<repo>", pullNumber=<N>,
path="src/file.ts", line=42, side="RIGHT",
body="Consider extracting this to a helper function.",
subjectType="LINE"
)
# Submit the review
github_pull_request_review_write(
method="submit_pending", owner="<owner>", repo="<repo>", pullNumber=<N>,
event="COMMENT" # or "APPROVE" or "REQUEST_CHANGES"
)
github_merge_pull_request(
owner="<owner>",
repo="<repo>",
pullNumber=<N>,
merge_method="squash", # "merge", "squash", or "rebase"
commit_title="<title>",
commit_message="<details>"
)
# Get review threads
github_pull_request_read(method="get_review_comments", owner="<owner>", repo="<repo>", pullNumber=<N>)
# Reply to a review comment
github_add_reply_to_pull_request_comment(
owner="<owner>", repo="<repo>",
commentId=<comment_id>,
body="Fixed in <commit_sha>",
pullNumber=<N>
)
Before creating a PR:
git rebase origin/main)Before merging:
Manage the full PR lifecycle using the github MCP: create, update, review, merge. Trigger when the user says 'create PR', 'update PR', 'review PR', 'merge PR', or needs to work with pull requests.
---name: work-with-prdescription: Manage the full PR lifecycle using the github MCP: create, update, review, merge. Trigger when the user says…---# packages/core/skills/work-with-pr/SKILL.mdFAQ
पब्लिशर से packages/core/skills/work-with-pr/SKILL.md डाउनलोड करें, या पाथ कॉपी करके रिपॉज़िटरी खोलें। PlugMCP स्किल को सूचीबद्ध करता है, फ़ाइल होस्ट नहीं करता।
पब्लिशर इसे https://github.com/omagents/omagents पर रखता है।
Claude, Cursor, Codex और Grok Build वह SKILL.md पढ़ सकते हैं जिसे आप पब्लिशर की रिपॉज़िटरी से जोड़ते हैं। जब आप चैट में स्किल के GitHub फ़ोल्डर का लिंक भेजते हैं, तो Grok Bot उसे इंस्टॉल कर देता है।