creating-pull-requests
Creates pull requests with generated descriptions. Triggered when: PR creation, pull request, merge request, code review preparation.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Pre-check
git branch --show-current
git status
git log --oneline <main-branch>..HEAD # Check CLAUDE.md for main branch name
Push to Remote
git push -u origin <branch-name>
PR Description Format
## Summary
- [Change 1]
- [Change 2]
## Test plan
- [ ] [Test item 1]
- [ ] [Test item 2]
Create PR
gh pr create \
--title "<title>" \
--body "$(cat <<'EOF'
## Summary
- Changes...
## Test plan
- [ ] Test items...
EOF
)"
Options
| Option | Usage |
|---|---|
--draft |
Draft PR |
--base <branch> |
Target branch |
--assignee @me |
Self-assign |
--label <label> |
Add label |
Completion Report
- PR URL
- Title
- Target branch
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-28
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!