بنقرة واحدة
ship
Ship it. Pre-flight validation, CI check, and PR creation. Run after /review.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Ship it. Pre-flight validation, CI check, and PR creation. Run after /review.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Review before merge. Stage-1 spec-compliance gate, then 11 Stage-2 canonical axes (analyst, architect, qa, security, devops, roadmap, reliability, observability, agent-safety, decision-rigor, code-quality) plus 3 chained skills (code-qualities-assessment, golden-principles, taste-lints). Run after /test. Run for a full pre-merge review. Do NOT invoke code-qualities-assessment, golden-principles, or taste-lints directly for a full review; review chains them.
Build incrementally. Implement changes in thin vertical slices with TDD and atomic commits. Run after /plan.
Plan how to build it. Decompose specs into milestones with dependencies and risk mitigations. Run after /spec.
Define what to build. Transform a problem into testable requirements with acceptance criteria.
Detect Spec to Code drift. Scan REQ/DESIGN/TASK specs for references to code that no longer exists, then report drift for review. Run after a hand-edit that moved or deleted code.
Prove it works. Multi-dimensional quality validation across functional, non-functional, security, DevOps, DX, and observability. Run after /build.
| name | ship |
| description | Ship it. Pre-flight validation, CI check, and PR creation. Run after /review. |
| argument-hint | target-branch |
| allowed-tools | Task, Skill, Read, Glob, Grep, Bash(*) |
| user-invocable | true |
@CLAUDE.md
Ship: $ARGUMENTS
Default target is main unless specified. If $ARGUMENTS names a different branch, use that as the target.
Task(subagent_type="devops"): You are a release engineer. Run all 4 pre-flight checks below. Report pass/fail for each with specific evidence. Any failure blocks shipping.
Pipeline health - Invoke Skill(skill="pipeline-validator"). All CI checks green? No suppressed failures?
Security posture - Invoke Skill(skill="security-scan"). No new CWE findings? No secrets in diff?
Reviewed on this SHA - The shipped code must carry a SHA-bound /review PASS marker (Issue #1938). First confirm git status --porcelain is empty. If any file is staged or modified, this check FAILS: commit the change, re-run /review, then re-run /ship. /push-pr must only push the existing marker commit; it must not create a new commit after this check passes. Then run the review-skill validator:
CLAUDE_SKILL_DIR is set: python3 "$CLAUDE_SKILL_DIR/../review/scripts/validate_review_marker.py" --ref HEAD --repo-root "$(pwd)"COPILOT_PLUGIN_ROOT is set: python3 "$COPILOT_PLUGIN_ROOT/skills/review/scripts/validate_review_marker.py" --ref HEAD --repo-root "$(pwd)"CLAUDE_PLUGIN_ROOT is set: python3 "$CLAUDE_PLUGIN_ROOT/skills/review/scripts/validate_review_marker.py" --ref HEAD --repo-root "$(pwd)"python3 .claude/skills/review/scripts/validate_review_marker.py --ref HEAD --repo-root "$(pwd)"python3 skills/review/scripts/validate_review_marker.py --ref HEAD --repo-root "$(pwd)"The validator exits 0 only when HEAD is a /review marker commit whose Reviewed-By: /review@<axes> on <sha> trailer binds the reviewed tip (its parent). Exit 1 means no marker, a stale marker, or new code landed after review; exit 2 is a config error. On any non-zero exit, this check FAILS: run /review on this branch (it writes the marker on a PASS verdict), then re-run /ship. This replaces the old "has /review been run somewhere?" check with proof it passed on the exact code being shipped. Because /review is the strict superset of CI (Child 1 #1934), a passing marker covers golden-principles, taste-lints, and code-quality too; there is no separate standards check.
Tests passing - All tests green? No skipped tests without justification?
golden-principles+taste-lints+code-qualityare now part of/review(Child 1 #1934), so/shipdoes not invoke them separately./pr-quality:allis likewise no longer a required separate step before/ship: a passing/reviewmarker (check 3) already runs the same canonical axes locally, and CI runs the same prompts as a backstop.
Ship report:
PRE-FLIGHT:
Pipeline: PASS|FAIL (evidence)
Security: PASS|FAIL (evidence)
Reviewed: PASS|FAIL (SHA-bound /review marker on HEAD; evidence)
Tests: PASS|FAIL (evidence)
RESULT: SHIPPED|BLOCKED
PR: [link if created]
WARNINGS: [non-blocking concerns]
NEXT: [monitoring, follow-up items]