بنقرة واحدة
pr-create
Create a pull request and request review
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a pull request and request review
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | pr-create |
| version | 1.0.0 |
| description | Create a pull request and request review |
| uses | ["development/git"] |
| requires | {"tools":["git","gh"],"env":[]} |
| security | {"risk_level":"write","capabilities":["git:read","github:pr:write"],"requires_approval":false} |
Create a pull request after code is committed and pushed, then request review. This skill handles the transition from local development to code review.
Platform note: This skill currently uses GitHub (gh CLI). The methodology is platform-agnostic; only the tool commands are GitHub-specific.
This is a bash skill (handler: type: bash). When pr_create is invoked, the executor runs gh pr create with the provided parameters. The tool schema in tool.yaml defines the external contract; the executor handles the GitHub CLI call directly.
Before creating a PR:
Check what will be included:
Structure:
type(scope): short description (under 70 characters)Closes #N to auto-close on mergeCreate with clear title and structured body. Note the returned PR number for tracking.
After creation:
task_id, call POST /tasks/{task_id}/status with {"status": "review"} to move the task into the review phase.channel="work" and type="pr_created". Include the PR number, title, URL, related issue, and a brief summary in the message payload. This triggers reviewer agents to pick up the PR.## PR Created
- PR number: [#N]
- Title: [title]
- Base: [base branch]
- Head: [feature branch]
- URL: [PR URL]
- Review requested: [yes/no]
review via POST /tasks/{task_id}/statusbus_publish tool for automated review pickupCloses #N means the issue won't auto-close when the PR merges.PR creation is complete when:
reviewbus_publish toolReview pull requests for code quality, security, and correctness
Review pull requests for code quality, security, and correctness
End-to-end shipping workflow — tests, PR creation, review request. Unified pr-create + pr-complete.
Periodic cross-agent learning consolidation — review what worked, what didn't, propagate insights
Break down complex problems through structured analytical frameworks
Persist and recall context across sessions — critical for continuity