pr-workflowlisted
Install: claude install-skill schmug/shipofclaudius
# PR Workflow
## Overview
Structured workflow for creating PRs that verifies local tests, CI status, and (where the project has one) the deployment, then merges through the repo's mechanical gate.
## When to Use
- Finishing a feature branch
- Creating a pull request
- User says "create a PR", "ship it", "merge this"
## Workflow
```dot
digraph pr_workflow {
rankdir=TB;
node [shape=box];
start [label="Ready to create PR" shape=ellipse];
local [label="1. Run local verification\n(tests + typecheck + build,\ne.g. pnpm test && pnpm check && pnpm build)"];
pass [label="All pass?" shape=diamond];
fix [label="Fix issues first"];
push [label="2. Push branch\ngit push -u origin HEAD"];
ci [label="3. Verify GitHub CI\ngh pr checks (if PR exists)\ngh run list --branch (if not)"];
ci_pass [label="CI green?" shape=diamond];
wait [label="Wait for CI / fix failures"];
cf [label="4. Check deployment\n(if the project deploys,\ne.g. via a Cloudflare MCP)"];
cf_pass [label="Deployment OK?" shape=diamond];
cf_fix [label="Check deploy logs/\nobservability for errors"];
issues [label="5. Link related issues\nFind with: gh issue list"];
gate [label="6. Gate check\nDefault branch has server-side\nruleset/protection with\nrequired CI checks?" shape=diamond];
risky [label="Risky category?\n(schema/auth/payment/\nbreaking/large refactor)" shape=diamond];
merge [label="Merge it yourself\ngh pr merge --squash (green)\ngh pr merge --