Feature from spec
Implement one feature that fits the file's existing conventions.
The prompt
Implement <feature> in @<file>. Match the existing patterns in this file. Add types, handle the error cases, and stop after the minimal working version — no extra abstractions. Why it works
Pointing at a concrete file with @ gives the model the real conventions to copy,
and “stop after the minimal working version” prevents speculative generality you’ll
have to delete later.
Fill in
<feature>— the behavior to add.@<file>— the file that sets the pattern.
Follow-ups
- “Now add the edge case for empty input.”
- “Extract the helper only if it’s used more than once.”