Principled Git Commit

Conventional Commits 1.0.0 + best-practice workflow for git commit messages that serve four readers — `git log` scanners, `git blame` tracers, `git bisect` hunters, and AI agents (LLMs rebuilding context after `/clear`, reviewing PRs, generating changelogs, answering natural-language history queries). Five founding principles (atomic / leaves-repo-green / why-over-what / imperative / searchable), five-step workflow (diff inspection → staging → type decision tree → secrets blocklist → pre-commit checklist), explicit Breaking-Change / Revert / Amend / Trailer protocols, and a dialect scaffolder that generates per-project `docs/references/COMMIT.md` for project-specific extensions (domain proper nouns, custom trailers like `Refs:` / `Flag:` / `Plan SC:`, workflow hooks like PDCA / Linear / Jira / squash-merge PRs). ALWAYS trigger this skill when the user: (1) asks to write, generate, or improve a commit message (2) pastes a commit-message draft for review or critique (3) asks "should I split this commit?" / "wha

rhino-ty c16efe2 5 files · 56.6 KB Updated

File contents

rhino-ty/principled-git-commit/tree/main/ commit c16efe2685

Frequently asked questions

npx skillmds@latest add rhino-ty/principled-git-commit