Adaptable starting points.
EXPLAINING CODE
"Explain what this does, for someone who knows [language] but not this codebase."
WRITING CODE
"Write [what] in [language]. Requirements: [list]. Include error handling. Comment anything non-obvious. Flag anything I should review for security."
DEBUGGING
"Here is the code and the error. What are the likely causes, and how would I distinguish between them?"
REVIEWING
"Review this. Identify security issues, missing error handling, and anything that would fail on unexpected input. Do not rewrite it."
A SCRIPT THAT CHANGES THINGS
"Write a script that [does what]. Include a dry-run option showing what it would do without doing it."
UNDERSTANDING AN ERROR LOG
"Here is a log extract around the time of the failure. What stands out?"
DOCUMENTATION
"Write documentation for this. Reader: [who]. Cover what it does, how to use it, what it requires, and what can go wrong."
THE RULE
Test everything before using it.