gsd-pr-branch

Create a clean pull request branch by filtering out planning commits.

264|11|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/coco-research/coco --skill gsd-pr-branch-coco-research
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-pr-branch
Source: https://github.com/coco-research/coco/tree/main/systems/gsd/skills/gsd-pr-branch
Command: npx skills add https://github.com/coco-research/coco --skill gsd-pr-branch-coco-research

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill creates a clean pull request branch by removing planning-only commits from the current branch, so reviewers can focus on code changes instead of workspace artifacts.

Core Features & Use Cases

  • PR Branch Cleanup: Filters out .planning commit history to produce a review-friendly branch.
  • Review Preparation: Helps separate implementation work from planning files such as PLAN.md, SUMMARY.md, and STATE.md.
  • Use Case: When a feature branch contains both product planning updates and code changes, use this Skill to generate a branch that is ready for code review.

Quick Start

Ask the assistant to create a clean PR branch from your current work and filter out planning commits before review.

Frequently Asked Questions about gsd-pr-branch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I exclude planning files from a git pull request diff?

To exclude planning files from a git pull request diff, you need to create a clean PR branch that filters out planning-only commits. This separates workspace artifacts like PLAN.md from actual code changes before review.

What is the best way to prepare a review-ready git branch with only code changes?

Preparing a review-ready git branch involves filtering out planning commit history from your current feature branch. This process preserves your code changes while removing planning artifacts, producing a clean diff against the main branch.

Can I remove planning commits from a feature branch without losing my code changes?

Yes, you can remove planning commits from a feature branch without losing code changes. The branch cleanup process preserves all implementation work while specifically targeting and filtering out planning-only commits from the commit history.

Does this branch cleanup workflow apply to standard Git-based code review processes?

Yes, this branch cleanup workflow applies directly to standard Git-based code review processes. It generates a review-friendly branch against a target branch such as main, ensuring reviewers only see relevant code modifications.

What planning artifacts are typically filtered out during PR branch cleanup?

Planning artifacts typically filtered out during PR branch cleanup include planning files such as PLAN.md, SUMMARY.md, and STATE.md. These workspace artifacts are removed from the reviewer diff to maintain focus on code changes.