skills/ship/SKILL.md
Ship workflow. Checklist, dry-run, ship, verify. PR, deploy, or release.
npx skillsauth add arbazkhan971/godmode shipInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
/godmode:ship, "ship it", "deploy", "release"# 1. INVENTORY — What's being shipped?
git log main..HEAD --oneline
git diff main..HEAD --stat
commits = git log main..HEAD --oneline
IF commits is empty:
Print: "Nothing to ship." STOP
ship_type = detect: PR | release | deploy
Print: "{N} commits, {M} files. Type: {ship_type}."
# 2. PRE-SHIP CHECKLIST
{build_cmd}; echo "build:$?"
{lint_cmd}; echo "lint:$?"
{test_cmd}; echo "test:$?"
grep -rn 'API_KEY\|SECRET\|PASSWORD\|TOKEN=' \
$(git diff main..HEAD --name-only) 2>/dev/null
grep -rn '<<<<<<<\|>>>>>>>' \
$(git diff main..HEAD --name-only) 2>/dev/null
FOR each (name, result) in checks:
Print: " [{PASS|FAIL}] {name}"
IF build OR lint OR test FAILED:
delegate to /godmode:fix (max 3 rounds)
Re-run checklist. IF still failing -> STOP.
IF secrets found:
"BLOCKED: secrets in diff." STOP.
IF conflict markers found:
"BLOCKED: merge conflicts." STOP.
IF only TODOs found:
"WARNING: TODOs found. Proceeding."
| Phase | PR | Release | Deploy | |-------|-----|---------|--------| | Target | title + body | version + tag | config | | Ship | git push; gh pr create | git tag; gh release | fly deploy | | Verify | gh pr checks --watch | gh release view | curl health | | Rollback | gh pr close | git tag -d + push | fly rollback |
# 4. DRY-RUN: Print commands + rollback.
# Require user types 'yes' to proceed.
# 5. SHIP: Execute commands. Print URL.
# 6. VERIFY: Check result. On deploy failure:
# execute rollback immediately.
CODE QUALITY: test + lint + build exit 0
SECURITY: no secrets, no .env, no conflict markers
npm audit -> 0 critical/high
READINESS: branch up-to-date, CI green
IF any CODE QUALITY or SECURITY fails: BLOCKED
IF COMPLETENESS fails: WARNING (proceed + ack)
PR MERGE: git revert <sha>. Time: <5min.
RELEASE: git tag -d {tag} && git push :tag. <5min.
DEPLOY: fly releases rollback | kubectl rollout undo
Time: <10min. Verify: health check 200.
IF rollback impossible (destructive migration):
WARN + require explicit user confirmation.
PR: monitor CI 10 minutes
Release: monitor downloads 30 minutes
Deploy: monitor health 15 minutes
CHECK every 60s: health 200, error rate, latency
P0 (health down, errors >10x): IMMEDIATE ROLLBACK
P1 (errors >2x, latency >3x): ROLLBACK in 15min
P2 (new errors, health OK): INVESTIGATE
P3 (cosmetic): DOCUMENT, fix forward
Append to .godmode/ship-results.tsv:
timestamp\tship_type\tcommit_sha\tbranch\toutcome\turl\trollback_cmd
Print: Ship: {type} completed. {outcome}. URL: {url}.
SKILL.md §14. Principles prelude, pre-commit audit, terse/stdio/tokens, DispatchContext validation, Progressive Disclosure routing, discard cost hierarchy all fire by default. Ship logs to .godmode/token-log.tsv per round unless GODMODE_TOKENS=0.KEEP if: post-ship verification passes
DISCARD if: verification fails OR rollback triggered
On discard: execute rollback_cmd immediately.
STOP when FIRST of:
- Ship completed + verification passed
- 3 rounds of fix failed to resolve blockers
- Same check keeps failing after fix attempts
development
Web performance optimization. Lighthouse, bundle analysis, code splitting, image optimization, critical CSS, fonts, service workers, CDN.
development
Webhook design, delivery, retry, HMAC verification, event subscriptions, dead letter queues.
development
Vue.js mastery. Composition API, Pinia, Vue Router, Nuxt SSR/SSG, Vite optimization, testing.
development
Evidence gate. Run command, read full output, confirm or deny claim. No trust, only proof.