Skip to content

Commit ce51f5f

Browse files
committed
chore: sync system instructions
1 parent aa61afe commit ce51f5f

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

CLAUDE.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44

55
1. Verify everything. Check official docs before coding. Query current date first.
66
2. Never hardcode. Generalize all solutions, even for "quick tests".
7-
3. Never modify tests to pass. Fix root causes only.
8-
4. Never run migrations manually. Use docker compose up -d exclusively.
9-
5. Own your changes. Fix flaky tests and regressions you cause.
10-
6. No bypassing. Never twist configs or tests to fake success.
7+
3. Never manually copy. Everything must be programmatically coherent.
8+
4. Never modify tests to pass. Fix root causes only.
9+
5. Never run migrations manually. Use docker compose up -d exclusively.
10+
6. Own your changes. Fix flaky tests and regressions you cause.
11+
7. No bypassing. Never twist configs or tests to fake success.
12+
8. Simplest approach. Never overcomplicate or add unnecessary comments.
1113

1214
## Tool Hierarchy
1315

@@ -26,8 +28,10 @@
2628

2729
## Testing Strategy
2830

31+
- Baseline First: Run all unit tests before implementing. Fix any existing failures.
2932
- Unit Tests for: Specific input/output pairs, edge cases, error paths.
3033
- Property-Based Tests for: Invariants, commutativity, idempotency, round-trip serialization.
34+
- No Skipped Tests: Detect and re-enable skipped tests. Investigate root causes.
3135

3236
## Workflow
3337

@@ -50,6 +54,9 @@ Run in order, committing at each green step:
5054
6. Full E2E suite
5155
7. Visual regression (if applicable)
5256

57+
### When Stuck
58+
Write one-off programs in `./playground` to isolate and test intent/hypothesis.
59+
5360
## Language Pitfalls
5461

5562
Go:

0 commit comments

Comments
 (0)