一键导入
ship
Commit, push, create PR, then after approval check CI and merge. Use when work is done and ready to ship.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Commit, push, create PR, then after approval check CI and merge. Use when work is done and ready to ship.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Open the Claude Session Dashboard in the browser. Starts it first if not already running. Checks for and installs updates before starting.
Analyze ~/.claude session files to find unused agent skills and reduce context token waste. Scans subagent JSONL files for injected skills and cross-references with agent responses.
Full SDLC pipeline: design → plan → implement → review → test → ship. Use this skill when the user wants to BUILD A NEW FEATURE that spans multiple files across scanner, server functions, and UI layers — anything requiring architecture design, an implementation plan, and coordinated changes across a vertical slice. Trigger on: /feature command, 'build/implement/add [feature]' requests involving new server functions + UI components, multi-step feature work needing TDD and code review. Do NOT trigger for: bug fixes, refactors, small UI tweaks, single-file changes, CI fixes, test runs, or PR reviews.
Investigate and fix the latest failing CI workflow
Fix a GitHub issue end-to-end
Investigate a URL or page using Playwright browser
| name | ship |
| description | Commit, push, create PR, then after approval check CI and merge. Use when work is done and ready to ship. |
| user-invocable | true |
Finalize the current feature branch: commit, push, create a PR, wait for approval, check CI, and merge.
Run git branch --show-current and confirm you are NOT on main or master. If you are, STOP and tell the user to check out a feature branch first.
git branch --show-current
If the branch is main or master, abort with:
"You are on
main. Please check out a feature branch before shipping."
Run git status and git diff --stat to see what needs to be committed.
git status
git diff --stat
git diff (staged + unstaged) to understand all changes.git log --oneline -5 to match the repo's commit message style.git add -A). Do NOT stage files that look like secrets (.env, credentials).git commit -m "$(cat <<'EOF'
feat: <description>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
EOF
)"
Push the branch to origin. Use -u if this is the first push.
git push -u origin $(git branch --show-current)
Check if a PR already exists for this branch:
gh pr view --json number,title,url 2>&1
git log --oneline main..HEAD to understand all commits on this branch.git diff main...HEAD --stat for a change summary.gh pr create --title "<short title>" --body "$(cat <<'EOF'
## Summary
<bullet points summarizing changes>
## Test plan
<checklist of testing steps>
Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
Tell the user:
"PR is ready for review: . Let me know when it's approved and I'll check CI and merge."
STOP HERE. Do NOT proceed until the user explicitly says to merge or confirms approval.
After user confirmation, check the CI status:
gh pr checks $(gh pr view --json number -q .number)
/fix-ci.Merge the PR using squash merge:
gh pr merge --squash --delete-branch
After successful merge, clean up any associated worktree:
BRANCH=$(gh pr view --json headRefName -q .headRefName 2>/dev/null || echo "")
if [ -n "$BRANCH" ]; then
git worktree list | grep "$BRANCH" | awk '{print $1}' | while read wt; do
[ -n "$wt" ] && git worktree remove "$wt" --force 2>/dev/null || true
done
fi
git worktree prune
Report success:
"PR merged and branch cleaned up."
.env, credentials, or secretsmain directly