From full-orchestration
Create a pull request from a reviewed implementation branch. Use when the implementation and review stage is approved and you are ready to open a PR. Generates a conventional-commit title, structured body with ticket link, spec summary, test results, and review findings, then creates the PR via gh CLI.
How this skill is triggered — by the user, by Claude, or both
Slash command
/full-orchestration:pr_createThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**State file**: `.claude/swe-state/{ticket-id}.json`
State file: .claude/swe-state/{ticket-id}.json
Create a well-structured PR from the reviewed implementation.
/pr_create <ticket-id>
Read state. Confirm stages.review.approved is true (not just completed — an aborted review is completed but not approved). Extract feature_branch, target_branch. Read ticket.json for ticket URL and source system. Read impl summary and review summary. Verify feature branch exists.
Report: ticket ID, branches, ticket URL, review iteration count.
Title: {type}({ticket-id}): {description} — under 72 chars.
Type mapping: feature→feat, bug→fix, refactor→refactor, docs→docs, test-only→test, chore→chore.
Labels: feature→enhancement, bug→bug, refactor→refactor, docs→docs, test→test, security fix→security.
Body — assemble from pipeline artifacts:
## Summary
{2-3 sentences}
Resolves [{ticket-id}]({ticket-url})
## Spec
**Goal**: {from spec} **Approach**: {summary}
**Key decisions**: {list}
## Changes
- `{file}` — {description}
## Test Results
{from impl summary}
## Review Summary
{iterations, findings table, resolutions}
## Checklist
- [x] Tests pass locally
- [x] Code review completed
- [x] No critical/major findings remaining
- [ ] CI pipeline (pending)
Preview gate: Show title, labels, body. User chooses: Create, Edit, or Cancel.
git fetch origin {target_branch}
git merge-base --is-ancestor origin/{target_branch} HEAD
If target has moved ahead, rebase: git rebase origin/{target_branch}. On conflict → present conflicting files to user and pause. Do NOT force-push or auto-resolve.git push -u origin {feature_branch}gh pr list --head {feature_branch} --json number,url — offer to update if existsgh pr create --title "{title}" --body "{body}" --base {target_branch}gh pr edit {number} --add-label "{labels}"| System | Action |
|---|---|
| Jira | MCP: transitionJiraIssue to "In Review" + addCommentToJiraIssue |
| Linear | MCP: linear_update_issue to "In Review" + linear_add_comment |
| GitHub | Auto-linked via Resolves #N; add comment with gh issue comment |
Request reviewers from CODEOWNERS if available: gh pr edit {number} --add-reviewer {list}. Report CI monitoring command.
Set stages.pr.completed = true, populate pr_number, pr_url, title, labels, ticket_updated, reviewers_requested. Set status = "completed".
npx claudepluginhub shouenlee/ghcp-dev-plugin --plugin full-orchestrationCreates pull requests with clear descriptions and test plans. Analyzes branch changes, detects ticket references, and runs code review before PR creation.
Creates GitHub pull requests from the current branch, analyzes diffs, applies PR templates, and prompts for effort and testing details.
Creates GitHub pull requests with formatted descriptions, labels, issue references, draft mode, reviewers, and base branch selection from pushed branches. Use for 'create PR' or 'submit for review'.