Commit & Branch Discipline
AI Agent Git Hygiene & Semantic Commits Skill
Maintains disciplined git history by enforcing Conventional Commits, branch prefixes, pre-commit safety checks, and atomic changes.
Install Git Hygiene Skill
$ bunx skills add NaveenGumaste/keyskills/git-hygieneGuaranteed Outcomes
Why install Git Hygiene?
Clean Commit History
No more 'updated code' or 'fixed stuff' commit messages. Every commit follows standard conventional commit specs.
Secret Leak Prevention
Scans staged diffs before staging to block API credentials, private keys, and .env files from ever hitting remote repositories.
Atomic Scoped Changes
Prevents agents from bundling unrelated refactors, styling tweaks, and bug fixes into a single monolithic commit.
SKILL.md Directives
What the agent enforces
When installed, your autonomous agent loads these strict directives into memory before executing code generation or repo initialization:
# Git Hygiene Directives
- Follow Conventional Commits: feat:, fix:, chore:, docs:, refactor:.
- Never commit secrets, .env files, or temporary build outputs.
- Keep commits atomic: one logical change per commit.Questions & Answers
Frequently asked questions
How does the Git Hygiene skill prevent secret leaks?
The skill instructs the agent to audit git status and staged diffs for common token patterns, environment files (.env*), and credentials before executing any commit command.
Does it enforce branch naming conventions?
Yes. It guides agents to create short-lived feature branches prefixed by category (e.g. feat/, fix/, docs/) rather than committing straight to main.
README Badge Generator
Badge your repository
Show contributors your repo uses high-agency agent skills.
[](https://keyskills.ngxlabs.tech)More portable agent skills
SEO Setup
Discoverability & Search Rank
Equips autonomous coding agents to automatically generate metadata, OpenGraph cards, sitemap.xml, robots.txt, and JSON-LD schemas during repository init.
Design Taste Frontend
Anti-Slop UI & Aesthetics
Stops AI agents from outputting generic purple-gradient, rounded-slop interfaces. Enforces editorial typography, calibrated contrast, intentional whitespace, and hardware-accelerated micro-motion.
Codebase Cleanup
Repository Hygiene
Cleans up agent debris: scratch scripts, unused imports, orphan test outputs, and temporary benchmark files before finishing tasks.