GitHub PR Workflow (Worktree-Aware)

SkillDev tools

Create a GitHub PR from a worktree branch. Use after committing changes.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the GitHub PR Workflow (Worktree-Aware) skill

What this skill tells your AI

The instructions your AI receives, as published by nex-agi/nexrl in .claude/skills/github-pr/SKILL.md and read by ahel’s review.

Prerequisites

Changes committed via git-commit skill.

Workflow

Step 1: Verify Current Location

git worktree list
pwd
BRANCH_NAME=$(git branch --show-current)
echo "Current branch: $BRANCH_NAME"

Step 2: Check for Existing PR

gh pr list --head "$BRANCH_NAME" --state open --repo "$REPO"

If PR exists, show it and exit.

Step 3: Push Branch

git push --set-upstream origin "$BRANCH_NAME"

Step 4: Create PR

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.

Step 5: Update Issue

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

Signals

GitHub stars
119
Forks
9
Last commit
Jul 2026

ahel review

  • S4info
    community integration — published by nex-agi, not github

Automated review, not a security audit. Ruleset v1.

Advanced
Catalog kind
skill
Gateway key
github-pr-nex-agi
Source
github.com/nex-agi/nexrl