prompt-optimization

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Prompt Optimization

提示词优化

Goal

目标

Improve the user's prompt so Codex (or any LLM) produces better output while preserving intent.
优化用户的提示词,使Codex(或任意LLM)在保留核心意图的前提下生成更优质的输出。

Workflow

工作流程

  1. Read the user's original prompt carefully.
  2. Identify ambiguity, missing context, or unclear intent.
  3. Rewrite the prompt to remove ambiguity and provide clear instructions.
  4. Retain the core intention of the user's request.
  5. Add relevant constraints (format, length, style) when helpful.
  1. 仔细阅读用户的原始提示词。
  2. 识别歧义、缺失的上下文或不明确的意图。
  3. 改写提示词以消除歧义并提供清晰的指令。
  4. 保留用户请求的核心意图。
  5. 在有帮助的情况下添加相关约束(格式、长度、风格)。

Output format

输出格式

Provide:
  • Improved prompt
  • Short explanation of what was improved
需提供:
  • 优化后的提示词
  • 简短说明优化点

Constraints

约束条件

  • Do not assume domain knowledge not in the original prompt.
  • Preserve user intent.
  • 不要假设原始提示词中未提及的领域知识。
  • 保留用户的核心意图。

Example triggers

触发示例

  • “Draft me an email asking for feedback.”
  • “Turn this into a daily to-do list.”
  • $automating-productivity
  • “帮我写一封请求反馈的邮件。”
  • “把这个改成每日待办清单。”
  • $automating-productivity