git-conventions

Enforce conventional commit formatting and branch hygiene across repositories.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/cbown75/ai --skill git-conventions-cbown75
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-conventions
Source: https://github.com/cbown75/ai/tree/main/.claude/skills/git-conventions
Command: npx skills add https://github.com/cbown75/ai --skill git-conventions-cbown75

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git conventions using conventional commits for all repositories. Enforces commit format, branch hygiene, stale branch detection, attribution rules, and PR workflow. Use for all git formatting - ticket-prefix overrides are handled by the dev-workflow skill.

Core Features & Use Cases

  • Conventional commit format enforcement across repositories to improve history readability and automation compatibility.
  • Branch hygiene and naming conventions to prevent mainline contamination and to support automation (e.g., CI/CD triggers).
  • Stale branch detection to prevent abandoned work from slipping into production and to maintain clean PRs.
  • Attribution rules and PR workflow guidance to ensure proper authorship and structured reviews.
  • Use Case: Apply these conventions in a multi-repo environment to standardize how features are developed, documented, and merged.

Quick Start

Configure your repository to enforce conventional commits, branch hygiene, and PR workflows as described.

Frequently Asked Questions about git-conventions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce conventional commits across multiple repositories?

Enforcing conventional commits across multiple repositories is achieved by validating commit types, scopes, and branch state to standardize Git workflow hygiene. This ensures clear commit history and predictable automation compatibility across development teams.

What is the best way to standardize Git branch naming and PR workflow for a team?

Standardizing Git branch naming and PR workflow involves applying disciplined branch hygiene, stale branch detection, and PR-driven collaboration rules. This prevents mainline contamination and supports safe, structured code reviews across repositories.

Does this Git workflow approach handle stale branch detection?

Yes, this Git workflow approach includes stale branch detection to prevent abandoned work from slipping into production. It maintains clean PRs by identifying and managing inactive branches within your repositories.

Can I use conventional commit formatting for CI/CD automation triggers?

Yes, conventional commit formatting supports CI/CD automation triggers by enforcing predictable commit types and scopes. This standardized structure allows automated systems to parse commit history and trigger appropriate deployment pipelines safely.

What are the limitations of conventional commit enforcement for Git branches?

Conventional commit enforcement focuses strictly on commit formatting, branch hygiene, and PR workflow. It does not handle ticket-prefix overrides, which are managed by separate dev-workflow skills, limiting its scope to repository hygiene and attribution rules.

Why do I need attribution rules in a PR-driven Git workflow?

Attribution rules in a PR-driven Git workflow ensure proper authorship tracking and structured reviews. They standardize how features are developed and merged, maintaining clear accountability across multiple repositories and development teams.