/magician:seal [pr-title]from magician
Takes a certified feature branch through to a merged PR: simplify, certify, commit, push, create PR, wait for CI, review, and squash-merge. Use when a feature branch is verified and ready to ship.
Ships in magician. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Take a certified feature branch through to a merged PR. This skill performs irreversible actions (push, PR, merge). It presents one consolidated ship summary and waits before the first outward command (git push).
"Sealed. PR merged. Run /portal cleanup steps if applicable."
/certify ran and passed./scrutinize review and remediation cycle is complete, or that the user skipped it on purpose./certify must pass in this session, with fresh output you read this turn, not a remembered run. See lore/verification.md.Once Pre-flight is confirmed, the ship sequence runs autonomously. The simplify pass, the final certify, the documentation update and the commit proceed without a question to the owner. Claude Code's built-in read-only commands, read-only git included, do not prompt. This skill pre-approves the exact commit, push, PR, CI-check and merge commands shown below, and edits to CLAUDE.md and README.md. Any other edit or command goes through the normal permission prompt unless the user runs in auto mode.
Re-gate only on outward side effects (git push, gh pr create, gh pr merge), once, through the consolidated ship-summary gate below. Doctrine: lore/autonomy.md.
Check for the project's pre-commit skills first: .claude/skills/verify/SKILL.md and .claude/skills/simplify/SKILL.md. Since Claude Code 2.1.286, a non-bundled skill named verify or simplify that Claude may invoke runs before every commit. /almanac writes both as short delegators to /certify and to /scrutinize --lens simplifier.
Important finding before the ship summary.verify present: run the simplify pass below, and let the commit run verify in place of step 2.The pass: dispatch magician:simplifier through Task for a final simplification sweep. Give it a self-contained prompt: the goal, the changed files with the diff, and the return format. See lore/subagent-context.md. Fix any Important finding. Skip a Suggestion unless it is trivial.
The project skills are 10-line delegators, so they do not duplicate plugin behavior. A project can replace them with its own content. Then the project skill wins. This step still runs the plugin pass when that skill does not call /scrutinize.
Run /certify. All checks must pass before you continue, style included, against the project's documented conventions (lore/code-standards.md). Then a review bounce on style does not reopen the ship loop.
Before the commit, update the docs that describe the shipped feature:
CLAUDE.md: add or update changed commands, environment variables, architecture notes, or setup steps.README.md: update the feature list, screenshots, or usage examples if the change is visible to users.Keep the updates small 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]>"
When the project has a verify or simplify skill, Claude Code runs it as part of this commit. A finding from that run goes back to step 1.
Steps 1 to 4 ran autonomously. Before the first outward command (git push), present one consolidated ship summary. Then gate the outward push, PR and 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 a further question to the owner.
git push -u origin HEAD
Use the PR title and body approved at the ship-summary gate. Do not prompt for a title again. Run gh pr create with the body from references/pr-body.md. The body carries these lines:
.workspace/shared/).REVIEW.md tiers when present, else lore/review.md) and the human approvals it needs.Run gh pr checks <pr> --watch with the Bash tool's background option. On a failing check, read gh run view <id> --log-failed, fix, commit, push, and watch again until every check is green. Steps, /goal and /loop pairing, and the unattended rules (lore/unattended.md): references/ci-loop.md.
If reviewers add comments: use /scrutinize to process and remediate them, then /certify, then git push -u origin HEAD. The /scrutinize round ledger keeps a finding closed in an earlier round from a repeat. The platform's own review (/code-review, the @claude review GitHub flow) is an alternative, described in lore/deep/review.md#platform-surfaces.
First run the approval check in references/pr-body.md. Merge only when the head commit has the human approvals the Risk tier needs. Otherwise stop and say what is missing.
gh pr merge --squash --delete-branch
After the merge, offer a /loop on post-merge CI with AskUserQuestion. On a red run, open a small fix-forward PR through the ship-summary gate. Do not revert unless the fix is unclear. Ship a risky change behind a feature flag. Rules: references/ci-loop.md.
If disableGit: true: skip the push, PR and merge steps. Commit locally and report done.
When this skill runs as a dispatched unit and something blocks the work, do not wait for a human. Nobody is there. Do not silently ship a degraded result. Return the Obstacles block from lore/obstacles.md with whatever you completed. The fields are STATUS, OBSTACLE, BLOCKER, SEVERITY, WORKAROUND, RECURRENCE, SCOPE, NEXT. Interactively, say the same in prose.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub alexander-tyagunov/magician --plugin magician25 skills in this plugin
/acceleratePerformance profiling and optimization, baseline first. Use when something is slow or must hit a latency/throughput target./almanacOne-time workspace setup; .workspace/, .gitignore, CLAUDE.md, optional AGENTS.md and REVIEW.md. Run once per project./autopsyBlameless post-mortem / RCA; timeline, 5-Whys, action items, committed write-up. Use after an incident or outage./blueprintTurns an approved spec into a TDD task plan, parallelism map and plan.md + plan.html. Use after spec approval, before coding.Other plugins' skills for the same job