From minimalism-workflow
Create a GitHub pull request with auto-generated title and body from commits. Use when the user wants to create a PR, open a pull request, or says "ghpr".
How this skill is triggered — by the user, by Claude, or both
Slash command
/minimalism-workflow:ghprThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create a pull request with auto-generated title and body from commits.
Create a pull request with auto-generated title and body from commits.
Arguments: $ARGUMENTS (optional base branch, defaults to main)
Parse the base branch:
$ARGUMENTS is provided, use it as the base branchmainGather information about the current branch:
git branch --show-current to get the current branch namegit log <base>..HEAD --oneline to see commits not in basegit diff <base>...HEAD --stat to see changed files summaryAnalyze the commits to generate:
Check if branch needs to be pushed:
git status to check if ahead of remotegit push -u origin <branch> if neededCreate the PR using:
gh pr create --base <base-branch> --title "the pr title" --body "$(cat <<'EOF'
## Summary
<2-3 sentence summary explaining what changed and why>
## Why
- <reason 1>
- <detail or example for reason 1>
- <reason 2>
- <detail or example for reason 2>
- ...
## Before and After (if applicable)
| Before | After |
|--------|-------|
| <screenshot or description> | <screenshot or description> |
| <screenshot or description> | <screenshot or description> |
....
## Commit History
- <commit message 1> (<commit link 1>) : <commit description>
- <commit message 2> : <commit description or link>
...
## Test Plan
- [ ] <plan for testing the changes, e.g., "Run unit tests", "Test manually on staging", etc.>
- [ ] <additional test steps>
- [ ] ...
---
Assisted-By: <agenting tool name>(<model name>)
EOF
)"
The Assisted-By footer credits the AI agent that assisted in creating the PR. Use the actual tool name and model you are running as (e.g., Assisted-By: Claude Code(claude-opus-4-6)).
/ghpr - Create PR against main/ghpr develop - Create PR against develop branchGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub kodingwarrior/minimalism-workflow --plugin minimalism-workflow