git

Validate Git branches, commits, and PR readiness with automated checks.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, gh, mcp, and includes references (resource) components.

What problem does it solve?

This Skill automates and enforces best practices across your entire Git workflow, from branch naming and commit conventions to comprehensive Pull Request (PR) preparation. It eliminates manual checks, reduces human error, and ensures consistent, high-quality contributions, saving developers time and streamlining collaboration.

Core Features & Use Cases

  • Branch & Commit Validation: Automatically validate branch names and commit messages against conventional standards.
  • PR Readiness Checks: Perform comprehensive checks (conflicts, size, signing) to ensure your branch is ready for a PR.
  • Automated PR Preparation: Use the mcp__zen-core__pr_prepare tool to create rich PRs with AI-generated summaries (What the Diff), dependency updates, and security scans.
  • Use Case: Before creating a PR, run /git/pr-check to validate your branch, then /git/pr-prepare --include_wtd=true to automatically generate a comprehensive PR description with an AI summary, saving you significant time.

Quick Start

Check if your current branch is ready for a Pull Request, including conflict detection and size analysis. /git/pr-check

Frequently Asked Questions about git

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

FAQPage Schema
How do I validate branch names and commit messages in Git?

Branch and commit validation enforces naming conventions and message standards automatically. This Skill checks your branches and commits against conventional patterns, catching naming errors before they reach your repository and ensuring consistent contribution quality across your team.

What checks should I run before creating a pull request?

PR readiness checks validate conflicts, file size, and signing status to confirm your branch is ready. Run `/git/pr-check` to detect integration issues early, then use `/git/pr-prepare` to generate comprehensive PR descriptions with AI summaries and security scans before submitting.

Can I automate pull request preparation with AI-generated summaries?

Automated PR preparation creates rich descriptions with AI-generated change summaries, dependency updates, and security analysis. The `mcp__zen-core__pr_prepare` tool generates What the Diff summaries and metadata automatically, significantly reducing manual documentation time.

How do I enforce Git workflow standards across my team?

Git workflow governance automates enforcement of branch naming, commit conventions, and PR standards across all contributors. This eliminates manual review bottlenecks and ensures consistent, high-quality code contributions by catching deviations before they merge.

Does this work with GitHub and conventional commit formats?

Yes, this Skill integrates with GitHub CLI (`gh`) and MCP tools to enforce conventional commits and validate PR readiness. It supports branch validation, milestone management, and semantic-release alignment across feature development and hotfix workflows.

What security checks are included in PR preparation?

Security scans are performed during PR preparation to detect secrets and vulnerabilities in your changes. Combined with pre-commit checks and comprehensive status reporting, this provides layered protection before code reaches production.