english-prompt-optimizer
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEnglish Prompt Optimizer
英文提示词优化器
Transform vague or non-English prompts into clear, structured requests.
将模糊或非英语的提示词转换为清晰、结构化的请求。
Workflow
工作流程
1. DETECT → Is this non-English or vague?
2. ANALYZE → What does user actually want?
3. OPTIMIZE → Create structured English prompt
4. SHOW → Display optimized version
5. EXECUTE → Proceed with optimized request1. DETECT → Is this non-English or vague?
2. ANALYZE → What does user actually want?
3. OPTIMIZE → Create structured English prompt
4. SHOW → Display optimized version
5. EXECUTE → Proceed with optimized requestOptimization Template
优化模板
[TASK]: Clear statement of what to do
[CONTEXT]: Background information
[REQUIREMENTS]: Specific criteria
[OUTPUT FORMAT]: Expected deliverable
[CONSTRAINTS]: Limitations or preferences[TASK]: Clear statement of what to do
[CONTEXT]: Background information
[REQUIREMENTS]: Specific criteria
[OUTPUT FORMAT]: Expected deliverable
[CONSTRAINTS]: Limitations or preferencesOptimization Rules
优化规则
| Problem | Solution |
|---|---|
| Vague task | Add specific action verb + object |
| Missing context | Ask or infer from conversation |
| No format specified | Suggest appropriate format |
| Implicit constraints | Make them explicit |
| 问题 | 解决方案 |
|---|---|
| 模糊的任务 | 添加具体的动作动词 + 对象 |
| 缺少上下文 | 询问或从对话中推断 |
| 未指定输出格式 | 建议合适的格式 |
| 隐含的限制条件 | 使其明确化 |
Response Format
响应格式
🔄 Optimizing your request:
**Original:** [Original request in user's language]
**Optimized:**
───────────────────
[Structured English version]
───────────────────
Proceeding with optimized request...🔄 Optimizing your request:
**Original:** [Original request in user's language]
**Optimized:**
───────────────────
[Structured English version]
───────────────────
Proceeding with optimized request...Example
示例
Original:
帮我分析一下这个改动,由程序员改,和由 ai 改;分析一下人效Optimized:
TASK: Compare human vs AI code changes and analyze efficiency
REQUIREMENTS:
- Compare: code quality, time, correctness
- Analyze: efficiency metrics
OUTPUT FORMAT:
- Comparison table
- Efficiency analysis
- Conclusions with evidence原始请求:
帮我分析一下这个改动,由程序员改,和由 ai 改;分析一下人效优化后:
TASK: Compare human vs AI code changes and analyze efficiency
REQUIREMENTS:
- Compare: code quality, time, correctness
- Analyze: efficiency metrics
OUTPUT FORMAT:
- Comparison table
- Efficiency analysis
- Conclusions with evidenceBehavior
行为逻辑
- Brief acknowledgment in user's language
- Show optimized prompt
- Ask for missing info if needed
- Proceed with optimized version
- 用用户的语言简短确认
- 展示优化后的提示词
- 如有需要,询问缺失的信息
- 使用优化后的提示词继续处理