git-ship
Skill501 starsChanged 15 days agoApache-2.0View on GitHub
Use this skill whenever the user wants to commit, push, or ship changes in a git repository. Triggers include: "commit changes", "push my changes", "ship it", "commit and push", "create a branch and commit", "make a PR", "open a pull request", "create draft PR", or any variation of committing/pushing work. Always use this skill when the user mentions committing — even casually — as it handles the full cycle: branch → add → commit → push → (optionally) PR, with Conventional Commits format and automatic area detection.
- Commits and pushes
4 other projects use a version of this.
Adopted by
Most recently taken up by
- smiling66652/workbuddy-skill-toolkitstheir own version, first seen Sep 15, 2026
- oil-oil/git-shiptheir own version, first seen Sep 10, 2026
- LiozShor/claude-code-skillstheir own version, first seen Aug 19, 2026
- OrenGolanProjects/ai-assistant-skillstheir own version, first seen Mar 11, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- oil-oil/git-ship★ 15same name
- LiozShor/claude-code-skills★ 2same name
- smiling66652/workbuddy-skill-toolkits★ 1same name
- OrenGolanProjects/ai-assistant-skills★ 0same 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.
In this repository59 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/a11y.mdcCursor rule
- nx-generateSkill
- nx-importSkill
- nx-pluginsSkill
- nx-run-tasksSkill
- nx-workspaceSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- address-current-branch-reviewSkill
- api-designSkill
- celebration-scene-ideasSkill
- code-review-and-qualitySkill
- create-ticketSkill
- dep-scanSkill
- dep-triageSkill
- dial-docsSkill
- extract-to-libSkill
- figmaSkill
- fix-cve-backportSkill
- i18n-stringsSkill
- lean-verificationSkill
- lib-themingSkill
- monitor-ciSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- proactive-security-monitorSkill
- refactoring-auditSkill
- chat-release-notesSkill
- responsive-designSkill
- security-monitor-triagerSkill
- snyk-jira-ingestSkill
- snyk-scan-stubSkill
- snyk-triageSkill
- ui-kit-reviewSkill
- nx-generateSkill
- nx-pluginsSkill
- nx-run-tasksSkill
- nx-workspaceSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- nx-generateSkill
- nx-importSkill
- nx-pluginsSkill
- nx-run-tasksSkill
- nx-workspaceSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
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
- could be automatic: a setting could enforce it
- Distinctive: line 71
If there are no changes at all — report and stop.
- Very specific: line 77
If the area argument was given, use it.
- Distinctive: line 111
If push fails (no permissions, rejected, conflict) — report the full output and stop.
- Very specific: line 118
If the user requested a PR or draft PR, read .agents/skills/git-ship/examples/pr-body.md and follow the repo PR template …
- Distinctive: line 126
Always finish with a concise confirmation:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Git Ship Skill
Full cycle for ai-dial-chat: checkout new branch from development → stage → commit
(Conventional Commits) → push → optional PR. Base branch is development.
Supporting files (read them when the step says so — don't inline everything up front):
.agents/skills/git-ship/areas.md— how to resolve the commitarea(scope) for this repo..agents/skills/git-ship/examples/commit-messages.md— type table, message + branch examples..agents/skills/git-ship/examples/pr-body.md— PR body template, rules, andgh pr createusage.
Step 0 — Detect mode (new branch vs. update existing)
git rev-parse --abbrev-ref HEAD # current branch
gh pr view --json number,url,state 2>/dev/null # open PR for current branch (if any)- New-branch mode — current branch is
development(or another base branch), or there's no PR for it. Run the full cycle: Steps 1–6. - Update-existing mode — you're already on a feature branch and it has an open PR (or the
user says "push to the existing PR" / "update my PR"). Do not create a new branch and do
not run
gh pr create. Stay on the current branch, then:- Step 2 — review the changes.
- Step 4 — generate the commit message (reuse the existing PR's ticket; keep the same area/type).
- Step 5 — skip the
git checkoutlines; justgit add→git commit→git push. - Skip Step 6's
gh pr create. Pushing updates the open PR automatically. Only refresh the body (gh pr edit --body) if the user asks or the description is stale/missing. - Step 7 — report the existing PR link, not a new one.
Step 1 — Gather required context
- Ticket number — use the
ticketargument if passed. Else look in conversation context. If still not found, ask: "What is the ticket number?" - Area — if the
areaargument is passed, use it directly in Step 3. - Draft PR? — if the user said "draft", note it for Step 6.
This skill runs in a forked context (
context: fork), so it does not see the main conversation. Prefer passing arguments:/git-ship 7432 catalog.
Step 2 — Understand the changes
git status
git diff HEADIf there are no changes at all — report and stop.
Step 3 — Determine area
If the area argument was given, use it. Otherwise read
.agents/skills/git-ship/areas.md and map the changed files to an area using its resolution
rules. If the resolved area is new, follow that file's append-only self-extend rules so the
taxonomy grows (the edit is staged in Step 5 and ships in the same commit).
Step 4 — Generate commit message
Format: <type>(<area>): <short description> (Issue #<ticket>).
Read .agents/skills/git-ship/examples/commit-messages.md for the type table, message
examples, and the branch-name rule. Analyze the diff to pick the most accurate type and write a
concise, imperative description. Breaking change → add ! before the colon.
Step 5 — Execute
# 1. Create branch from base (skip in update-existing mode)
git checkout development
git checkout -b <type>/<short-slug>
# 2. Stage all changes (includes any areas.md self-extend edit)
git add .
# 3. Commit
git commit -m "<type>(<area>): <description> (Issue #<ticket>)"
# 4. Push
git push origin <type>/<short-slug>If push fails (no permissions, rejected, conflict) — report the full output and stop. Do not force push or rebase automatically.
Step 6 — Pull Request (if requested)
If the user requested a PR or draft PR, read .agents/skills/git-ship/examples/pr-body.md and
follow the repo PR template (.github/pull_request_template.md) — fill every placeholder, then run
the gh pr create command shown there with --base development.
Step 7 — Summary
Always finish with a concise confirmation:
Branch: <type>/<short-slug>
Commit: <type>(<area>): <description> (Issue #<ticket>)
Push: ✅ succeeded / ❌ failed — <reason>
PR: <link> (created) / <link> (updated existing) / skipped
Area: <area> (note "added to taxonomy" if Step 3 self-extended areas.md)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.

