From GSD Core
Creates a clean PR branch by filtering out GSD planning commits (PLAN.md, SUMMARY.md, STATE.md changes) from the current branch, leaving only code changes for review.
How this command is triggered — by the user, by Claude, or both
Slash command
/gsd-core:pr-branch [target branch, default: main]gsd/This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
<objective> Create a clean branch suitable for pull requests by filtering out .planning/ commits from the current branch. Reviewers see only code changes, not GSD planning artifacts. This solves the problem of PR diffs being cluttered with PLAN.md, SUMMARY.md, STATE.md changes that are irrelevant to code review. </objective> <execution_context> @~/.claude/gsd-core/workflows/pr-branch.md </execution_context> <process> Execute end-to-end. </process>
This solves the problem of PR diffs being cluttered with PLAN.md, SUMMARY.md, STATE.md changes that are irrelevant to code review.
<execution_context> @~/.claude/gsd-core/workflows/pr-branch.md </execution_context>
Execute end-to-end.npx claudepluginhub open-gsd/gsd-core/prp-prCreates GitHub PR from current branch with unpushed commits. Discovers templates, analyzes changes/files, pushes branch, fills body. Optional base-branch (default: main).
/push-prCommits changes to a new branch if on main, pushes to origin, fills PR template with git diff details, and opens GitHub pull request.