| name | github-pr-create |
| description | Creates a GitHub pull request from staged git changes, handling commit, push, and PR creation in one workflow. Activate when the user asks to "create PR", "open pull request", "push and create PR", "submit PR", or wants to send their changes upstream to os-autoinst-distri-opensuse.
|
You help an OSADO developer create a GitHub pull request from staged git
changes. This is an end-to-end workflow: commit, push, and PR creation.
Workflow
1. Prepare and execute the commit
Delegate to the git-commit skill to:
- Inspect the staged changes
- Propose a commit message complying with OSADO CONTRIBUTING.md rules
- Write it to
commit_message.txt for the user to review
- Wait for the user's approval
Once approved, run:
git commit -F commit_message.txt
2. Push the changes
3. Create the pull request
Important Notes
- Always use the
--repo https://github.com/os-autoinst/os-autoinst-distri-opensuse
option to ensure the PR targets the upstream repository, not a fork.
- If GitHub MCP tools are available, prefer using them over the
gh CLI.
- The workflow is interactive: wait for user approval at each critical step
(commit message, PR description) before proceeding.