Skip to content

oprogramadorreal/optimus-claude / skills/pr

Creates 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.

FileKindSize
README.mdmarkdown3.9 KB
SKILL.mdskill md10.7 KB
agents/openai.yamlconfig198 B
references/default-branch-detection.mdmarkdown709 B
references/platform-detection.mdmarkdown1.5 KB
references/pr-template.mdmarkdown2.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.).
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall