ChatGPT Best Practices: How to Write Effective Prompts

Sharing tips and best practices for writing ChatGPT Prompts to help you collaborate better with AI.

When using ChatGPT, the quality of your Prompt directly determines the quality of the output. This article shares some practical Prompt writing techniques.

1. Define Your Objective Clearly

When using ChatGPT, expressing your needs clearly is the first step. For example:

❌ Bad Example:

“Help me write something”

✅ Good Example:

“Help me write a cover email for a Frontend Developer position with 3 years of experience”

2. Use Structured Prompts

Break down your requirements into a clear structure:

Role: You are a senior frontend engineer
Task: Review code
Requirements:
- Point out performance issues
- Suggest optimizations
- Provide code style recommendations

3. Provide Context

You need to give the AI sufficient background information so it can provide a more accurate answer.

For example:

“I am developing a React project using TypeScript, and the performance issue I’m encountering is…“

4. Specify the Output Format

If you need the output in a specific format, remember to specify it explicitly:

  • “Present this as a Markdown table”
  • “Return the result in JSON format”
  • “List the pros and cons in bullet points”

5. Iterate and Optimize

It is normal for AI replies to be imperfect. You can improve them by:

  • Adding more details
  • Adjusting the phrasing
  • Asking the AI to regenerate

Master these techniques to leverage ChatGPT more effectively and boost your productivity! I will share more tips on using AI tools in the future, so stay tuned.