Create PR
Create or update a GitHub pull request using the story file as PR content.
Derive PR Title
Extract the first item from the Summary section of the story file:
markdown
## 1. Summary 1. First meaningful change
Use that first item as the title. If multiple items exist, append "etc" (e.g., "Add dark mode toggle etc").
Create or Update PR
Run the bundled script:
bash
bash .claude/skills/create-pr/sh/create-or-update.sh <branch-name> "<title>"
What the Script Does
- •Strips YAML frontmatter from
.workaholic/stories/<branch-name>.md - •Writes clean content to
/tmp/pr-body.md - •Checks if PR exists for the branch
- •Creates new PR or updates existing one
- •Outputs the result in required format
Output Format
Exactly one line:
code
PR created: <URL>
or
code
PR updated: <URL>
This output format is required by the story command.