speckit-git-validate

Validate Git branch names and required directories.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/Sumitvedpathak/prompt-evals --skill speckit-git-validate-sumitvedpathak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-validate
Source: https://github.com/Sumitvedpathak/prompt-evals/tree/main/.cursor/skills/speckit-git-validate
Command: npx skills add https://github.com/Sumitvedpathak/prompt-evals --skill speckit-git-validate-sumitvedpathak

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers verify that their current Git branch adheres to predefined naming conventions, ensuring consistency in version control practices.

Core Features & Use Cases

  • Branch Naming Validation: Checks if the current Git branch name matches specified patterns for feature branches.
  • Spec Directory Check: Validates the presence of associated specification directories based on branch prefixes.
  • Use Case: When a developer creates a new feature branch, they can run this Skill to confirm the branch name format and the existence of corresponding specs, maintaining team standards.

Quick Start

Use the speckit-git-validate Skill to verify if your current branch name complies with project naming conventions and existing specs.

Frequently Asked Questions about speckit-git-validate

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

FAQPage Schema
How do I validate Git branch naming conventions in a CI pipeline?

Git branch naming conventions are validated by checking the current branch name against predefined patterns and verifying the existence of associated specification directories to prevent workflow errors.

What's the best way to enforce spec directory existence for feature branches?

Spec directory existence is enforced by validating the presence of specification directories based on branch prefixes, ensuring that new feature branches maintain consistent development workflows.

Why does my Git workflow fail when branch names don't match team patterns?

Git workflows fail because non-compliant branch names disrupt pattern matching and directory checks, which are designed to maintain organized branch and spec structures across development teams.

Can I check for missing specification directories automatically before merging code?

Missing specification directories can be checked automatically to confirm the existence of corresponding specs, maintaining team standards before merging code in continuous integration environments.

Does branch validation work without external dependencies?

Branch validation works without external dependencies, using only internal scripts and references to detect non-compliant Git branch names and missing specification directories.

What is Git branch validation and when do I need it?

Git branch validation is the process of detecting non-compliant branch names and missing spec directories, needed when development teams require consistent version control practices and organized spec structures.