chore(commit-change): remove confirmation step

Skip the plan-and-confirm phase — commit directly after analysis.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
bastien 2026-04-13 15:14:38 +02:00
parent cd38324cf7
commit e0e466c857

View File

@ -57,31 +57,10 @@ Common groupings:
- Unrelated bug fixes = each gets its own commit
- Formatting/style changes = separate from logic changes
### Phase 3: Present the plan
### Phase 3: Execute commits
Before committing anything, present a clear plan to the user:
```
Proposed commits (in order):
1. fix(auth): handle expired tokens in refresh flow
- src/auth/refresh.ts (modified)
- src/auth/refresh.test.ts (modified)
2. feat(api): add pagination to /users endpoint
- src/routes/users.ts (modified)
- src/routes/users.test.ts (new)
3. chore: update eslint config
- .eslintrc.json (modified)
```
Ask the user to confirm, modify the grouping, or adjust commit messages
before proceeding.
### Phase 4: Execute commits
For each approved commit group, in order:
Proceed directly — no confirmation needed. For each logical commit group,
in order:
1. Stage only the files for that commit: `git add <specific-files>`
- For partially changed files that belong to multiple commits, use