Skip to content

Commit b886279

Browse files
mihowclaude
andcommitted
Add git add -p to recommended development practices
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent c4022a0 commit b886279

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CLAUDE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ This file helps AI agents (like Claude) work efficiently with the AMI Data Compa
1313
3. **Always prefer command line tools** to avoid expensive API requests (e.g., use git and jq instead of reading whole files)
1414
4. **Use bulk operations and prefetch patterns** to minimize database queries
1515
5. **Commit often** - Small, focused commits make debugging easier
16-
6. **Use TDD whenever possible** - Tests prevent regressions and document expected behavior
17-
7. **Keep it simple** - Always think hard and evaluate more complex approaches and alternative approaches before moving forward
16+
6. **Use `git add -p` for staging** - Interactive staging to add only relevant changes, creating logical commits
17+
7. **Use TDD whenever possible** - Tests prevent regressions and document expected behavior
18+
8. **Keep it simple** - Always think hard and evaluate more complex approaches and alternative approaches before moving forward
1819

1920
### Think Holistically
2021

0 commit comments

Comments
 (0)