spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

[Feature Request] Configurable naming convention for /specify branch and specs/ folder

Open jmrtnz94 opened this issue 1 year ago • 7 comments

Please add a way to configure the naming convention used when /specify creates a Git branch and the corresponding specs/<…> folder. Many teams need names that include ticket IDs or follow GitFlow-style prefixes.

Current behavior /specify auto-creates a branch (e.g., 003-chat-system) and a matching directory under specs/…. The names are not user-configurable.

Requirement (behavioral) Whatever approach we choose, the branch name and folder name should always stay in sync. A single computed value should be used to create both.

⸻

Approaches (seeking maintainer preference)

Kept in the repo’s style (simple CLI, optional config under .specify/): 1. One-off CLI flags (explicit, easy to trial) • specify --branch-format "