added base examples and drills
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# Drill: extract-policy
|
||||
|
||||
## Goal
|
||||
Move one mixed rule out of orchestration code into a pure decision.
|
||||
|
||||
## Prompt
|
||||
Find logic in `code/` that mixes decision-making with mechanics. Extract the decision into a pure function or policy with explicit inputs and outputs.
|
||||
|
||||
## Success conditions
|
||||
- The decision is separated from mechanics
|
||||
- Inputs and outputs are explicit
|
||||
- You can describe the command, event, and workflow role of the affected code
|
||||
Reference in New Issue
Block a user