skills/ship-safe/SKILL.md
Composite: self-eval -> review -> ship. Use when user says 'ship', 'deploy', 'push', 'merge', or 'create PR'. Ensures quality before shipping.
npx skillsauth add ShaheerKhawaja/ProductionOS ship-safeInstall 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.
Composite skill that enforces quality gates before shipping. Chains self-evaluation, code review, and ship into a gated pipeline where each step must pass before the next begins.
self-eval -> review -> ship
| | |
v v v
EVAL.md REVIEW.md PR created
| |
v v
>= 8.0? No CRITICAL?
(gate) (gate)
| Parameter | Values | Default | Description |
|-----------|--------|---------|-------------|
| branch | branch name | current branch | Branch to ship |
| version_bump | patch, minor, major, auto | auto | Version increment |
Invokes: /self-eval diff
What it does:
Produces: .productionos/SHIP-EVAL.md
Quality Gate:
| Score | Action | |-------|--------| | >= 8.0 | PASS. Proceed to Step 2. | | 6.0 - 7.9 | SELF-HEAL. Run up to 3 remediation loops targeting lowest-scoring dimensions. Re-evaluate after each loop. If still < 8.0 after 3 loops, BLOCK. | | < 6.0 | BLOCK. Do not proceed. Report the failing dimensions and specific issues. |
When blocked:
STATUS: BLOCKED
REASON: Self-eval score {X}/10 below shipping threshold (8.0)
FAILING DIMENSIONS:
- {dimension}: {score}/10 -- {specific issue}
RECOMMENDATION: Fix the listed issues, then re-run /ship-safe
Invokes: /review
What it does:
Produces: .productionos/SHIP-REVIEW.md
Quality Gate:
| Finding | Action | |---------|--------| | CRITICAL issues found | BLOCK. Do not ship. Report CRITICAL issues with file:line evidence. | | HIGH issues found | WARN. Print warning, proceed with user acknowledgment prompt. | | MEDIUM/LOW only | PASS. Proceed to Step 3. | | No issues | PASS. Proceed to Step 3. |
When blocked:
STATUS: BLOCKED
REASON: Code review found {N} CRITICAL issues
CRITICAL ISSUES:
1. {file}:{line} -- {description}
RECOMMENDATION: Fix CRITICAL issues before shipping
Invokes: /ship
What it does:
Produces: PR URL + .productionos/SHIP-RESULT.md
Pre-ship checklist (automated):
Final composite report written to .productionos/SHIP-SAFE.md:
# Ship-Safe Report
## Result: SHIPPED | BLOCKED
- **Self-Eval Score:** X/10 (PASS/FAIL)
- **Review:** X issues (Y critical, Z high)
- **Ship Status:** PR #{number} created | BLOCKED at step {N}
## Gate Results
| Gate | Score/Result | Status |
|------|-------------|--------|
| Self-Eval | X/10 | PASS/FAIL |
| Code Review | N issues | PASS/WARN/FAIL |
| Tests | X passed | PASS/FAIL |
| Ship | PR #{N} | DONE/BLOCKED |
## Issues (if any)
{list of issues that blocked or warned}
## PR Details (if shipped)
- **URL:** {pr_url}
- **Branch:** {branch} -> {base}
- **Version:** {old} -> {new}
Ship completed: {timestamp}
/review directly/self-eval directlytools
Implementation planning workflow that turns approved ideas into dependency-aware execution plans.
development
Local RAG and Graph RAG over the SecondBrain wiki vault. Progressive context loading (hot cache -> index -> domain -> entity). Graph traversal via wikilink resolution. Use when agents need cross-project context, when answering questions that span multiple domains, or when building context for planning tasks. Triggers on: "wiki context", "cross-project context", "what do we know about", "check the wiki", "graph context", "/wiki-rag".
devops
UX improvement pipeline — creates user stories from UI guidelines, maps user journeys, identifies friction, dispatches fix agents. The user-experience equivalent of /production-upgrade.
development
Test-driven development workflow that writes failing tests first, implements minimally, and refactors safely.