Files
refactor-kata/kata/example-seam-drill/scenarios/extract-policy/drill-prompt.md
T
2026-05-20 17:42:01 -06:00

13 lines
441 B
Markdown

# 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