git-validate

Validate Git branch names against sequential, timestamp, or custom patterns.

Updated Jul 7, 2026
One-click install
npx skills add https://github.com/eavichay/mycli --skill git-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-validate
Source: https://github.com/eavichay/mycli/tree/main/.cursor/skills/git-validate
Command: npx skills add https://github.com/eavichay/mycli --skill git-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill prevents repository clutter and maintains project traceability by ensuring all feature branches adhere to strict naming conventions and link correctly to specification documentation.

Core Features & Use Cases

  • Naming Enforcement: Validates branches against sequential, timestamp, or custom template patterns.
  • Spec Integration: Automatically verifies that a corresponding specification directory exists for the current feature branch.
  • Use Case: A developer creates a new branch for a task. This skill immediately checks if the branch name follows the required format and warns the developer if the associated spec directory is missing, ensuring documentation stays in sync with code.

Quick Start

Run the git-validate skill to check if your current branch name complies with the project naming standards and has a linked specification.

Frequently Asked Questions about git-validate

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

FAQPage Schema
How do I enforce Git branch naming conventions for feature branches?

You can enforce Git branch naming conventions by validating branch names against sequential, timestamp, or custom template patterns to ensure repository consistency and prevent clutter. This process checks the current branch against defined pattern configurations.

Does Git branch validation check for linked specification documentation?

Yes, Git branch validation verifies the existence of corresponding specification directories within a spec-kit project structure. It warns the developer if the associated spec directory is missing, ensuring documentation stays synchronized with the feature branch code.

What is the best way to automate compliance checks for Git branch patterns?

Automating compliance checks for Git branch patterns involves running a validation skill that requires Git CLI access to verify branch names against configured templates. This immediately checks if the branch name follows the required format upon creation.

Do I need Git CLI access to validate branch naming standards?

Yes, you need Git CLI access to validate branch naming standards because the validation process operates within the repository context to verify the current branch name and check for linked specification directories.

What custom template patterns are supported for Git branch validation?

Git branch validation supports sequential, timestamp, and custom template patterns for naming enforcement. These patterns ensure that all feature branches adhere to strict naming conventions required by the project configuration.