Commit Changes
Command
bash
git add <files> git commit -m "type(scope): description"
Commit Format
code
<type>(<scope>): <description> Co-Authored-By: Claude <noreply@anthropic.com>
Types
| Type | Usage |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation |
refactor | Code restructure |
test | Add/fix tests |
chore | Maintenance |
Scopes
battle, creatures, moves, ui, world, player, events, store, config, tests, assets
Rules
- •Lowercase description, no period
- •Body explains "why" if needed
- •Breaking changes: add
!after type
Example
Input: "Commit les changements" Output:
bash
git add src/data/species.ts git commit -m "feat(creatures): add Rocklet rock-type creature Co-Authored-By: Claude <noreply@anthropic.com>"