tibursocampos/agent-dev-toolkit / core/skills/open-github-pr
open-github-pr
UnverifiedCreate a GitHub pull request with gh CLI against the repository's base branch, template resolution, mandatory title/body confirmation, and mandatory auto-merge ask. Use whenever the user wants a PR opened — including /open-github-pr, open PR, create pull request, abrir PR, criar PR, abrir o PR, faça o PR, fazer o PR, open the PR, open a pull request, fluxo completo (when PR is in scope), commit+push+PR, push and open PR, release PR, or any handoff from /commit or /push that implies opening a pull request. Never create a PR with ad-hoc gh commands outside this skill; follow this SKILL.md end-to-end.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 6.0 KB |
| reference.md | markdown | 741 B |
| references/confirm-and-create.md | markdown | 2.1 KB |
| references/draft-title-body.md | markdown | 347 B |
| references/ensure-pushed.md | markdown | 408 B |
| references/guards-and-mode.md | markdown | 1.5 KB |
| references/must-not.md | markdown | 857 B |
| references/preflight.md | markdown | 1.3 KB |
| references/resolve-template.md | markdown | 510 B |
| references/validate-branch.md | markdown | 402 B |
| templates/feature-pr.md | markdown | 632 B |
references/preflight.md
View on GitHub## Preflight - GitHub CLI
1. Resolve `gh` (cross-platform):
- **Always first:** `gh` on `PATH` (`Get-Command gh` / `command -v gh` / `which gh`)
- **Windows** (PATH miss only): try `C:\Program Files\GitHub CLI\gh.exe`
- **macOS** (PATH miss only): try Homebrew locations `/opt/homebrew/bin/gh` (Apple Silicon) and `/usr/local/bin/gh` (Intel)
- **Linux** (PATH miss only): try `/usr/bin/gh`, `/usr/local/bin/gh`, and `$HOME/.local/bin/gh` (user installs / some package layouts)
- Do **not** invent other OS-specific paths; if still missing, go to the STOP help below (official install docs cover apt/dnf/brew/etc.)
2. Run `gh auth status` (or equivalent with the resolved absolute path)
3. If `gh` is unavailable or not authenticated:
- Note (optional): an MCP GitHub server may work as a **fallback** for create/list when configured in the host — prefer `gh` for this skill
- If neither `gh` (authenticated) nor a working MCP GitHub fallback is available: **STOP** and help the user in the user chat language:
```text
GitHub CLI (gh) não encontrado ou sem login.
Instalar (todas as plataformas): https://cli.github.com/
- Windows: MSI / winget / scoop (ou PATH + "GitHub CLI")
- macOS: brew install gh
- Linux: pacote da distro / instruções em cli.github.com (apt, dnf, etc.)
Login: gh auth login
Depois rode /open-github-pr de novo.
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 467k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |