File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 44
551 . Verify everything. Check official docs before coding. Query current date first.
662 . 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
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:
50546 . Full E2E suite
51557 . 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
5562Go:
You can’t perform that action at this time.
0 commit comments