Prompt shell
Replace highlighted brackets, then copy.
In [language/framework], suggest code to [task]. Provide minimal snippet ready to paste, include imports, and short comment if non-obvious.
How to use
language/framework- replace the bracketed field with your infotask- replace the bracketed field with your info
Provide (Inputs)
- Language/framework
- Task
- Constraints
- Style guide
Expected output (Outputs)
- Code snippet
- Import list
- Comment
Tips
- Avoid broad scaffolding; keep tight.
- Match existing style if shown.
- Note any version-specific calls.