.claude/skills/speckit-git-validate/SKILL.md
Validate current branch follows feature branch naming conventions
npx skillsauth add pradeepmouli/lspeasy speckit-git-validateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Validate that the current Git branch follows the expected feature branch naming conventions.
git rev-parse --is-inside-work-tree 2>/dev/null[specify] Warning: Git repository not detected; skipped branch validation
Get the current branch name:
git rev-parse --abbrev-ref HEAD
The branch name must match one of these patterns:
^[0-9]{3,}- (e.g., 001-feature-name, 042-fix-bug, 1000-big-feature)^[0-9]{8}-[0-9]{6}- (e.g., 20260319-143022-feature-name)If on a feature branch (matches either pattern):
✓ On feature branch: <branch-name>specs/:
specs/<prefix>-* where prefix matches the numeric portionspecs/<prefix>-* where prefix matches the YYYYMMDD-HHMMSS portion✓ Spec directory found: <path>⚠ No spec directory found for prefix <prefix>If NOT on a feature branch:
✗ Not on a feature branch. Current branch: <branch-name>Feature branches should be named like: 001-feature-name or 20260319-143022-feature-nameIf Git is not installed or the directory is not a Git repository:
SPECIFY_FEATURE environment variable as a fallbacktools
Use for ANY rename, file-move, or move-symbol refactor — especially rename-heavy work across multiple files. Claude Code's built-in LSP tool is READ-ONLY (find references, but no rename / file-move / move-symbol). Hand-editing those refactors silently misses re-exports, aliased imports, type-only imports, and {@link} doc references. This skill drives a real language server via the `lspeasy` CLI to apply a correct WorkspaceEdit that catches every reference. Trigger when the user asks to rename a function/class/variable/type project-wide, move a file and fix its importers, or pull a symbol out into another module.
tools
Documentation site for lspeasy Use when: You are building a browser-based LSP client, a WebSocket-backed language....
tools
Documentation site for lspeasy Use when: You are implementing a custom client layer and need the same validation....
tools
Use when working with lspeasy (client, core, server). Covers: lsp, language-server-protocol, lsp-client, language-client, jsonrpc, transport, lsp-server, language-server.