added base examples and drills
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# Drill: break-dependency
|
||||
|
||||
## Goal
|
||||
Introduce one seam that reduces coupling to a hard dependency.
|
||||
|
||||
## Prompt
|
||||
Find one hard dependency in `code/` such as time, randomness, persistence, network, UI, or global state. Introduce the smallest seam you can so that behavior can be controlled more easily in tests.
|
||||
|
||||
## Success conditions
|
||||
- One dependency is isolated behind a seam
|
||||
- The change is small and reviewable
|
||||
- You can explain the enabling point and why it is safer to change now
|
||||
Reference in New Issue
Block a user