Commit 01bdf0f
fix(claude-setup): stop the quick-commit template from staging blind
command-templates.md contradicted itself: line 50 says "Never use
`git add .` - always review what you're committing", while the
/quick-commit template staged everything with the -A flag.
Staging everything sweeps in untracked files that were never reviewed:
build artifacts, local scratch files, and any secret-bearing config a
missing gitignore entry left visible. The "quick" path is precisely
where nobody is reading the diff, so it is the worst place to do it.
Staged files are now listed individually, matching the other two commit
templates in the same file.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 2d43e31 commit 01bdf0f
1 file changed
Lines changed: 6 additions & 3 deletions
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
309 | 312 | | |
310 | 313 | | |
311 | 314 | | |
| |||
0 commit comments