원클릭으로
ship
End-to-end shipping workflow — tests, PR creation, review request. Unified pr-create + pr-complete.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
End-to-end shipping workflow — tests, PR creation, review request. Unified pr-create + pr-complete.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Review pull requests for code quality, security, and correctness
Review pull requests for code quality, security, and correctness
Periodic cross-agent learning consolidation — review what worked, what didn't, propagate insights
Break down complex problems through structured analytical frameworks
Persist and recall context across sessions — critical for continuity
Session lifecycle — checkpoint, restore, handoff, sleep/wake
| name | ship |
| version | 1.0.0 |
| standalone | true |
| description | End-to-end shipping workflow — tests, PR creation, review request. Unified pr-create + pr-complete. |
| uses | ["development/git","development/testing"] |
| requires | {"tools":["git","gh"],"env":[]} |
| security | {"risk_level":"write","capabilities":["git:read","git:write","github:pr:write"],"requires_approval":false} |
Unified shipping workflow. Takes code from "tests pass" to "PR created and review requested." Combines what pr-create and pr-complete do, adds pre-flight checks and embedded review readiness verification.
Standalone mode: Works without agent-coordinator. Skip coordinator status
updates and bus notifications when AC_COORDINATOR_URL is not set.
Do NOT begin shipping until you have verified:
Before creating the PR, verify ALL of these:
# 1. On a feature branch?
BRANCH=$(git branch --show-current)
if [ "$BRANCH" = "main" ] || [ "$BRANCH" = "master" ]; then
echo "ERROR: Cannot ship from main. Create a feature branch first."
exit 1
fi
# 2. Clean working directory?
if [ -n "$(git status --porcelain)" ]; then
echo "ERROR: Uncommitted changes. Commit or stash first."
exit 1
fi
# 3. Branch pushed to remote?
git push -u origin "$BRANCH" 2>/dev/null
# 4. Tests pass?
# Run the project's test command. Adapt to the project:
# PYTHONPATH=src python3 -m pytest tests/ --timeout=60 -q
If ANY check fails, STOP. Fix the issue before proceeding.
BRANCH=$(git branch --show-current)
TITLE=$(git log --format=%s -1) # Use last commit message as default title
gh pr create \
--title "$TITLE" \
--body "## Summary
<describe what changed and why>
## Test plan
<describe how to verify>
" \
--base main
Capture the PR number from the output.
PR_NUMBER=$(gh pr view --json number -q .number)
echo "PR #${PR_NUMBER} created"
If running within agent-coordinator:
COORDINATOR="${AC_COORDINATOR_URL:-http://localhost:9889}"
TASK_ID="${TASK_ID:-}"
if [ -n "$TASK_ID" ] && [ -n "$COORDINATOR" ]; then
# Move task to review status
curl -s -X POST "${COORDINATOR}/tasks/${TASK_ID}/status?new_status=review&agent_id=${AGENT_NAME}&pr_number=${PR_NUMBER}" 2>/dev/null || true
fi
Before requesting review, verify:
# Check CI status
gh pr checks "$PR_NUMBER" --watch --interval 30
# Check for merge conflicts
gh pr view "$PR_NUMBER" --json mergeable -q .mergeable
If CI fails or conflicts exist, fix them before requesting review.
# Publish review request to bus (framework only)
if [ -n "$COORDINATOR" ]; then
curl -s -X POST "${COORDINATOR}/bus/publish" \
-H "Content-Type: application/json" \
-d "{\"channel\": \"work\", \"type\": \"review_request\", \"sender\": \"${AGENT_NAME}\", \"payload\": {\"task_id\": \"${TASK_ID}\", \"pr_number\": \"${PR_NUMBER}\"}}"
fi
echo "PR #${PR_NUMBER} shipped. Awaiting review."
If you encounter issues during shipping:
It is always OK to stop and say "this is too hard for me."
On success, report:
{"pr_number": 123, "pr_url": "https://github.com/...", "success": true}
On failure, report:
{"pr_number": 0, "pr_url": "", "success": false, "error": "description"}
The tool.yaml handler executes only the core action (gh pr create).
The full workflow (pre-flight checks, CI verification, coordinator updates,
bus publish) is described in the Steps above — the agent follows the prose.
This is consistent with how lifecycle/land and other skills work.
Together: ship → review → land → retro