Skill for managing GitHub pull requests and issues using Copilot's built-in PR/issue APIs. Provides structured, agent-native operations for review, comment, resolve, and merge workflows.
Install
npx skillscat add squirrel289/pax/copilot-pull-request Install via the SkillsCat registry.
This skill provides a set of operations for managing GitHub pull requests and issues through Copilot's built-in APIs. It enables agents to fetch PR details, list and reply to comments, resolve threads, and merge pull requests using structured, agent-native workflows. It is intended for use in Copilot agent environments where integrated and reliable PR management is needed.
Copilot Pull Request
Skill for managing GitHub pull requests and issues using Copilot's built-in APIs. Use this for agent-native, composable, and context-aware PR/issue workflows.
When to Use
- In Copilot agent environments (VS Code, Copilot CLI, etc.)
- When you want maximum integration and reliability
Interface, Workflows, and Best Practices
See PR_MANAGEMENT_INTERFACE.md for the unified interface, supported operations, workflows, best practices, error handling, and quick reference shared by all PR management skills.
API-Specific Usage
Fetch PR Details
operation: fetch-pr-details
pr-number: 42
repository: owner/repoUses: github-pull-request_activePullRequest or github-pull-request_openPullRequest
List Review Comments
operation: list-comments
pr-number: 42
repository: owner/repoUses: github-pull-request_activePullRequest (field: reviewThreads)
Reply to Comment
operation: reply-comment
pr-number: 42
thread-id: PRRT_abc123
body: "Thanks for the feedback!"
repository: owner/repoUses: pull_request_review_write (add comment)
Resolve Thread
operation: resolve-thread
pr-number: 42
thread-id: PRRT_abc123
repository: owner/repoUses: pull_request_review_write (resolve thread)
Merge PR
operation: merge-pr
pr-number: 42
repository: owner/repo
merge-method: squash
delete-branch: trueUses: pull_request_review_write (merge)
Quick Reference
FETCH PR:
operation: fetch-pr-details
pr-number: <number>
repository: <owner/repo>
LIST COMMENTS:
operation: list-comments
pr-number: <number>
repository: <owner/repo>
LIST UNRESOLVED COMMENTS:
operation: list-comments
pr-number: 42
repository: owner/repo
filters:
unresolved: true
REPLY TO COMMENT:
operation: reply-comment
pr-number: <number>
thread-id: <id>
body: "message"
repository: <owner/repo>
RESOLVE THREAD:
operation: resolve-thread
pr-number: <number>
thread-id: <id>
repository: <owner/repo>
CHECK MERGEABLE:
peration: check-status
r-number: 42
epository: owner/repo
MERGE PR:
operation: merge-pr
pr-number: <number>
repository: <owner/repo>
merge-method: squash|merge|rebase
delete-branch: true|false