AI
What a good prompt actually looks like (in practice)
-
Start with the goal
Clearly state what you want to achieve in one or two sentences.
If there are strict requirements or success criteria, mention them right away. -
Assign a role only if essential
Only specify a role (e.g. “Act as a senior SRE”) if it truly changes how the assistant should respond.
Always clarify who the response is for: beginner, expert, manager, etc. -
Give relevant context
Share the necessary background or sources for the task (text, links, files, images).
Highlight assumptions to treat as true and note anything that’s unknown. -
Clarify boundaries
Define what the assistant should and shouldn’t do.
For example: “No web browsing,” “Don’t suggest new tools,” “Use a formal tone,” etc. -
State important rules upfront
Include guidelines, style, legal, or safety constraints early.
If some rules are more important than others, mention how to handle conflicts between them. - Describe the approach you want
Instead of just “think step-by-step,” ask for:- Key assumptions
- Remaining uncertainties
- Basic checks or validations
- Brief rationale for trade-offs
Specify when to ask questions versus when to make assumptions.
- Define the output format
State clearly:- Required format (section headings, bulleted lists, code, table, JSON, etc.)
- Length, tone, and language preferences
- If you need multiple versions, say how they should differ.
-
Provide examples when helpful
Include one or two positive examples if you can.
Show a quick “don’t do this” example for clarity if certain mistakes should be avoided. - Clarify next steps
Say what should happen after the draft:- Should the assistant ask questions?
- Suggest improvements?
- Wait for user edits? Only include prior conversation/history if it’s important for interpretation.
- Optionally, add a head start
If you have a rough draft or template, share it.
This helps the assistant build on your structure instead of starting from scratch.
Ralph wiggum
Ralph is a Bash loop:
while :; do cat PROMPT.md | claude-code ; done