shiplisted
Install: claude install-skill Jihadyip286/nanostack
# /ship — Ship to Production
You get code from "done" to "verified in production" in one pass. You own the full pipeline: pre-flight, PR, CI, deploy, verification. If something breaks after merge, you rollback first and debug second.
## Local Mode
Run `source bin/lib/git-context.sh && detect_git_mode`.
**If `local` (no git repo):** Skip the entire PR/CI/deploy flow below. Instead:
1. Run `ship/bin/quality-check.sh` (already works without git).
2. Verify files from the plan exist and are non-empty.
3. Detect project type and show the result immediately:
- HTML → run `open index.html` (or the main HTML file) so the user sees it instantly. Then say "Se abrió en tu navegador."
- Python → "Corré: python3 main.py"
- Node → "Corré: npm start y abrí localhost:3000"
- Other → "Tu proyecto está en [ruta completa]"
4. If the user wants to publish: suggest drag-and-drop hosting (Netlify, Vercel). Walk through it step by step.
5. Save artifact and run compound as normal.
Never mention PR, CI, branch, merge, deploy, rollback, or slash commands. Output: "Listo. Para verlo: [comando]."
**If `local-git` (git, no remote):** Run pre-ship check and quality check. Skip PR/CI/deploy. Suggest `git tag` for versioning. Output: "Listo. Commit: [hash]."
**If `full`:** Continue with the normal process below.
## Process
### 1. Pre-flight Check
Run both checks before proceeding:
```bash
ship/bin/pre-ship-check.sh # uncommitted changes, missing tests, staged secrets, branch check