Opens the PR for the current branch: merge the base, push once, body with ticket, AC evidence and the plan's verification receipt, ticket to In Review. Triggers: "/we:pr", "open the PR".
Install
npx skillscat add weside-ai/claude-code-plugin/pr Install via the SkillsCat registry.
SKILL.md
/we:pr
For a branch built outside /we:orchestrate; orchestrate § Push, PR, CI does the same inside a run.
- Run the repo's static gates and the affected tests by name first, unless this session already ran them green on
the current HEAD; red → stop and report. git fetch && git merge origin/<base>(never rebase: that needs a force-push, the user's call).
A conflict goes to the user. Thengit push -u origin <branch>once.- Body in a file, passed as
--body-file(a--body "$(…)"cannot be read by the verification
hook): summary, the ticket key on its own line, AC → evidence, and a## Verificationblock. A plan
with that block: splice it withpython3 ${CLAUDE_PLUGIN_ROOT}/scripts/pr-body-receipt.py <KEY> <body-in> <body-out>.
No ticket, no plan or no block: write it yourself,**Oracle:**cli | ui | substitute with what you
drove and saw, ornot-observed — <reason>when nothing beyond tests was observed. A hook refusal for
a wrong flag or an unreadable file is fixed once; a second refusal is reported verbatim.
One lineTests: +N / -M (net ±K)frompython3 ${CLAUDE_PLUGIN_ROOT}/scripts/test-delta.py origin/<base>
(what it counts and skips: its docstring). A refactor (branchrefactor/…, a Conventional Commit of typerefactor, or a plan that says so) with a positive net appends— <reason>. Visibility only, it blocks nothing. gh pr create --title "<KEY>: <summary>" --body-file <file>. Ticket: link the PR, move it to In
Review and read the status back (${CLAUDE_PLUGIN_ROOT}/references/ticketing.md); never to Done.- Report the URL. CI and review findings →
/we:ci-review <PR>, which arms auto-merge once green (orchestrate § Close the run).