From go-workflow
Ships Go PRs end-to-end: verifies build/tests/lint, pushes feature branch, creates/finds GitHub PR, watches CI checks, optionally merges via gh CLI.
How this skill is triggered — by the user, by Claude, or both
Slash command
/go-workflow:shipThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Ship a PR: verify build/tests/lint, push, create PR, watch CI, and merge.
Ship a PR: verify build/tests/lint, push, create PR, watch CI, and merge.
$ship [--no-merge]
Options:
--no-merge: Skip the merge step (just push and watch CI)gh) installed and authenticatedmain/master)All must pass before pushing:
go build ./...
go test ./...
golangci-lint run # if available
If any step fails, fix the issue and re-run before continuing.
CURRENT_BRANCH=$(git branch --show-current)
git push -u origin "$CURRENT_BRANCH"
Check if a PR already exists for this branch:
PR_URL=$(gh pr view --json url --jq '.url' 2>/dev/null)
If no PR exists, create one using the $create-pr workflow (or directly with gh pr create).
Monitor CI checks until they all pass:
gh pr checks --watch
If "no checks reported", wait 10 seconds and retry up to 3 times:
for i in 1 2 3; do sleep 10 && gh pr checks --watch && break; done
If checks fail:
gh pr checks --json name,state,descriptiongh pr checks --watch--no-merge)Before merging, verify:
gh pr merge --auto --squash
If merge is blocked by required reviews, inform the user and stop.
Display the final PR URL and merge status.
--no-merge was specified)npx claudepluginhub gopherguides/gopher-ai --plugin go-workflowAutomates code shipping: merges base branch, runs detected tests, performs multi-review with auto-fixes, commits, pushes, creates PR. Use /ship or say 'ship it'.
Orchestrates the full shipping workflow: review code via candid-loop, run install/build/tests, create a GitHub PR, optionally update an issue tracker and auto-merge. Aborts on any failure before PR creation.
Verifies and publishes changes—pushes, opens PRs, watches CI until green. Runs typecheck, build, test, lint, a web quality gate, review, and a bisectable commit pipeline.