skills/mine.ship/SKILL.md
Use when the user says: "ship it" or "commit push and PR". Commits, pushes, and creates a PR in one step.
npx skillsauth add NodeJSmith/Claudefiles mine.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.
git statusgit diff HEADgit branch --show-currentgit-default-branchgit remote get-url origin 2>/dev/nullShip the current changes: commit, push, and open a PR. Follow each phase in order.
Follow all steps in mine.commit-push exactly (read ${CLAUDE_HOME:-~/.claude}/skills/mine.commit-push/SKILL.md and execute its full workflow — commit quality gates included). When that phase completes successfully — changes committed and pushed — continue to Phase 2 below.
After Phase 1 completes (changes committed and pushed), check for a prior clean-code run:
find /tmp -maxdepth 2 -name 'clean-code-summary.md' -path '*/claude-mine-orchestrate-*' 2>/dev/null | xargs -r ls -t 2>/dev/null | head -5
git rev-parse --short HEAD). If any match, skip this phase with a note: "Stylistic review already completed."/mine.clean-code on the branch diff. Note: prior-run detection only applies when mine.orchestrate ran mine.clean-code. Manual mine.clean-code runs are not detected.When mine.clean-code presents its own next-steps prompt ("What would you like to do with these findings?"), choose "Note and move on" — this phase handles the fix/skip/stop decision.
If mine.clean-code produces findings, present:
AskUserQuestion:
question: "Stylistic review found findings. What next?"
header: "Clean code"
multiSelect: false
options:
- label: "Address findings"
description: "Apply fixes top-to-bottom, then proceed to PR creation"
- label: "Ship anyway"
description: "Proceed to PR creation with findings noted"
- label: "Stop here"
description: "Pause; I'll address findings manually"
refactor: address clean-code findings), and push before proceeding to Phase 2 — mine.create-pr verifies the branch is fully pushedIf mine.clean-code produces no findings, proceed to Phase 2 automatically.
If any checker subagent fails to complete, skip that checker's findings and note "unavailable" in the gate question — do not block PR creation for checker failures.
Follow all steps in mine.create-pr exactly (read ${CLAUDE_HOME:-~/.claude}/skills/mine.create-pr/SKILL.md and execute its full workflow — platform detection, draft PR, CHANGELOG PR-number update, ready transition). Phase 1 already committed and pushed (so create-pr's push check passes) and already archived task files (so its archival step finds nothing and skips silently). Return the PR URL it produces.
development
Use when the user says: "humanize this", "unslop this", "de-slop this", "fix AI writing", "remove AI tells", "clean up AI prose". Edits prose to remove AI writing patterns and add human voice. Analyzes first, then asks how to fix. Prose complement to mine.clean-code.
development
Use when the user says: "why is this code like this", "why does this exist", "why was this built this way", "decision rationale", "what's the history behind". Decision archaeology — reconstructs historical rationale from evidence, not speculation.
development
Use when the user says: "how does X work", "walk me through", "explain this subsystem", "explain how", "trace the flow". Complexity-adaptive subsystem explanation — builds mental models conversationally, not documentation artifacts.
development
Use when the user says: 'create an issue', 'file an issue', 'open an issue', 'write an issue', 'new issue for this'. Codebase-aware issue creation — investigates the code to produce well-structured issues with acceptance criteria, affected areas, and enough detail for automated triage.