shipit
Skill0 starsChanged 7 months agoMITView on GitHub
Commit, push, and create a PR in one command. Stages changed files, generates a conventional commit message from the diff, pushes to the current feature branch, and opens a PR to main. Use when asked to "ship it", "commit and push", "commit push and PR", "create a PR", or "send it".
- Reads credentials
- Commits and pushes
4 other projects use a version of this.
Adopted by
Most recently taken up by
- nazmulnahid-git/Ai-Stacktheir own version, first seen Oct 26, 2026
- freelawproject/courtlistenertheir own version, first seen Oct 8, 2026
- fire17/shipittheir own version, first seen Jul 6, 2026
- AmosChenZixuan/Agentic-working-contracttheir own version, first seen Jul 2, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- freelawproject/courtlistener★ 1.1ksame name
- nazmulnahid-git/Ai-Stack★ 4same name
- AmosChenZixuan/Agentic-working-contract★ 2same name
- fire17/shipit★ 1same name
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.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Run the full commit-push-PR pipeline in one shot.
- Distinctive: line 31
If you skip any files, mention which ones and why.
- Very specific: line 34
Use the format: type: short description (feat, fix, test, chore, docs, refactor)
- Distinctive: line 35
Keep the subject line under 72 characters
- Distinctive: line 36
Add a body paragraph if the change is non-trivial (more than ~20 lines changed or multiple concerns)
- Distinctive: line 38
Use a HEREDOC to pass the message to git commit -m
- Very specific: line 43
If no PR exists, create one with gh pr create:
- Distinctive: line 56
If a PR already exists and is open, just push (the PR updates automatically).
- Distinctive: line 62
Never commit directly to main.
- Distinctive: line 65
If a pre-commit hook fails, fix the issue, re-stage, and create a NEW commit (do not amend).
- Distinctive: line 66
Always confirm the PR URL at the end so the user can click it.
“Common” is measured: kept by at least 6 in 10 of the 4 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 It — Commit, Push, and PR
Run the full commit-push-PR pipeline in one shot. No interactive prompts.
Steps
- Orient — run
git branch --show-currentandgit status. If onmain, stop and warn. - Diff — run
git diffandgit diff --cachedto see all changes (staged + unstaged). Also rungit statusto find untracked files. If there are no changes at all, stop and say "Nothing to ship." - Stage — add all relevant changed and untracked files. Do NOT stage:
.env*files- Files that look like they contain secrets (credentials, tokens, keys)
node_modules/,.next/,dist/,build/If you skip any files, mention which ones and why.
- Commit — generate a conventional commit message from the staged diff:
- Use the format:
type: short description(feat, fix, test, chore, docs, refactor) - Keep the subject line under 72 characters
- Add a body paragraph if the change is non-trivial (more than ~20 lines changed or multiple concerns)
- End with:
Co-Authored-By: Claude <noreply@anthropic.com> - Use a HEREDOC to pass the message to
git commit -m
- Use the format:
- Push — run
git push -u origin <branch>. If the push fails due to SSH/auth, retry once with sandbox disabled. - PR — check if a PR already exists for this branch (
gh pr view --json state 2>/dev/null).- If no PR exists, create one with
gh pr create:- Title: the commit subject line (or a summary if multiple commits)
- Body format:
## Summary <bullet points summarizing ALL commits on the branch vs main> ## Test plan <checklist of things to verify> 🤖 Generated with [Claude Code](https://claude.com/claude-code) - To get the full picture, run
git log main..HEAD --onelineandgit diff main...HEAD --stat
- If a PR already exists and is open, just push (the PR updates automatically). Say "PR already open:
<url>".
- If no PR exists, create one with
- Report — print the PR URL (or the existing PR URL) and a one-line summary.
Rules
- Never commit directly to
main. If on main, refuse and suggest creating a branch. - Never force-push.
- Never use
--no-verify. - If a pre-commit hook fails, fix the issue, re-stage, and create a NEW commit (do not amend).
- Always confirm the PR URL at the end so the user can click it.
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.

