added base examples and drills

This commit is contained in:
2026-05-20 17:42:01 -06:00
parent 9bf788d9ef
commit 4fc0d851e7
40 changed files with 802 additions and 1 deletions
@@ -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