| name | ship |
| description | Ship changes — run precommit checks, commit, and optionally push. Use when the user says /ship or wants to commit and push their work. |
Ship
Run quality checks, commit, and optionally push.
Steps
-
Branch check — Run git branch --show-current. If on main or master, create a feature branch (git checkout -b <descriptive-name>) before proceeding.
-
Precommit — Run the /precommit checks (lint, format, tests). If any fail, stop and report.
-
Review changes — Run git diff --stat and git status to show what will be committed.
-
Stage — Stage relevant files. NEVER stage .env, credentials, or secrets. Use specific file paths, not git add -A.
-
Commit — Create a commit with a conventional commit message:
feat: for new features
fix: for bug fixes
refactor: for refactoring
docs: for documentation
test: for test changes
chore: for maintenance
-
Push + PR — Push and open a PR against main with gh pr create. Never force push.
-
Watch checks — Run gh pr checks --watch --fail-fast and report pass or fail when complete.