with one click
edit-pr
Edit PR description with structured format
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Edit PR description with structured format
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | edit-pr |
| description | Edit PR description with structured format |
| allowed-tools | Bash(gh:*), Bash(git:*), Read, Grep |
| argument-hint | ["pr-number"] |
Edit the PR description with a structured format following ranim's conventions (reference: PR #77, PR #64).
Identify the PR: If no PR number is provided, get the current branch's PR with gh pr list --head $(git branch --show-current).
Analyze the changes:
git diff main...HEAD --stat to understand the scopegit log main..HEAD --oneline to see commitsUnderstand the context: Read key changed files to understand what the PR is doing. Look for:
Structure the PR description following this format:
Closes: #<issue-number>
- **feat**: New features or capabilities
- **fix**: Bug fixes
- **refactor**: Code improvements without behavior change
- **docs**: Documentation updates
- **perf**: Performance improvements
- **test**: Test additions or changes
### Breaking Changes
- **API/Field name**: Description of the breaking change and migration path
---
## Component/Feature 1
Detailed description of the first major change.
Use code blocks, mermaid diagrams, or examples as needed.
## Component/Feature 2
...
Use visualizations when helpful:
Update the PR with gh pr edit <number> --body "$(cat <<'EOF'\n...\nEOF\n)"
Return the PR URL at the end.