Skip to main content
Generaldavepoon

gsd:pr-branch

Create a clean PR branch by filtering out .planning/ commits — ready for code review

Stars
2,987
Source
davepoon/buildwithclaude
Updated
2026-05-26
Slug
davepoon--buildwithclaude--pr-branch
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/davepoon/buildwithclaude/HEAD/plugins/gsd/skills/pr-branch/SKILL.md -o .claude/skills/pr-branch.md

Drops the SKILL.md into .claude/skills/pr-branch.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

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.

@${CLAUDE_PLUGIN_ROOT}/workflows/pr-branch.md Execute the pr-branch workflow from @${CLAUDE_PLUGIN_ROOT}/workflows/pr-branch.md end-to-end.