con un clic
github-pr
Create a GitHub PR from a worktree branch. Use after committing changes.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Create a GitHub PR from a worktree branch. Use after committing changes.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Address GitHub PR review comments. Navigate to correct worktree, make fixes, push updates.
Code review for Python changes in NexRL, following project conventions.
Fix a GitHub issue using git worktree for isolation. Fetches issue, creates worktree, implements fix, then creates PR.
Git commit workflow in a worktree with Python linting, formatting, and testing.
Run tests and linting for NexRL Python project.
| name | github-pr |
| description | Create a GitHub PR from a worktree branch. Use after committing changes. |
Changes committed via git-commit skill.
git worktree list
pwd
BRANCH_NAME=$(git branch --show-current)
echo "Current branch: $BRANCH_NAME"
gh pr list --head "$BRANCH_NAME" --state open --repo "$REPO"
If PR exists, show it and exit.
git push --set-upstream origin "$BRANCH_NAME"
gh pr create \
--repo china-qijizhifeng/NexRL \
--base main \
--head "$BRANCH_NAME" \
--title "type(scope): description" \
--body "## Summary
- Key change 1
- Key change 2
## Testing
- [ ] Tests pass (`pytest`)
- [ ] Linting clean (`pylint`, `mypy`)
- [ ] Formatting applied (`black`, `isort`)
## Related Issues
Fixes #ISSUE_NUMBER"
Auto-extract title/body from commit messages. No AI branding.
ISSUE_NUM=$(echo "$BRANCH_NAME" | grep -oP 'issue-\K\d+')
if [ -n "$ISSUE_NUM" ]; then
gh issue edit "$ISSUE_NUM" --repo china-qijizhifeng/NexRL \
--remove-label "status:in-progress" --add-label "status:review" 2>/dev/null || true
gh issue comment "$ISSUE_NUM" --repo china-qijizhifeng/NexRL \
--body "✅ PR created: $(gh pr view --json url -q .url). Ready for review."
fi