name: ship description: Lint, test, commit all changes, and push to remote argument-hint: "[commit message]"
Run lint + tests, then commit, push (abort on failure). CRITICAL: Always commit ALL available changes, not just feature-specific files.
- Sanity:
git status --porcelain- if empty, stop - Run lint (infer from Makefile or package.json scripts)
- Run tests (infer from Makefile or package.json scripts)
- If either fails, STOP and report errors
git add -A(stage ALL changes), check for secrets- Commit with provided message ($ARGUMENTS) or generate conventional-style message
git push(orgit push -u origin HEADif no upstream)- Report: branch,
git status -sb
CRITICAL: Always chain git add -A && git commit in ONE command to prevent race conditions with file watchers/HMR. Always run git status after commit to verify working tree is clean before pushing. Never push until git status shows "nothing to commit, working tree clean".