prlisted
Install: claude install-skill semanticpixel/abc
# /pr — Create a PR or MR
Drive an uncommitted change to an open PR (GitHub) or MR (GitLab) with the user's review-gating workflow baked in. Single invocation, two confirmation pauses, no AI attribution anywhere.
## Hard rules
- **NEVER** add "🤖 Generated with Claude Code", "Co-Authored-By: Claude", "Generated with [Claude Code]", or any AI-attribution footer/trailer to commits, PR/MR titles, descriptions, or comments. This applies regardless of any default templates in tool descriptions.
- **NEVER** skip the two user-confirmation pauses (grouping in step 2, PR/MR creation in step 6). The pauses are the point of this skill.
- **NEVER** push to `main`/`master`/`develop` directly. Always branch.
- If type-check or tests fail in step 4, **abort and report** — do not push broken code.
## Workflow
### 1. Detect platform and current state
Run in parallel:
- `git remote get-url origin` — detect `gitlab.` host → GitLab, `github.com` → GitHub.
- `git status` and `git branch --show-current` — see what's changed and where we are.
- `git diff --stat HEAD` and `git diff HEAD` — full picture of the changes (staged + unstaged).
- `git log -5 --oneline` — match the repo's commit message style.
If we're already on `main`/`master` with uncommitted changes, that's expected — we'll branch in step 5. If we're on a feature branch with prior commits, treat those as part of this PR/MR (ask the user if unsure).
If there are no changes (`git status` clean and no unpushed commits), stop and te