speckit-branch-convention-rename

Rename non-compliant Git branches and spec folders to match configured naming conventions.

2|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/pradeepmouli/lspeasy --skill speckit-branch-convention-rename
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-branch-convention-rename
Source: https://github.com/pradeepmouli/lspeasy/tree/main/.github/skills/speckit-branch-convention-rename
Command: npx skills add https://github.com/pradeepmouli/lspeasy --skill speckit-branch-convention-rename

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Rename non-compliant Git branches and spec folders to match the configured naming convention, preventing drift and confusion in repository governance.

Core Features & Use Cases

  • Safety-first rename workflow: validates the working tree, previews a plan, and requires explicit confirmation before applying changes.
  • Comprehensive plan generation: detects non-compliant branches and folders and computes exact new names and required moves.
  • End-to-end execution: renames branches and moves folders with git mv, then updates internal references and artifacts to keep history consistent.

Quick Start

Provide the target to rename (e.g., all or a specific non-compliant branch) to start the rename workflow.

Frequently Asked Questions about speckit-branch-convention-rename

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

FAQPage Schema
How do I automate renaming non-compliant Git branches to match a naming convention?

Branch renaming workflow detects non-compliant Git branches, computes exact new names based on configuration, and executes changes safely using git mv after presenting a plan and requiring explicit confirmation.

How do I safely move spec folders in a spec-kit project without breaking references?

Spec folder moves are executed with git mv under safety checks, updating internal references and artifacts automatically to maintain consistent Git history and prevent broken links within the .specify/ directory.

What does a branch rename safety check involve before applying changes?

Branch rename safety checks validate the working tree, load branch-convention configuration, build a detailed rename plan, and require explicit user confirmation before applying any changes to prevent repository drift.

Can I rename a specific non-compliant Git branch instead of all branches at once?

Yes, you can provide a specific non-compliant branch as the target. The workflow computes the required move for that individual branch and executes it after confirmation, rather than requiring all branches to be processed at once.

Do I need a .specify directory to use automated folder and branch renaming?

Yes, a .specify/ directory is required. The rename workflow applies to spec-kit projects by loading branch-convention configuration from this directory to validate and compute folder moves and branch renames safely.

What's the best way to prevent repository naming drift when conventions change?

Automating consistent branch and folder renames prevents repository naming drift. The workflow detects non-compliant branches and folders, computes exact new names based on configuration, and updates internal references to maintain governance.