Effective Prompting

Effective Prompting

Getting the Best Results

Optimization Strategies

Be Specific and Clear

  • Describe exactly what you want the code to do
  • Include expected inputs, outputs, and behavior

Break Down Complex Tasks

  • Ask for changes in manageable steps
  • Build complexity incrementally

Provide Examples

  • Share example inputs and outputs
  • Reference existing patterns in your code

Use Discussion Mode

  • Use /ask to discuss approaches before making changes
  • Say "go ahead" to implement after discussion

Iteration Techniques

  • Refine implementations with follow-up requests
  • Use specific feedback when refining code
4 | 9