oprogramadorreal/optimus-claude / skills/pr
pr
VerifiedCreates or updates a pull request (GitHub) or merge request (GitLab) for the current branch in the Conventional PR format — intent, summary, changes, rationale, and test plan. Pushes the branch if needed (asks before any force-push) and captures the implementation conversation's intent into the PR description. Use when a feature branch is ready for review or to refresh an existing PR/MR description.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 3.9 KB |
| SKILL.md | skill md | 10.7 KB |
| agents/openai.yaml | config | 198 B |
| references/default-branch-detection.md | markdown | 709 B |
| references/platform-detection.md | markdown | 1.5 KB |
| references/pr-template.md | markdown | 2.6 KB |
references/default-branch-detection.md
View on GitHub# Default Branch Detection
Detect the repository's default branch using this fallback chain:
1. **Symbolic ref** — `git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@'` — if this succeeds, use the result
2. **Try `main`** — if step 1 fails, check if `origin/main` exists: `git rev-parse --verify origin/main 2>/dev/null` — if it exists, use `main`
3. **Try `master`** — if step 2 fails, check if `origin/master` exists: `git rev-parse --verify origin/master 2>/dev/null` — if it exists, use `master`
4. **All failed** — if no default branch can be determined, detection has failed. The consuming skill decides how to handle this (stop, ask the user, etc.).
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |