/skillbook-skills:create-prfrom skillbook-skills
Software-factory chain stage: push the verified integration branch, write the PR body with the pr skill, then use the branch's PR in whichever state it is — mark a draft ready, apply the written body to an already-ready PR, or open a ready PR against main when there is none, never a draft — and close the spec and its tickets. Use for /create-pr or shipping a reviewed chain run.
Ships in skillbook-skills. 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.
Ship verified work: push the integration branch and open — or finish — a ready
PR against main that closes the spec and its tickets.
Model pin: opencode-go/muse-spark-1.3-contributor, --thinking xhigh
(the provider's cap). It runs headless as a pi session that the pack helper
launches into a visible Kepler terminal from the shared worktree, started by
code-review-loop after a clean review.
Standalone entry: /create-pr without a task or a spec asks the user
which one — the spec issue, or the tracker issue at hand — before it reads
the handoff doc; the answer names the run's subject and the issues the PR
closes. Standalone invocations are outside the chain's contract; create-pr
is the chain's last stage and launches nothing, so no ids resolve and no
helper flags apply on this path.
Read the handoff doc and its pointers: the spec issue, the tickets, the integration branch, the review report. Confirm the review is clean and that every ticket is either closed or covered by the PR's closing links.
Push the branch: git push -u origin <branch>. Never force-push.
Call the Skill tool for pr. Write the body to a file and pass it with
--body-file. Use the vocabulary in GLOSSARY.md. Evidence is the review
report's clean result plus the test runs from the implementation; Merge
Danger states whether the merge is a one-way or two-way door.
Finish the PR: use the branch's PR in whichever state it is — a branch
that already has one never gets a second. Read it first:
gh pr list --head <branch> --state open --json number,isDraft --limit 1.
An empty result means there is no open PR for the branch; otherwise the
single returned row supplies its number and isDraft.
gh pr ready <number>.gh pr edit <number> --body-file <path>, and never create a
second one.main:
gh pr create --base main --head <branch> --title <title> --body-file <path>.
Never open a draft.Closed and merged PRs are not reused; when no open PR exists, create a new ready PR for the branch.
Close the spec and its tickets through the body's closing keywords — one
Closes #<n> line per issue, the spec and every ticket — or set the same
links with gh pr edit. Verify with
gh pr view --json closingIssuesReferences.
Report the PR URL, the branch and the closing links. The chain ends here.
This is the terminal stage, so there is no next stage: no handoff doc, no
next session. The ready PR is the durable artifact, the review report is its
evidence, and the maintainer takes it from there.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dyegolara/skillbook --plugin skillbook-skills52 skills in this plugin
/architectSketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for "architect this", "design this", or non-trivial work where jumping to code would lock in the wrong shape./arenaSpawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for "arena this", "throw it in the arena", or when one attempt at a non-trivial artifact would lock in the wrong shape./automate-meUse for "automate me", "create/update/refresh my -mode skill", "turn/capture my preferences or working style into a skill", or wanting agents to follow how the user works. Drafts or revises a personal -mode skill via create-skill + unslop, optionally pulling fresh evidence from recent transcripts.