Commit
Commits with conventional format suited for this repo.
Format
code
<type>(<scope>): <short description>
Scope is purely optional — only when truly required.
Types
| Type | When |
|---|---|
voice | Voice samples config, model references |
tts | Text-to-speech scripts, generation |
scripts | Python scripts for uploading, processing |
ai | Claude config, skills, hooks (.claude/) |
chore | Config, cleanup, structure |
docs | READMEs, documentation |
infra | Nix, CI, formatting config |
release | Version bumps and releases |
Scopes (purely optional)
Subfolder names. Only use when truly needed for clarity.
| Scope | When |
|---|---|
voice_cloning | Voice cloning scripts |
tts | TTS generation scripts |
samples | Audio samples management |
Both lists evolve — check actual structure.
Rules
- •Lowercase, no period at end
- •Imperative mood ("add" not "added")
- •Body optional — only when context needed
- •Body format: bullet points, past tense, period at end
- •Never add AI attribution (no "Co-Authored-By", "Generated with", etc.)
Examples
code
voice: add model reference for narrator scripts: add upload samples script ai: add commit skill chore: restructure folders docs: update README infra: add dprint config
With body (when needed):
code
scripts(voice_cloning): update upload with transcript support - Added companion .txt file reading. - Added --enhance flag for audio enhancement. - Updated error handling for missing API key.
Workflow
- •
git status— see what changed - •
git diff— review changes - •
Propose commits:
- •If conversation discussed a specific topic → propose single commit for that topic only
- •Otherwise → propose multiple commits, one per logical change
- •
Always preview — for each proposed commit show:
codeCommit 1: <message> git add <files>
(repeat for each commit if multiple)
- •
Wait for user approval — never commit without explicit approval
- •
Execute approved commits
- •
Don't push unless asked