speckit-git-validate

Validate current Git branch names against team feature-branch conventions.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/alansmello/Amani_ImportadosERP --skill speckit-git-validate-alansmello
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-validate
Source: https://github.com/alansmello/Amani_ImportadosERP/tree/main/.agents/skills/speckit-git-validate
Command: npx skills add https://github.com/alansmello/Amani_ImportadosERP --skill speckit-git-validate-alansmello

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validate current Git branch naming to ensure it aligns with team conventions and reduces confusion in collaborative workflows.

Core Features & Use Cases

  • Branch name validation against sequential and timestamp patterns.
  • Graceful handling when Git is unavailable or not in a repository, with an optional SPECIFY_FEATURE fallback.
  • Clear messaging indicating success, warnings, or missing spec directories.

Quick Start

Run the validation to check your current branch name against the supported patterns and verify a corresponding spec directory exists under 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 local development environment?

Git branch naming conventions are validated by checking the current branch name against sequential three-or-more digit prefixes or timestamp-based prefixes, ensuring compliance with team workflows. The validation also verifies a corresponding spec directory exists under specs/.

What happens to branch validation when Git is unavailable or not in a repository?

Branch validation gracefully degrades when Git is unavailable or the directory is not a Git workspace, providing clear warnings instead of failing. An optional SPECIFY_FEATURE fallback can be used to handle these edge cases smoothly.

How does feature branch name pattern matching work for sequential and timestamp prefixes?

Feature branch name pattern matching works by enforcing strict adherence to either a sequential three-or-more digit prefix or a timestamp-based prefix format. This standardization reduces confusion and aligns local branches with team conventions.

Does branch validation check for a corresponding spec directory under specs?

Branch validation does check for a corresponding spec directory under specs/ to ensure documentation aligns with the branch. It provides clear messaging indicating success, warnings, or missing spec directories after the check.

Can I use this branch validation tool without configuring external dependencies?

You can use this branch validation tool without configuring external dependencies, as it operates with zero required dependencies. It functions directly within local development environments to enforce feature branch naming rules.

Why should I enforce feature branch naming conventions in DevOps workflows?

Enforcing feature branch naming conventions in DevOps workflows reduces confusion in collaborative environments by standardizing names. It ensures sequential or timestamp prefixes are used consistently and that matching spec directories are maintained.