Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By pappcorn Verified Orgv0.1.0MITIn 1 marketplace
Writes commit messages that explain why in your repo's own style and opens small pull requests. Refuses to push to protected branches, and claims no credentials or network calls of its own, driving your local git and gh.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Three skills that encode how a team working with agents commits, opens pull requests, and keeps parallel branches from stepping on each other.
/plugin marketplace add pappcorn/universe
/plugin install best-practices-git@pappcorn-plugins
No credentials, no server, no network calls of its own. It drives the git and
gh you already have.
| Skill | What it does |
|---|---|
/commit | Stages by name and writes a message whose body explains why, in whatever convention your repo's history already uses |
/git-pr | Opens the PR from the current branch, keeps it small enough to actually be reviewed, and cannot push to a protected branch |
/worktree | Creates and manages worktrees so several branches — several agents — can be open at once without switching one out from under another |
Inside Claude Code they are namespaced by the plugin:
/best-practices-git:commit, /best-practices-git:git-pr,
/best-practices-git:worktree.
These are the parts worth arguing with. The skills carry the reasoning; this is the summary.
The commit message explains why, not what. The diff is a perfect record of what changed and a useless record of why. Only the message can carry the constraint, the incident, or the option not taken — and only for about a day, while the author still remembers.
One commit, one reason to change. A commit that fixes a bug and renames a variable and bumps a dependency cannot be reverted, cherry-picked, or bisected. You find that out on the day you urgently need all three.
Stage by name. Never git add -A. It sweeps in the file another session
wrote thirty seconds ago, the debug print you meant to delete, and the local
config you never intended to share. Naming the files is the last point where a
human decision is still possible.
Small PRs get reviewed; large PRs get approved. Attention is finite. A 40-line diff is read line by line; a 2,000-line diff is skimmed for anything alarming and waved through. The large PR feels like more progress and delivers less review. It also rots — a branch alive for a week competes with everyone else's work instead of joining it.
Pushing to a protected branch must be impossible, not discouraged. /git-pr
enforces it three separate ways. The cost of being annoying about this is one
extra check; the cost of getting it wrong once is a rewritten shared history.
Worktrees, not git stash, and not branch switching. A stash is an invisible
global stack where changes go to be forgotten. Switching branches rewrites every
file, restarting your dev server and invalidating your build cache. And when two
agents share one checkout, the second one's git switch silently moves the first
one's edits onto the wrong branch — nothing errors, and the damage surfaces later
in a diff nobody can explain. One worktree per line of work is what makes
parallel agents safe.
Hooks always run. --no-verify skips a check that runs in CI anyway ten
minutes later, in front of everyone.
The repo's existing conventions beat this plugin's preferences. /commit
reads your history — Conventional Commits or not, scopes or not, trailers or not
— and matches it. Consistency is worth more than any individual style rule,
because a uniform history is the only searchable kind.
Everything works with no configuration. To override a default, create
.claude/best-practices-git.json in your repo root. Every key is optional.
{
"base": "auto",
"protectedBranches": [
"main",
"master",
"develop",
"release",
"production",
"prod"
],
"language": "en",
"commit": {
"convention": "auto",
"scopes": "auto",
"trailers": []
},
"pr": {
"draft": false,
"worktree": true,
"reviewers": "codeowners",
"signature": null
},
"worktrees": {
"dir": "auto",
"copy": [],
"install": "auto"
}
}
7-day copy clicks
npx claudepluginhub pappcorn/universe --plugin best-practices-gitBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground