← Blog
TUTORIAL

Better prompting cheat sheet

Be specific (who, what, why, format). Give context (background + goal). Define the role (“Act as...”)

Team Command Code
1 min read
Mar 21, 2026
  • 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-code

Desktop App · Docs · X · Discord

Share this article