| name | gsd-pr-branch |
| description | Create a clean PR branch by filtering out .planning/ commits — ready for code review |
<cursor_skill_adapter>
A. Skill Invocation
- This skill is invoked when the user mentions
gsd-pr-branch or describes a task matching this skill.
- Treat all user text after the skill mention as
{{GSD_ARGS}}.
- If no arguments are present, treat
{{GSD_ARGS}} as empty.
B. User Prompting
When the workflow needs user input, prompt the user conversationally:
- Present options as a numbered list in your response text
- Ask the user to reply with their choice
- For multi-select, ask for comma-separated numbers
C. Tool Usage
Use these Cursor tools when executing GSD workflows:
Shell for running commands (terminal operations)
StrReplace for editing existing files
Read, Write, Glob, Grep, Task, WebSearch, WebFetch, TodoWrite as needed
D. Subagent Spawning
When the workflow needs to spawn a subagent:
- Use
Task(subagent_type="generalPurpose", ...)
- The
model parameter maps to Cursor's model options (e.g., "fast")
</cursor_skill_adapter>
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.
<execution_context>
@D:/LibraryCode/event-management/.cursor/get-shit-done/workflows/pr-branch.md
</execution_context>
Execute the pr-branch workflow from @D:/LibraryCode/event-management/.cursor/get-shit-done/workflows/pr-branch.md end-to-end.