# AI提示词分析器

> 免费的AI提示词分析器如何按六项标准为提示词打出0到100分：附真实的优化前→优化后示例（19 → 63、19 → 83），以及带来这些差异的具体修改。

来源：Promptea — https://www.promptea.me/zh/landing/prompt-analyzer · 语言：简体中文 · 最后更新：2026-11-14

提示词分析器会在你把提示词发给ChatGPT、Claude、Gemini或其他任何AI之前先检查一遍。Promptea会按照与你所选任务相关的标准审查你的提示词：编程、数据、营销、学习、图像、翻译或摘要。

你会得到评分、缺失的部分、最该先改的地方，以及一份可以直接复制的优化版本。

使用方法：粘贴提示词，选择它的用途和你要使用的AI，分析器就会应用固定规则，同一条提示词总是得到相同的评分。它按影响大小列出发现的问题，写出优化版本，并为这个版本重新评分，让你看到优化前→优化后的评分。Promptea负责优化提示词，但不会在模型上运行它们。

- 按清晰度、上下文、约束条件、输出格式和可验证性细分评分。
- 提示词过于含糊时，提出有针对性的追问。
- 优化结果可以是便于阅读的清单，也可以是严格的JSON。

## 修改前→修改后示例

### 营销文案：从一句话到一份需求简报

修改前 (评分 19/100):

```text
Write a product description for our app.
```

修改后 (评分 63/100):

```text
Write a product description for Tasklight, our to-do app for freelancers.
Audience: freelance designers who juggle 5+ clients.
Goal: get them to start the free trial.
Include: the two features that matter most to them (client folders, invoice reminders) and one concrete benefit.
Constraints: 80–100 words, plain language, no superlatives or made-up stats.
Call to action: end with "Start your free 14-day trial".
Output format: a headline (max 8 words), then one paragraph.
Success check: a freelancer can tell in one read what Tasklight does and what to click.
```

分析器指出缺少受众、背景、输出格式和行动号召。改写后的版本把这四项都写清楚了，还加上了篇幅限制和检验结果的方法。

### 调试：从“帮我修好”到可复现的bug报告

修改前 (评分 19/100):

```text
my code doesn't work, fix it
```

修改后 (评分 83/100):

```text
My Python function returns None instead of the total.
Expected: sum_prices([{"price": 2}, {"price": 3}]) returns 5.
Actual: it returns None. No error is raised.
Code:
def sum_prices(items):
    total = 0
    for item in items:
        total += item["price"]
Constraints: keep the signature; Python 3.11; no new dependencies.
Steps to reproduce: call sum_prices([{"price": 2}, {"price": 3}]) in a Python 3.11 shell.
Output format: 1) the cause in one sentence, 2) the fixed function in a code block, 3) one pytest test that would have caught it.
```

调试类提示词需要写明你预期的结果、实际发生了什么、代码本身以及如何复现。有了这四样，模型就能找到bug，而不是靠猜（这里是漏掉的return）。

### JSON提取：评分尚可，但仍缺少schema

修改前 (评分 62/100):

```text
Extract the important info from these emails as JSON.
```

修改后 (评分 77/100):

```text
Context: these are emails from our sales inbox; the result fills our team calendar.
Extract every meeting request from the emails below.
Return only JSON: an array of objects with the fields "sender" (string), "date" (YYYY-MM-DD or null), "time" (HH:MM, 24h, or null) and "topic" (max 10 words).
If an email has no meeting request, skip it. If a field is missing, use null; do not guess.
Example: [{"sender": "Ana Ruiz", "date": "2026-11-20", "time": "15:00", "topic": "Q4 budget review"}]
Emails:
"""
[paste the emails here]
"""
```

要求输出JSON已经能在输出格式上得分，但如果没有字段、类型和输入文本，模型每次运行都会自己编一套schema。写明字段、null规则并给出一个示例，输出才能被解析。

## 常见问题

### 什么是提示词分析器？

一种在你把提示词发给AI之前先读一遍的工具，它会告诉你缺了什么：目标、上下文、约束条件、输出格式，或者检验回答的方法。Promptea还会按0到100分为提示词评分，并写出改进版本。

### 评分是怎么计算的？

六项标准——清晰度、上下文、约束条件、输出格式、可验证性和安全性——每一项都按固定规则评分，并根据你选择的任务加权。可验证性在调试任务中比在随意的文本请求中更重要。同一条提示词总是得到相同的评分。

### 提示词分析器免费吗？

免费。不需要账号，也不用注册：粘贴提示词就能分析。

### 它会在ChatGPT或Claude上运行我的提示词吗？

不会。Promptea只分析和改写提示词，你再把结果复制到自己使用的AI里。评分来自规则，而不是让另一个模型来打分。

### 它针对哪些AI模型进行优化？

支持GPT、Claude、Gemini、Grok、Kimi、DeepSeek、Perplexity、Qwen、GLM、MiniMax、Doubao。每个模型都会按其提供商文档推荐的结构来编写（例如，Gemini把长上下文放在问题之前，DeepSeek写明明确的验收标准）。

### 我的提示词会被保存吗？

Promptea收集的是使用元数据，而不是你的提示词文本。把提示词保存到提示词库时，它只存在你自己的浏览器里。

- [提示词如何评分](https://www.promptea.me/zh/guides/prompt-quality-scoring)
- [调试一条失效的提示词](https://www.promptea.me/zh/guides/prompt-debugging)
- [提示词合集](https://www.promptea.me/zh/prompts)
- [指南](https://www.promptea.me/zh/guides)
- [按模型分类的提示词](https://www.promptea.me/zh/models)
