Create Pr

Push local changes and create a GitHub Pull Request.

r3bl-org 8f40e59 821 B Updated

File contents

Create PR Workflow

Use this skill when the user explicitly invokes /create-pr or asks to create a PR from their local branch.

The Workflow

Step 1: Ensure Clean State & Push

  • Verify the git working tree is clean. If not, ask the user to commit or stash changes.
  • Push the current branch to origin using git push -u origin HEAD.

Step 2: Create the Pull Request

  • Create a PR using the GitHub CLI: gh pr create --fill.
  • This automatically uses the commit messages to populate the PR title and body.

Step 3: Next Steps

  • Tell the user the PR has been created and provide the link if available.
  • Remind the user they can use the /merge-pr slash command when they are ready to merge it into main.

r3bl-org/r3bl-open-core/tree/main/.agents/skills/create-pr commit 8f40e59b76

Frequently asked questions

npx skillmds@latest add r3bl-org/create-pr