.github/skills/speckit-branch-convention-validate/SKILL.md
Check all feature branches and spec folders against the configured naming convention
npx skillsauth add pradeepmouli/zod-to-form speckit-branch-convention-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.
Check all existing feature branches and spec folders against the configured naming convention. Reports compliance status and identifies violations.
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty). The user may specify a specific branch to validate (e.g., "003-user-auth") or "all" to check everything.
.specify/ directory.specify/branch-convention.yml{seq}-{kebab} for both branch and folder)Load convention: Read .specify/branch-convention.yml and extract:
branch_pattern — the expected branch naming patternfolder_pattern — the expected spec folder naming patternCollect branches and folders: Gather all feature-related items:
main, master, develop)specs/Validate each item: For every branch and folder, check:
| Check | Rule | Example Violation |
|-------|------|-------------------|
| Pattern match | Branch matches branch_pattern structure | user-auth missing sequence number |
| Type prefix | If pattern includes {type}, prefix must be in type_prefix map | feature/003-auth instead of feat/003-auth |
| Sequence format | {seq} must be zero-padded to seq_padding digits | 3-auth instead of 003-auth |
| Length limit | Branch name must not exceed max_length characters | 003-very-long-branch-name-that-exceeds-limit... |
| Case rule | If lowercase: true, no uppercase characters (except ticket IDs) | 003-User-Auth |
| Separator | Words must use configured separator | 003_user_auth when separator is - |
| Branch-folder sync | Branch name and folder name must be derivable from same source | Branch feat/003-auth but folder 004-auth |
| Ticket format | If pattern includes {ticket}, must match ticket_pattern regex | proj-142 when pattern requires [A-Z]+-[0-9]+ |
Output compliance report:
# Branch Convention Compliance Report
**Convention**: {preset name or "custom"}
**Branch pattern**: {branch_pattern}
**Folder pattern**: {folder_pattern}
## Results
| Branch | Folder | Status | Issues |
|--------|--------|--------|--------|
| feat/003-user-auth | 003-user-auth | ✅ Compliant | — |
| 004-chat-system | 004-chat-system | ⚠️ Non-compliant | Missing type prefix |
| feat/5-api | 5-api | ⚠️ Non-compliant | Sequence not zero-padded |
## Summary
- **Total**: {N} branches
- **Compliant**: {X} ✅
- **Non-compliant**: {Y} ⚠️
- **Orphaned folders** (no branch): {Z}
## Recommended Actions
1. Run `/speckit.branch-convention.rename` to fix non-compliant items
Report: Output the compliance report. Do not modify any files — this command is read-only.
tools
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.