/model-citizen:build <plan path or issue number>from Model Citizen
Implements an approved plan or issue in a dedicated worktree, runs the project's gate, commits conventionally, and opens a pull request.
Ships in Model Citizen. Installing the plugin adds it to Claude Code.
What to build: $ARGUMENTS
Check first, before spawning anything. Choose the applicable path for repository, push remote and logged-in gh availability:
gh is unavailable: use the normal builder through step 4, report its verified local branch, then stop before step 5./plan hands over the approved path. With neither path nor
issue, ask for one. Give the builder the absolute plan path and tell it to copy the file into its
worktree and commit it — a worktree carries no untracked file, and the plan belongs in the PR.builder agent with the plan or issue text, the repository path, the base
branch, and the attribution trailer your tool supplies. Its definition already carries the
standing brief — a worktree off the base branch per worktree-per-agent, the repository's own
instructions read first, tests with every change, the repository's gate, one local Conventional
Commit — so retype none of it. Name the files it may touch and those it must leave alone.Closes #N only when a real delivery issue owns the work; a topic-only plan carries its
approved plan reference instead. Honor repositories that require an issue before implementation.gh pr create, based on the default
branch, never pushing to that branch directly. Body: a few bullets on what and why, the
delivery issue trailer when applicable, and the generated-with line your tool supplies..coderabbit.yaml, greptile.json, or past bot
reviews. A pass is done only when its status on the head commit completes (CodeRabbit:
success: Review completed), not on a thread reply's empty review. If it reads skipped or no
review starts, request one with the bot's command, such as @coderabbitai review. Wait up to
fifteen minutes; say so if none arrives. Each unresolved bot thread in GraphQL reviewThreads is
a finding: fix, gate and push, or reply why not, then resolveReviewThread. After a fix, ask for
one more review and wait again, two rounds at most. A human's thread is never yours to resolve.Report the outcome and PR URL, then at most five bullets for reviews, decisions or unfinished work. Give the gate result in one line, and any failing output in full.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
7 commands in this plugin
/close-outClose outClose a finished session: sweep for unfinished work, ask once, land, file the follow-ups, hand off, tell the sessions that depend on this one, then archive./handoffWrite the repository handoff file for the next session, and record any durable learning./landMerge an approved pull request, clean up its worktree and branch, then check whether a release is due.npx claudepluginhub jakeselby/model-citizen --plugin model-citizenOther plugins' commands for the same job