From magician
Ships a certified feature branch to production: simplifies code, re-certifies, updates docs, commits, creates PR, monitors CI, and merges. Use when a feature branch is verified and ready to ship.
How this skill is triggered — by the user, by Claude, or both
Slash command
/magician:sealThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Take a certified feature branch through to a merged PR. This skill performs irreversible actions (push, PR, merge) — it presents a single consolidated ship-summary and waits before the first outward command (`git push`).
Take a certified feature branch through to a merged PR. This skill performs irreversible actions (push, PR, merge) — it presents a single consolidated ship-summary and waits before the first outward command (git push).
Once Pre-flight is confirmed (/certify passed, /scrutinize + remediation complete or explicitly skipped), the ship sequence runs autonomously: the Simplifier Pass, Final Certify, Update Documentation, and Commit steps proceed without pausing — reading, searching, kg query/blast, and read-only git NEVER prompt for permission. Re-gate only on outward side effects — git push, gh pr create, gh pr merge — surfaced once through the consolidated ship-summary gate below, not per command. Doctrine: lore/autonomy.md.
Dispatch the simplifier via Task with subagent type magician:simplifier for a final simplification sweep. Give it a self-contained prompt: the goal, the changed files (with diff), and the return format (see lore/subagent-context.md). Fix any Important findings. Skip Low suggestions unless trivial.
Run /certify. All checks must pass before continuing — including style vs the project's documented conventions (lore/code-standards.md), so review bounces on style don't reopen the ship loop.
Before committing, update docs to reflect the shipped feature:
Keep updates minimal and accurate — document what changed, not the implementation details.
git add -A
git commit -m "feat: <feature description>
<bullet list of what was built>
Co-Authored-By: Claude <[email protected]>"
Steps 1–4 ran autonomously. Before the first outward command (git push), present one consolidated ship-summary, then gate the outward push/PR/merge through AskUserQuestion — end your turn at the call and act on the choice. The summary covers:
git add -A)--squash --delete-branch (step 9)Ask "Ship this branch?" with these options:
Treat a free-form "yes / approved / looks good" as Ship it. On Ship it, run Push (step 5), Create PR (step 6), and Merge (step 9) without further per-command prompts.
git push -u origin <branch>
Use the PR title + body approved at the ship-summary gate above — no separate title prompt:
gh pr create --title "<title>" --body "$(cat <<'EOF'
## Summary
- <what was built>
- <key decisions>
## Test plan
- [ ] All tests pass
- [ ] Types clean
- [ ] Lint clean
- [ ] Manually verified: <golden path>
Built with magician + Claude Code
EOF
)"
Prefer the Monitor tool: run the checks watcher in the background so CI status/failure events stream into the session and you react the instant a check fails — no blocking watch holding the turn open.
gh pr checks <pr> --watch # run via the Monitor tool; each status line returns as an event
Fallback when the Monitor tool is unavailable (pre-v2.1.98): call gh pr checks --watch directly (blocking).
Then loop: on a failing check → gh run view <id> --log-failed → fix → push → the watcher reports the next run → repeat until every check is green. For a long or unattended wait, pair with /goal ("PR checks green, then merged") so Claude keeps driving across turns; on a schedule, /loop check CI on my PR (self-paces when you omit the interval; fixed-interval on Bedrock/Vertex).
If reviewers add comments: use /scrutinize to process and remediate them, then /certify, then push.
gh pr merge --squash --delete-branch
If disableGit: true: skip push/PR/merge steps. Commit locally and report done.
"Sealed. PR merged. Run /portal cleanup steps if applicable."
npx claudepluginhub alexander-tyagunov/magician --plugin magicianAutomates ship workflow: merge base branch, run tests, bump version, update CHANGELOG, commit, push, create PR. Use when asked to 'ship', 'deploy', 'push to main', or 'create a PR'.
Ships completed work by verifying locally, committing changes, pushing, creating/updating PRs, and monitoring CI and reviews until merge-ready or escalated.
Pushes changes, opens a PR, watches CI until green, or merges an existing PR and cleans up branches.