/zsl:commit-push-prfrom zsl
Commit session changes, push the branch, and open a PR — in one shot. Refuses to run on the repo's default branch (main/master) so the PR step can't fail. Delegates the commit step to `/zsl:commit`, then pushes with `-u`, then opens the PR via `gh`. Use when user wants to ship a feature branch end-to-end, says "/commit-push-pr", or asks to commit, push, and open a PR.
Ships in zsl. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
One-shot shipping for a feature branch: commit → push → PR.
The commit step is delegated wholesale to /zsl:commit — same rules (autonomous for session changes, explicit file lists, no Claude attribution). The novel work here is the pre-flight branch check and the push + PR open after the commit lands.
The PR step would fail on main/master — you can't open a PR from a branch into itself. Check before committing so the user isn't left committed-but-undeliverable.
git rev-parse --abbrev-ref HEAD → current branch.git symbolic-ref refs/remotes/origin/HEAD --short 2>/dev/null | sed 's|^origin/||' → remote default branch. Fall back to main, then master, if that returns nothing./zsl:git-branch <description> to create a properly-prefixed feature branch. Do not proceed to the commit.If the working tree is clean and the branch has no unpushed commits, also stop — there's nothing to ship.
Run the pre-flight branch check. Stop if on the default branch.
Delegate to /zsl:commit. Follow that skill's full process: classify session vs other-origin changes, confirm only the other-origin bucket, plan the commit(s), execute with explicit file lists. If /zsl:commit halts (user declines an other-origin file, hook fails, etc.), halt here too — don't push a half-shipped state.
Skip this step if the working tree is clean but the branch has unpushed commits — go straight to push.
Push with upstream.
git push -u origin <current-branch>
-u sets the upstream so subsequent git push/git pull work without arguments. Harmless if the branch already tracks.
If push fails (non-fast-forward, hook reject, auth), surface the error verbatim and stop. Never --force. Never --no-verify.
Open the PR.
gh pr create --title "<title>" --body "<body>"
feature//fix//etc. prefix, replace hyphens with spaces, sentence-case) or the latest commit subject, whichever reads better. Keep under 72 chars.## Test plan checklist. Multi-line via heredoc. If .github/pull_request_template.md exists, follow its shape.🤖 Generated with…, no Co-Authored-By:. Same rule as /zsl:commit.gh pr create fails; fall back to gh pr view --json url -q .url and report the existing PR URL..github/workflows/auto-pr.yml) and the push already created the PR, skip the gh pr create and just resolve the URL.Report. One line: PR URL. Done.
--no-verify. Pre-push hooks exist for a reason — fix the issue, re-run.gh pr create defaults to the repo's base; if that's main but the user's flow uses develop or a release branch, ask before opening./zsl:commit owns that decision./zsl:commit./zsl:git-branch, then this skill./zsl:code-review before this; fix findings, then run this.main is harder to unwind than refusing up front. One git rev-parse saves a future git reset./zsl:commit rather than re-implementing the commit rules — keeps the no--A, no-attribution, other-origin-confirmation logic in one place.-u origin on push because half of "push failed" reports trace back to a branch with no upstream. Setting it once costs nothing.What SKILL.md sets; muted values are Claude Code's defaults
32 skills in this plugin
/afk-fanoutInteractive local-session scheduler for overnight remote /tdd-parallel runs. Reviews the queue of tracking PRDs with ready-for-agent children, lets the human pick which to run overnight and in what order, then schedules one one-shot remote routine per selected PRD spaced a fixed 2h apart — each fires its own remote claude.ai session running /afk-worker against one PRD. The 2h spacing is a deliberate throttle to stay under the per-5h-window token cap. Places a light scheduled claim on each PRD so a re-run the same evening won't double-book. Morning you walks the results via /morning-review./afk-workerRemote per-PRD executor fired by an /afk-fanout-scheduled one-shot routine. Runs unattended in its own remote claude.ai session — own clone, own working tree, own branch — so it never contends with other PRDs' workers. Flips the PRD's scheduled claim to in-progress, runs /tdd-parallel <num> --on-review-failure=continue --max 2, opens one integration PR, and on halt records the offending slice + RCA. Reports its outcome (claim state, PR URL or halt RCA) as a per-PRD entry on the shared afk-runs git branch that /morning-review reconciles back into the tracker, and fires a best-effort Telegram heads-up. Invoked by the scheduled routine, not by hand./ask-zslInteractive router that helps you find the right ZSL skill for what you're doing right now, without leaving your work. Use when you're mid-session and unsure which skill fits — "which ZSL skill should I use", "how do I do X with these skills", or when you want to be routed to the right part of the loop./codebase-designShared vocabulary and refinements for reasoning about module depth, interfaces, seams, and adapters — the deep-module design language. Use when discussing module/interface design, whether a module is deep or shallow, where to place a seam, how to design an interface for testability, or when exploring alternative interfaces for a module. Composed by /improve-codebase-architecture and /tdd./code-reviewComprehensive pre-PR code review of the current branch with an issues-only tone and an approval gate before applying fixes. Use when user wants a code review, mentions /code-review, or asks to scan the branch before opening a PR./commitPlan and create git commits autonomously for changes made in this session (no per-commit approval prompt). Cross-session dirty files — files modified outside this conversation's tool calls — get confirmed before inclusion. Explicit file lists only, never `git add -A`. No Claude attribution lines. Use when the user wants to commit, says "/commit", or asks to land changes — and composable by any skill that needs to land changes (e.g. commit-push-pr, tdd-parallel).npx claudepluginhub zunosmartlabs/zsl-superpowers --plugin zslOther plugins' skills for the same job