원클릭으로
speckit-branch-convention-rename
Rename non-compliant branches and spec folders to match the configured convention
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Rename non-compliant branches and spec folders to match the configured convention
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.
Connect to the running Redmine instance and log in via the Playwright MCP browser, using REDMINE_PLAYRIGHT_URL/REDMINE_PLAYRIGHT_USER/REDMINE_PLAYRIGHT_PASSWORD environment variables. Use whenever the user asks to open, check, access, or test something in the running Redmine UI (e.g. verifying a feature in the browser, taking a screenshot of a page, manually exercising a flow).
Stage the current changes and create a git commit with a properly formatted English message. Use whenever the user asks to commit, save, or check in their work. Picks a Conventional-Commits-style prefix (fix:, feat:, refactor:, docs:, test:, chore:, style:, perf:) based on the actual diff, keeps the first line a concise summary, and adds a bullet list of details only when the change touches several things.
Execute the implementation plan by processing and executing all tasks defined in tasks.md
Execute the implementation planning workflow using the plan template to generate design artifacts.
Create or update the feature specification from a natural language feature description.
| name | speckit-branch-convention-rename |
| description | Rename non-compliant branches and spec folders to match the configured convention |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"branch-convention:commands/speckit.branch-convention.rename.md"} |
Rename non-compliant Git branches and spec folders to match the configured naming convention. Handles both branch renaming and folder moving with full safety checks.
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty). The user may specify a specific branch to rename (e.g., "004-chat-system") or "all" to rename everything non-compliant.
.specify/ directory.specify/branch-convention.yml/speckit.branch-convention.configure firstRun validation first: Execute the same checks as /speckit.branch-convention.validate to identify all non-compliant branches and folders.
Build rename plan: For each non-compliant item, compute the correct name:
| Current Name | Convention | New Name | Action |
|---|---|---|---|
004-chat-system | {type}/{seq}-{kebab} | feat/004-chat-system | Rename branch, keep folder |
5-api | {seq}-{kebab} (pad 3) | 005-api | Rename branch + move folder |
PROJ142-auth | {ticket}-{kebab} | PROJ-142-auth | Rename branch + move folder |
Present the rename plan: Show a preview table before making any changes:
# Rename Plan
| # | Current Branch | New Branch | Current Folder | New Folder |
|---|---------------|------------|----------------|------------|
| 1 | 004-chat-system | feat/004-chat-system | 004-chat-system | 004-chat-system (unchanged) |
| 2 | 5-api | feat/005-api | 5-api | 005-api |
**Actions**: {N} branches to rename, {M} folders to move
Confirm with user: Ask for explicit confirmation before proceeding. This is a destructive operation.
Execute renames (after confirmation): For each item in the plan:
git mv specs/{old} specs/{new} (preserves git history)git branch -m {old} {new}Update references in artifacts: After renaming, scan all spec artifacts for stale references:
spec.md header metadata (branch name field)plan.md header metadatatasks.md header metadataReport: Output a summary:
/speckit.branch-convention.validate to confirm all items are now compliantgit branch -mgit push origin :{old} {new}) but do not push automatically