- Be specific (who, what, why, format)
- Give context (background + goal)
- Define the role (“Act as...”)
- Set output format (list, table, steps, etc.)
- Add constraints (length, tone, style)
- Provide examples (input → output)
- Break complex tasks into steps
- Ask for multiple options/variations
- Use clear, simple language
- Iterate (refine your prompt based on results)
- Ask for reasoning or “show steps” when needed
- Limit scope to avoid vague answers
- Include audience (who it’s for)
- Specify tone (formal, casual, witty, etc.)
- Request edits instead of full rewrites
⚡ Prompt Formula: Role + Task + Context + Constraints + Format
Try Command Code
The best coding agent for open models, in your terminal or on your desktop.
1npm i -g command-codeDesktop App · Docs · X · Discord
