# Ship

> Commit, push, and create a PR for the current feature branch

- Skill: `majiayu000/ship-11` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/ship-11`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/ship-11/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/ship-11

---


Ship the current feature branch: commit all changes, push, and open a PR.

Steps:

1. Run `git status` (no -uall flag), `git diff` (staged + unstaged), and
   `git log --oneline -5` to understand the current state.
2. Stage all relevant changed/new files (prefer naming files explicitly over
   `git add -A`). Do NOT stage files that likely contain secrets.
3. Write a concise commit message (1-2 sentences) focusing on the "why".
   End the message with:
   ```
   Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
   ```
   Use a HEREDOC to pass the commit message.
4. Push the branch to the remote with `-u`.
5. Create a PR with `gh pr create`. The PR body must include:
   - `## Summary` (1-3 bullet points)
   - `## Test plan` (bulleted checklist)
   - Footer: `Generated with [Claude Code](https://claude.com/claude-code)`
   Use a HEREDOC for the body.
6. Print the PR URL when done.

If $ARGUMENTS is provided, use it as additional context for the commit message.

