Ship it
One-shot "ship" of a completed change: verify the appropriate tests and project checks, capture visual proof when the change is UI-facing, commit, push, open a review request, and attach evidence when supported. Use when the user says "ship it", "ship this", "/ship-it", or asks for the whole verify → commit → push → review-request flow in one go.From its SKILL.md
npx -y skills add zyzo/skills --skill ship-itAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.4 KB, as published. Nobody here has run it
Ship It
End-to-end shipping for a completed change. Chain the repository's existing checks and helper skills in the right order so the working tree becomes a review-ready branch with verification evidence.
This is glue — it does not reimplement project-specific sub-skills. Prefer existing local skills, scripts, and documented commands; otherwise infer the least surprising workflow from the repository.
When to use
- The user finished a change and wants it shipped: tests/checks pass, visual evidence is captured when relevant, the change is committed, pushed, and a review request is opened without driving each step.
- Reach for the individual skills instead when the user wants just one step (only a screenshot, only a commit, etc.).
Repository detection
Before acting, identify the repository's conventions:
- Base branch: use
git remote show originor existing branch names; fall back tomain, thenmaster. - Package manager/checks: inspect scripts in
package.json,pyproject.toml,Cargo.toml,go.mod,Makefile, CI config, or repo docs. - Review target: prefer the repository's configured host and CLI (
ghfor GitHub PRs,glabfor GitLab MRs). If no CLI/auth is available, push and give the user the compare URL or exact command. - Visual workflow: only require stories, screenshots, or browser captures when the touched files or project conventions show the change is UI-facing.
Order matters
If evidence must be attached to the review request, capture it before opening the request, then upload or append it after the request exists:
- Resolve repo conventions and changed-file scope.
- Run focused tests/checks, adding missing expected coverage when appropriate.
- Capture visual proof for UI-facing changes and verify it renders correctly.
- Strip redundant comments on the diff when that skill is available.
- Commit, push, and open the review request.
- Attach evidence to the review request when supported.
Steps
1. Scope + coverage gate
Find changed files against the base branch:
BASE_REF="${BASE_REF:-$(git remote show origin 2>/dev/null | sed -n '/HEAD branch/s/.*: //p')}"
BASE_REF="${BASE_REF:-main}"
git diff --name-only "$BASE_REF"...HEAD
For changed user-facing components, follow the repository's existing coverage pattern. If neighboring components have stories, examples, previews, snapshots, or focused tests, make sure the touched component has the same expected coverage. Do not impose Storybook, Vitest, or a specific file layout unless the repo already uses them.
Run focused tests first, then the smallest standard repo-level validation that would catch regressions for this change. Prefer existing scripts such as:
npm test
yarn test
pnpm test
make test
cargo test
go test ./...
pytest
All tests must pass before continuing.
2. Capture visual evidence when relevant
If this session already captured current evidence (screenshot, recording, test report, generated artifact), reuse it rather than redriving the app.
Only capture fresh visual evidence when the change is UI-facing or user-visible. Use the repo's existing preview path first: Storybook, dev server, static HTML, native app simulator, screenshots script, or browser automation. Keep captures tight and verify the file visually before continuing.
If the UI normally runs inside a host app or native bridge, prefer the repository's existing browser mock or shim before skipping local verification. If browser dev is already an established repo workflow and the only blocker is a thin host-only navigation or bridge dependency, add the smallest local fallback needed to exercise the target flow, then verify against that.
# Example only; prefer the repo's existing command.
node scripts/screenshot.mjs --out /tmp/ship-it.png
For non-visual changes, skip screenshots and keep command output or test results as the verification evidence.
3. Strip redundant comments
Before committing, run the /remove-redundant-comments skill on this branch's
diff (its default scope). It removes comments that restate what the code already
says while keeping non-obvious WHY comments. Apply its edits, then continue.
4. Commit, push, and open review
Use the repository's preferred commit/push helper if one exists. Otherwise:
- Review the diff and stage only intended files.
- Run format/lint/typecheck/codegen commands when the repo defines them.
- Commit with a concise message that explains the user-facing or technical intent.
- Push to a feature branch, never directly to the protected base branch.
- Open a review request with the available host CLI:
- GitHub:
gh pr create - GitLab:
glab mr create
- GitHub:
If no host CLI is authenticated, push the branch and report the compare URL or the exact command the user can run.
If a review request for the branch already exists and is still open, update that request rather than creating a duplicate. If only closed requests exist for the same branch name, do not assume they will follow the new push; create a new review request instead.
5. Attach evidence
After the review request exists, attach or link any captured evidence using the repo's supported workflow: review description, PR/MR comment, uploaded artifact, or issue tracker attachment. If upload tooling is unavailable, include the local path and summarize what was verified.
After a force-push or rebase, verify the remote branch ref first, then re-query the review request's head SHA and mergeability before reporting conflict status. Hosted forge APIs can lag briefly behind the pushed branch, so wait a short interval and retry once before concluding the request is still conflicted.
6. Report
Give the user the review URL, the verification commands that passed, and any evidence attached or available locally.
Notes
- Never push directly to the detected base/protected branch.
- If validation fails and cannot be fixed safely, stop and surface the failure rather than shipping a red change.
- Skip visual evidence for non-visual changes; tests/checks and review creation still apply.