git-shipping
Skill0 starsChanged 3 months agoMITView on GitHub
Guides the git workflow for shipping code changes — branch, commit, push, PR. Use whenever asked to `commit`, `push`, `pr`/`ship`/`open a PR`/`merge this`, or manage branches, and whenever about to make code changes in a git repo, to confirm the branch is right before implementation starts — even if the user only described the change and never said the word "git".
- Commits and pushes
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- writing-skillsSkill
- building-wikiSkill
- compressing-knowledgeSkill
- creating-issuesSkill
- fuckSkill
- functional-domain-modelingSkill
- no-commentsSkill
- receiving-code-reviewSkill
- tracking-tasksSkill
- writing-japaneseSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 7 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Treat short git requests as workflow shorthand.
- Distinctive: line 25
Ask only when the intended change scope is unclear enough that you might include unrelated work.
- Very specific: line 29
Check visibility with gh repo view --json visibility -q '.visibility'.
- Distinctive: line 31
PUBLIC: Use English for commit messages, PR titles, and PR bodies.
- Distinctive: line 32
PRIVATE / INTERNAL: Use the language the user is currently using.
- Very specific: line 36
Start new feature work in a clean worktree from the remote default branch, not in the default-branch checkout.
- Very specific: line 37
Before creating it, check git wt -h, then use git wt <branch> origin/<default-branch> --nocd.
- Distinctive: line 38
Never call raw git worktree.
- Distinctive: line 42
Do not move already-started work into a new worktree just to satisfy this workflow.
- Very specific: line 46
REQUIRED SUB-SKILL: Use cxg skill for commit message format.
- Distinctive: line 51
Prefer a repository PR template when one applies.
- Very specific: line 53
Use ## Impact only for merge behavior changes.
- Very specific: line 54
Do not add ad hoc Testing, Verification, Checklist, Related issues, or Screenshots.
- Very specific: line 55
Write the body to a mktemp file under $TMPDIR, never a fixed path — gh pr create/gh pr edit can reuse stale content, and plain mktemp can …
- Very specific: line 57
After pushing to a branch with an open PR, reread the title and body against the new diff and edit whatever no longer matches (gh pr edit).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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 Shipping
Code changes flow through: branch → commit → push → PR.
Intent Expansion
Treat short git requests as workflow shorthand.
| User says | What it means |
commit | Inspect, stage coherent chunks, commit |
push | Inspect, create commits if needed, push |
pr | Inspect, move off default branch if needed, commit, push, open PR |
Ask only when the intended change scope is unclear enough that you might include unrelated work.
Language Rule
Check visibility with gh repo view --json visibility -q '.visibility'.
- PUBLIC: Use English for commit messages, PR titles, and PR bodies.
- PRIVATE / INTERNAL: Use the language the user is currently using.
Branch
Start new feature work in a clean worktree from the remote default branch, not in the default-branch checkout.
Before creating it, check git wt -h, then use git wt <branch> origin/<default-branch> --nocd.
Never call raw git worktree.
New worktrees start clean; transfer in-progress changes only on request.
Do not move already-started work into a new worktree just to satisfy this workflow. If files are already being edited in the current checkout, keep working there and create or switch to the appropriate branch in place when safe.
Commit
REQUIRED SUB-SKILL: Use cxg skill for commit message format. Pipe the message through cxg lint before committing.
Pull Request
- PR titles use Conventional Commit subject format:
type(scope): subject. - Prefer a repository PR template when one applies.
- Without a template, use only:
## Summary,## Background,## Changes, optional## Impact. - Use
## Impactonly for merge behavior changes. Omit unchanged behavior, non-goals, and work not done. - Do not add ad hoc
Testing,Verification,Checklist,Related issues, orScreenshots. Never dump local verification commands into the PR body. - Write the body to a
mktempfile under$TMPDIR, never a fixed path —gh pr create/gh pr editcan reuse stale content, and plainmktempcan fail in a sandboxed shell. - New PRs default to draft (
gh pr create --draft); preserve existing PR draft/ready state unless asked. - After pushing to a branch with an open PR, reread the title and body against the new diff and edit whatever no longer matches (
gh pr edit).
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.

