One-click install
npx skills add https://github.com/ByronWilliamsCPA/.claude --skill git-byronwilliamscpa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git
Source: https://github.com/ByronWilliamsCPA/.claude/tree/main/.claude/skills/git
Command: npx skills add https://github.com/ByronWilliamsCPA/.claude --skill git-byronwilliamscpa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git workflows are fraught with edge cases that cause data loss, incorrect commits, and merge failures, especially in teams using squash merges, concurrent agent sessions, or strict conventional commit requirements. This skill eliminates those risks with enforced, production-grade guardrails and automated workflows for every common Git task.

Core Features & Use Cases

  • Safe Commit Preparation: Validates staged files, enforces signed conventional commits, and prevents accidental inclusion of unrelated work or secrets.
  • Automated PR Generation: Creates compliant PR descriptions, validates CI gate status, and handles merge sequencing for strict organization rulesets.
  • Branch Strategy Enforcement: Validates branch naming conventions, maps branches to semantic release versions, and blocks direct commits to protected branches. Use case: If you have multiple unrelated changes staged, this skill will guide you to split them into separate conventional commits, verify the staged set matches your intended changes, and generate a PR description that passes all repo compliance checks.

Quick Start

Ask the AI to "prepare a PR for my current feature branch" or "stage and commit my changes to the auth module" to execute safe, compliant Git workflows automatically.

Frequently Asked Questions about git

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

FAQPage Schema
How do I prevent accidental inclusion of unrelated staged files in my git commits?

To prevent accidental inclusion of unrelated staged files in git commits, use a workflow that validates your staged file set against intended changes. This ensures commit safety by verifying the exact diff before executing a signed conventional commit.

What is the best way to automate pull request generation for conventional commits?

The best way to automate pull request generation for conventional commits is to use a workflow that creates compliant PR descriptions, validates CI gate status, and handles merge sequencing for strict organization rulesets.

How does branch strategy enforcement work with semantic release workflows?

Branch strategy enforcement works with semantic release workflows by validating branch naming conventions, mapping branches to semantic release versions, and blocking direct commits to protected branches to maintain repository health.

Why do incorrect merge status checks happen in squash-merge repositories and how do I fix them?

Incorrect merge status checks happen in squash-merge repositories due to edge cases in remote diffing and merge sequencing. You can fix them by using automated workflows that enforce hard-coded guardrails for remote diffing and CI gate validation.

How do I safely route fixes to in-flight branches without data loss?

To safely route fixes to in-flight branches without data loss, use a workflow that enforces stash isolation and fix routing. This prevents destructive cleanup operations and compliance violations during concurrent agent sessions.

When do I need guarded repository health checks for git workflow automation?

You need guarded repository health checks for git workflow automation when working in teams using squash merges, concurrent agent sessions, or strict conventional commit requirements to eliminate risks of data loss and incorrect commits.