ship
Skill1 starsChanged 4 months agoMITView on GitHub
Commit, push, and create a PR in one step. Use when the user says 'ship', 'ship it', '/ship', '提交PR', '发PR', or wants to commit + push + create a pull request in a single action.
- Installs packages
- Commits and pushes
194 other projects use a version of this.
Adopted by
Most recently taken up by
- wboayue/rust-ibapitheir own version, first seen Nov 9, 2026
- haiggoh/run-to-completiontheir own version, first seen Nov 8, 2026
- sanmidable/skillstheir own version, first seen Nov 8, 2026
- Yesterday-AI/ytstacktheir own version, first seen Nov 8, 2026
- gaoyu06/harnesstheir own version, first seen Nov 8, 2026
- PeanutGT/NutsSkillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use ios-sync, open-gstack-browser and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Saqlain-811Skillios-sync
Regenerate the iOS debug bridge against the latest upstream gstack templates. (gstack)
Also in 6 projects that use this
seek888Skillopen-gstack-browser
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".
Also in 10 projects that use this
ayudaySkillsetup-deploy
Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".
Also in 19 projects that use this
ShreyRaviSkilllanding-report
Read-only queue dashboard for workspace-aware ship. Shows which VERSION slots are currently claimed by open PRs, which sibling Conductor workspaces have WIP work likely to ship soon, and what slot /ship would pick next. No mutations — just a snapshot. Use when asked to "landing report", "what's in the queue", "show me open PRs", or "which version do I claim next". (gstack)
Also in 9 projects that use this
zebbernSkilldebug-fix
Find and fix a bug or issue — from any source (GitHub issue, error message, user report, or observed behavior)
Also in 4 projects that use this
ramybarsoumSkilldocument-release
Post-ship documentation update. Reads all project docs, cross-references the diff, updates README/ARCHITECTURE/CONTRIBUTING/CLAUDE.md to match what shipped, polishes CHANGELOG voice, cleans up TODOS, and optionally bumps VERSION. Use when asked to "update the docs", "sync documentation", or "post-ship docs". Proactively suggest after a PR is merged or code is shipped.
Also in 23 projects that use this
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 194
- garrytan/gstack★ 141ksame name
- rtk-ai/rtk★ 86ksame name
- simstudioai/sim★ 30ksame name
- millionco/react-doctor★ 15ksame name
- BuilderIO/agent-native★ 7.6ksame name
- nightly-labs/openbot★ 6.3ksame name
- fallow-rs/fallow★ 5.3ksame name
- puncsky/system-design-and-architecture★ 3.6ksame name
- plugin87/ux-ui-agent-skills★ 3.1ksame name
- ShenSeanChen/waku-agent★ 2ksame name
184 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- code-standardsSkill
- daily-newsSkill
- env-syncSkill
- macos-disk-cleanupSkill
- pr-review-loopSkill
- video-downloaderSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 180 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
If any prerequisite fails, report the error with the fix command and stop.
- Distinctive: line 36
Run the prerequisite checks above.
- Distinctive: line 67
Create and switch to the new branch:
- Distinctive: line 85
Run git diff --cached to understand the changes
- Distinctive: line 99
Add a body paragraph if changes are complex
- Distinctive: line 100
Do NOT ask user for confirmation - auto-generate and proceed
- Distinctive: line 206
Auto-generate everything: - Commit message, branch name, PR title, PR body.
- Very specific: line 209
Respect --draft: - Create as draft PR when requested.
- Distinctive: line 211
Never discard changes: - Do not reset, stash, or drop user's work.
“Common” is measured: kept by at least 6 in 10 of the 180 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ship - Commit, Push & Create PR in One Step
Ship your changes with a single command. Auto-generates commit messages, pushes to remote, and creates a pull request with a detailed description.
When to Use
- User says "ship", "ship it", or "/ship"
- User says "提交PR", "发PR", "提交并创建PR"
- User wants to commit all changes, push, and open a PR in one action
- User wants a draft PR (mentions "draft", "--draft", or "草稿")
Prerequisites
git --version || { echo "ERROR: git not found"; exit 1; }
gh --version || { echo "ERROR: gh CLI not found. Install: brew install gh"; exit 1; }
gh auth status || { echo "ERROR: gh not authenticated. Run: gh auth login"; exit 1; }
git rev-parse --is-inside-work-tree || { echo "ERROR: Not a git repository"; exit 1; }
git remote -v | grep -q origin || { echo "ERROR: No remote 'origin' configured"; exit 1; }If any prerequisite fails, report the error with the fix command and stop.
Instructions for Agent
Step 0: Check Prerequisites
Run the prerequisite checks above. If any fail, inform the user of the specific error and provide the fix command. Do NOT proceed until all pass.
Step 1: Analyze Current State
# Check for changes
git status --short
# Get current branch
git branch --show-current
# Get diff stats for commit message generation
git diff --stat
git diff --cached --stat
# Check recent commit style
git log --oneline -5If no changes exist (git status --short is empty AND no staged changes), inform the user "Nothing to ship - working tree is clean" and stop.
Step 2: Smart Branch Handling
CURRENT_BRANCH=$(git branch --show-current)
DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo "main")If on main/master/default branch:
- Generate a descriptive branch name from the changes:
<type>/<short-slug> - Types:
feat,fix,refactor,docs,chore,style,test - Create and switch to the new branch:
git checkout -b "<type>/<slug>"If already on a feature branch: Continue on the current branch.
If on detached HEAD: Inform user and suggest creating a branch first. Stop.
Step 3: Stage All Changes and Generate Commit Message
git add -AGenerate a commit message by analyzing the staged diff:
- Run
git diff --cachedto understand the changes - Determine the commit type from the changes:
| Changes Pattern | Type |
| New files/features added | feat |
| Bug fix patterns | fix |
| Restructuring without behavior change | refactor |
| Documentation/comments only | docs |
| Test files only | test |
| Config/build files | chore |
| CSS/styling only | style |
- Format:
<type>(<scope>): <description>(subject line < 72 chars) - Add a body paragraph if changes are complex
- Do NOT ask user for confirmation - auto-generate and proceed
Step 4: Commit and Push
# Commit with the generated message (use HEREDOC for multi-line)
git commit -m "$(cat <<'EOF'
<type>(<scope>): <subject>
<optional body>
EOF
)"
# Push with upstream tracking
git push -u origin "$(git branch --show-current)"If push is rejected (non-fast-forward): Inform user and suggest git pull --rebase origin <branch>. Do NOT force push.
Step 5: Create PR
Detect draft mode: If user mentioned "draft", "--draft", or "草稿", add --draft flag.
# Determine base branch
BASE_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo "main")
# Check if PR already exists
EXISTING_PR=$(gh pr list --head "$(git branch --show-current)" --json url --jq '.[0].url' 2>/dev/null)If PR already exists: Inform user and show the existing PR URL. Stop.
Otherwise, create the PR:
gh pr create \
--base "$BASE_BRANCH" \
--title "<PR title>" \
--body "$(cat <<'EOF'
## Summary
<1-3 sentence overview of what this PR does and why>
## Changes
| File | Change |
|------|--------|
| `path/to/file` | Description of change |
| ... | ... |
## Impact Analysis
- **Scope**: <What areas are affected>
- **Risk**: <Low/Medium/High>
- **Breaking changes**: <None or description>
- **Dependencies**: <New deps added, if any>
## Test Plan
- [ ] <Specific test step>
- [ ] Verify no regressions
---
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)" [--draft]PR body generation rules:
- Summary: Synthesize from the commit message and diff context
- Changes table: List every changed file with a one-line description
- Impact Analysis: Assess scope, risk level, breaking changes based on the diff
- Test Plan: Generate actionable test steps relevant to the changes
Step 6: Report Result
Display the final result:
✅ Shipped!
Branch: <branch-name>
Commit: <short-hash> - <commit subject>
PR: <pr-url> [draft]
Files: <n> changed (+<additions>, -<deletions>)Error Handling
| Error | Cause | Solution |
git: command not found | Git not installed | brew install git or xcode-select --install |
gh: command not found | GitHub CLI not installed | brew install gh |
gh auth status fails | Not authenticated | gh auth login |
not a git repository | Not in a repo | Navigate to a git repository |
No remote 'origin' | No remote configured | git remote add origin <url> |
rejected - non-fast-forward | Remote has new changes | git pull --rebase origin <branch> then retry |
gh pr create 422 error | PR already exists | Show existing PR URL |
permission denied | No write access | Check repo permissions |
branch already exists on remote | Name conflict | Append suffix: feat/slug-2 |
| Detached HEAD | Not on a branch | git checkout -b <branch-name> first |
Response Guidelines
- No confirmation prompts - "Ship" is the confirmation. Execute immediately.
- Show progress - Display each step as it completes.
- Auto-generate everything - Commit message, branch name, PR title, PR body.
- Always end with PR URL - The clickable PR link is the key output.
- Handle errors gracefully - Report what failed and how to fix it.
- Respect --draft - Create as draft PR when requested.
- Never force push - Suggest rebase on rejection.
- Never discard changes - Do not reset, stash, or drop user's work.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

