A prompt is a precise instruction or question supplied to an AI system. Instead of casually asking how it is doing, describe the help you need, give the relevant code or error, and explain the expected result. section 14.0
A useful prompt can ask AI to:
- Act as a code reviewer and comment on structure, syntax, potential errors, and improvements. section 14.0
- Explain a Python feature, such as list comprehension, with examples. section 14.0
- Explain an error message and help correct the code that caused it. section 14.0
- Add comments to a function or suggest other ways to use AI. section 14.0
A code-review prompt
“Act as a code reviewer. Give me feedback on the code structure, syntax, potential errors, and improvements. Here is my first function to review:” Then include the function below the request. section 14.0
Act as a code reviewer. Your task is to receive a function from me and give me feedback on the code structure, syntax, any potential errors, and improvements that can be made. Here is my first function to review:
Browse the complete reusable instruction for requesting a function review. section 14.0

















































