.agents/skills/speckit-branch-convention-rename/SKILL.md
Rename non-compliant branches and spec folders to match the configured convention
npx skillsauth add pradeepmouli/zod-to-form speckit-branch-convention-renameInstall 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.
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 automaticallytools
Use when working with zod-to-form (core, react, cli, codegen, vite).
tools
Vite plugin for zod-to-form — transforms ?z2f imports into generated form components and optionally replaces <ZodForm> JSX call sites with generated components at build time Use when: You want `import SignupForm from './signup.schema?z2f'` to Just Work in a.... Also: vite, vite-plugin, zod, zod-v4, codegen, forms, form-generation, schema-driven, react-hook-form, build-plugin, jsx-transform.
development
Runtime <ZodForm> renderer for Zod v4 schemas Use when: You need form rendering in storybook, playgrounds, or low-traffic admin UIs —.... Also: zod, zod-v4, react, forms, form-generation, react-hook-form, schema-driven, dynamic-forms, form-renderer, hookform-resolver, zod-form-renderer.
development
Schema walker and processor registry for Zod v4 form generation Use when: You want per-field validation instead of whole-form validation. Also: zod, zod-v4, forms, form-generation, schema, schema-walker, processor-registry, react-hook-form, schema-driven, form-schema, zod-registry.