Repository navigation
Expand file tree
/
Copy pathCLAUDE.local.md.example
More file actions
40 lines (31 loc) · 1.78 KB
/
Copy pathCLAUDE.local.md.example
File metadata and controls
40 lines (31 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Personal Overrides — do not commit (added to .gitignore)
## Communication style
- Short, direct responses. No end-of-response summary.
- Do not rephrase my question before answering.
- Propose one solution, not a list of options unless explicitly asked.
## Personal workflow
- Always read the full file before modifying it.
- Always verify compilation (`mvn verify` or `npm run typecheck`) before declaring a task done.
- When intent is unclear, ask ONE targeted question.
## Local environment
- Backend on port 8080, frontend on port 5173.
- Active Spring profile in dev: `local` (file `application-local.yml` ignored by Git).
- Local database: `taskflow_dev` on PostgreSQL localhost:5432.
- No Docker in daily dev — PostgreSQL and Redis run natively.
## Code preferences
- Lombok allowed on the backend: `@Data`, `@Builder`, `@RequiredArgsConstructor`.
- No JavaDoc except on public service interfaces.
- Prefer Java records for immutable DTOs.
- On the frontend, prefer arrow functions over function declarations.
## Work in progress
- Testing Testcontainers for repository integration tests.
- Exploring Spring AI for automatic task summary generation.
## Claude Code session best practices
Context management:
- `/compact` — compress conversation when context grows long (long sessions, big diffs)
- `/clear` — reset session entirely when switching to an unrelated task
Model cost optimization (manual — no automatic routing):
- `/model claude-haiku-4-5` — documentation, javadoc, renaming, simple syntax fixes
- `/model claude-sonnet-4-6` — feature development, bug fixes, architecture (default)
- `/model claude-opus-4-8` — blocked problems, complex refactoring, security review
If blocked after 2 failed attempts on the same problem, stop and tell the user to run `/model claude-opus-4-8`.