From core-skills
Pre-ship gate before commit or push — runs lint, typecheck, tests, build, secret scan, and git diff review, then outputs a READY/BLOCKED verdict with a proposed commit message. Never commits without explicit user confirmation. Triggers on "ship check", "ready to commit", "pre-push check", "commit and push", "ship this", "can I push".
How this skill is triggered — by the user, by Claude, or both
Slash command
/core-skills:ship-checkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run automated checks + human-readable diff review before any commit or push.
Run automated checks + human-readable diff review before any commit or push. Never commit or push unless the user explicitly confirms after seeing the report.
Works with any coding agent with shell access.
Supporting files:
Scripts: read scripts/ship-check.sh before running. It executes project lint/test/build
commands — review what it will run in this repo. Double-check every time.
Output: {SKILL_OUTPUT_DIR}/ship-check/ — see ../OUTPUT.md
Infer or ask:
| Setting | Default |
|---|---|
| Skip build | no — unless user says "skip build" |
| Skip tests | no — unless user says "skip tests" or "quick check" |
| Commit after | only if user confirms after report |
| Push after | only if user explicitly asks after commit succeeds |
Run in parallel where possible:
git status
git diff
git diff --cached
git branch --show-current
git log -3 --oneline
Then run automated checks:
bash scripts/ship-check.sh
# Optional: SHIP_CHECK_STRICT=1 bash scripts/ship-check.sh
# Flags: --skip-build --skip-tests
If scripts/ship-check.sh is not in cwd, locate it from the skill folder or run
equivalent checks manually per checklist.md.
Review script output: lines prefixed PASS|, WARN|, FAIL|, DIFF_STAT|, SUMMARY|.
Read checklist.md. Manually inspect the diff for:
.env filesAssign verdict:
| Verdict | When |
|---|---|
| BLOCKED | Any `FAIL |
| READY WITH WARNINGS | Warnings only, or user waived a check |
| READY | All checks pass, diff looks intentional |
Analyze the full diff. Match the repo's existing commit style (git log -5).
Use conventional commits unless the repo uses something else. Focus on why, not just what.
Fill report-template.md.
Path: {output_dir}/ship-check-YYYY-MM-DD-HHMM.md
Update {output_dir}/index.md:
# Ship Checks
| When | Branch | Verdict | Report |
|------|--------|---------|--------|
Append newest first.
If BLOCKED, list fixes needed. Do not commit.
ship check
ready to commit?
pre-push check
commit and push ← runs gate first; commit/push only after confirmation
quick ship check — skip tests
ship this branch
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub hiteshbandhu/skills-i-use --plugin core-skills