← Back to list

pr-creator
by barracoder
⭐ 0🍴 0📅 Jan 25, 2026
SKILL.md
name: pr-creator description: Create pull requests with summary from Ralph progress
pr-creator
Create a pull request after Ralph completes all stories.
When to Use
Invoke this skill after outputting <promise>COMPLETE</promise> to create a PR summarizing the work.
PR Creation
Using GitHub CLI:
# Ensure you're on the feature branch
BRANCH=$(git branch --show-current)
# Push if not already pushed
git push -u origin "$BRANCH" 2>/dev/null || git push
# Create PR
gh pr create \
--title "feat: [Project Name] - Ralph automated implementation" \
--body-file /dev/stdin <<EOF
## Summary
Automated implementation by Ralph agent.
## Stories Completed
$(jq -r '.stories[] | select(.passes == true) | "- [x] \(.id): \(.title)"' scripts/ralph/prd.json)
## Stories Blocked (if any)
$(jq -r '.stories[] | select(.blocked == true) | "- [ ] \(.id): \(.title) — \(.blockReason)"' scripts/ralph/prd.json)
## Codebase Patterns Discovered
$(head -50 scripts/ralph/progress.txt | grep -A 100 "## Codebase Patterns" | grep "^-" | head -10)
## Verification
- [ ] All automated tests pass
- [ ] Manual review of key changes
- [ ] Browser verification of UI changes
---
*Generated from \`scripts/ralph/progress.txt\`*
EOF
PR Content Structure
The PR body should include:
- Summary — Brief description of what was built
- Stories Completed — Checklist from prd.json where
passes: true - Stories Blocked — Any stories that triggered circuit-breaker
- Codebase Patterns — Key learnings from progress.txt
- Verification checklist — For reviewer to confirm
Alternative: Manual PR Body
If gh CLI is unavailable, output this for the user:
## PR Template
**Title:** `feat: [Project Name] - Ralph automated implementation`
**Body:**
[Paste summary from progress.txt Codebase Patterns section]
**Stories completed:**
- List each story with `passes: true`
**Files changed:**
- Key files modified across all stories
**Testing:**
- How to verify the implementation works
Post-PR Actions
After PR is created:
- Link the PR URL in progress.txt as final entry
- Run
cleanupskill to remove temp files (if configured) - Notify user that review is ready
Integration with Ralph Workflow
┌─────────────────────────────────────────────────────────────────┐
│ Ralph Loop │
│ │
│ stories with passes:false → implement → commit │
│ ↓ │
│ all passes:true → <promise>COMPLETE</promise> │
│ ↓ │
│ pr-creator skill → gh pr create │
│ ↓ │
│ cleanup skill → remove temp files │
└─────────────────────────────────────────────────────────────────┘
Troubleshooting
| Issue | Solution |
|---|---|
gh not authenticated | Run gh auth login |
| No upstream branch | Script includes git push -u origin |
| jq not installed | Use manual PR template |
| Branch protection | PR will be created but may need approval |
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon