git-hygiene-enforcer
Git Hygiene Enforcer helps teams standardize development practices by automating commit validation, branch naming enforcement, and pull request workflows. It provides ready-to-use configurations for commit hooks, branch protection rules, and CI/CD checks that maintain code quality without manual oversight.
Git Hygiene Enforcer automates commit validation and branch enforcement to standardize team workflows.
AI-generated summary based on this skill's SKILL.md
Install
patricio0312rev/skills/git-hygiene-enforcer
git clone https://github.com/patricio0312rev/skills
cp -r skills/foundation/git-hygiene-enforcer ~/.claude/skills/git-hygiene-enforcernpx skillfed install patricio0312rev/skills/git-hygiene-enforcerFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I setup git hooks for commit messages with git-hygiene-enforcer?
Git Hygiene Enforcer automates commit message validation through pre-commit hooks integrated with tools like Husky and Commitlint. The skill provides ready-to-use configurations that validate commits against conventional commit standards before they're accepted into your repository, eliminating manual enforcement and ensuring team-wide consistency without requiring developers to remember rules.
What does git-hygiene-enforcer do to enforce conventional commits?
Git Hygiene Enforcer standardizes team git workflows by enforcing conventional commits automatically through hook-based validation. It includes pre-configured Commitlint rules that check commit message format, scope, and type compliance, preventing non-conformant commits from entering your codebase and maintaining a clean, readable commit history across your entire team.
Can git-hygiene-enforcer help prevent bad commits with hooks?
Yes. Git Hygiene Enforcer prevents bad commits by implementing automated validation hooks that run before commits are finalized. It catches issues like improper message formatting, missing scopes, and non-standard types at the point of commit, blocking problematic commits entirely and guiding developers toward compliant practices through immediate feedback.
How does git-hygiene-enforcer configure branch protection and PR workflows?
Git Hygiene Enforcer provides templates and configurations for GitHub branch protection rules and pull request workflows. It includes PR template examples that standardize code review requirements, automated CI/CD checks via GitHub Actions, and guardrails that enforce code review processes and merge requirements, ensuring quality gates are consistently applied across your team.
What git workflow standardization does git-hygiene-enforcer provide?
Git Hygiene Enforcer delivers comprehensive workflow standardization including branch naming conventions, commit message templates, PR review checklists, and merge process guardrails. It combines automated validation, branch protection rules, and documentation to create a repeatable, team-wide development process that maintains hygiene without requiring manual intervention at each step.
Does git-hygiene-enforcer document emergency bypass procedures?
Git Hygiene Enforcer includes documentation for emergency bypass procedures when git hooks need to be temporarily circumvented. While the skill prioritizes automated enforcement, it acknowledges rare situations requiring override capabilities and provides guidance on implementing safe, auditable bypass mechanisms that maintain accountability while allowing urgent commits when necessary.
SKILL.md
rendered from the published skill — quoted content, verbatim
Git Hygiene Enforcer
Enforce consistent, high-quality git practices across your team.
Core Workflow
- Choose conventions: Select commit format (Conventional Commits, Angular, etc.)
- Setup commit hooks: Install commitlint with git hooks
- Configure branch rules: Define naming patterns and protection
- Create PR templates: Standardize pull request descriptions
- Add workflows: GitHub Actions or GitLab CI for automated checks
- Document process: Write CONTRIBUTING.md with git guidelines
- Provide bypasses: Document emergency override procedures
Conventional Commits
Format: <type>(<scope>): <description>
Types:
feat: New featurefix: Bug fixdocs: Documentation changesstyle: Code style changes
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
foundation/git-hygiene-enforcer/SKILL.md