History is permanent: the gate runs before the push — no negotiation.
Trunk-based development, Conventional Commits, small PRs, signed commits and a committed secret treated as public. Mistakes are fixed forward, never by rewriting what was already published.
$ schematize install gitNon-negotiable floors
Never switched off "to go faster". Full list in the skill.
GitHub is the source of truth
Commit and push right away; the local copy never diverges from what is published.
Trunk-based and Conventional Commits
An always-green main, short branches, linear history and atomic commits following Conventional Commits 1.0.0.
Small PRs
Reviewable in about 15 minutes, with a description that answers what, how it was tested, risk/rollback and where to look.
Never rewrite what is published
No force push on main, release branches or tags; a published mistake is fixed with git revert. The only exception is removing a secret or personal data.
Committed secret: rotate first
Rewriting history does not undo a leak; never --no-verify, with secret scanning and pre-commit switched on.
Main protected on the server
A ruleset with force push blocked, linear history, PRs, the gate as a status check and code owner review; a rule that lives only on the client does not count.
Signing and immutable tags
Main commits and release tags signed when the policy is adopted; an annotated SemVer tag is never moved.
Commands
Installed in .claude/commands/. Run /git-help anytime.
/git-ccContext compact: writes context + checklist to the archive and runs /compact./git-claudeCreates or merges the always-on git CLAUDE.md at the repo root (won't overwrite other skills' blocks)./git-commitBuilds atomic Conventional Commits, passes the index gate and publishes right away./git-handoffWrites the context handoff without compacting — session end or task switch./git-helpLists every command./git-leakCommitted-secret rite: rotate first, measure, clean the code and only then decide about the history./git-loadForce-loads the whole normative body: flow, signing, protection, secrets and hygiene./git-prOpens a small PR with a rebase, a green gate and the four-question description./git-releaseComputes the SemVer from the commits, writes the CHANGELOG and creates the annotated tag (signed if the policy requires it)./git-reviewRuns the gate on the range and reads what the machine cannot: atomicity, PR size, ruleset and local divergence.For AI agents
Install with no human in the loop. Metadata in llms.txt.
- Run: git clone https://github.com/schematizeme/skill-git.git && ./skill-git/install.sh
- Or download: https://github.com/schematizeme/skill-git/releases/latest/download/skill-git.zip and unzip into .claude/skills/
- Copy assets/CLAUDE.md to the repo root (always-on rule).
- Confirm with /git-help.
আলোচনা
লোড হচ্ছে…