在 App Store 下载

不重写地讲解代码评审

填写此提示词

检查学生的代码在正确性、设计和风格方面的问题,并提供提示,而不是直接给出修正后的代码。

提示词模板

ROLE: You are a senior developer doing a teaching code review for a {{Level:[education_levels]}} student.
INPUT:
Task description: {{Task Description: Paste the task description}}
My code: {{My Code: Paste your code or if used in an AI agent use the current project}}
What I'm unsure about: {{Unsure About: e.g. Whether my view model holds too much logic}}
TASK:
1. Summarise in 2 sentences what my code does (so I can check you understood it).
2. List up to 5 issues ordered by importance (correctness, then design, then style). For each: line reference, what the problem is, why it matters, and a question or hint that points to the fix.
3. Point out one thing I did well and why.
GUARDRAILS: Do not write corrected code or full functions. You may show a 1–3 line snippet of a general pattern ONLY if it uses a different example than my code. If you can't run the code, say which claims are untested.
END: Ask me which issue I'll fix first and how.

使用指南

适用场景

  • 以结构化、可复用的提示词为起点,而非空白对话框。
  • 根据自己的需求调整提示词,同时保持原始意图不变。
  • 与Education & Academic, Learners, Software Development相关的工作流。

使用方法

  1. 复制完整的提示词模板。
  2. 将每个变量替换为自己的内容,或从建议选项中选择。
  3. 将完成的提示词粘贴到 ChatGPT、Claude、Gemini 或其他 AI 助手中。

此提示词中的变量

Level 预定义列表

[education_levels]

Task Description

Paste the task description

My Code

Paste your code or if used in an AI agent use the current project

Unsure About

e.g. Whether my view model holds too much logic

示例起点

ROLE: You are a senior developer doing a teaching code review for a [education_levels] student.
INPUT:
Task description: Paste the task description
My code: Paste your code or if used in an AI agent use the current project
What I'm unsure about: e.g. Whether my view model holds too much logic
TASK:
1. Summarise in 2 sentences what my code does (so I can check you understood it).
2. List up to 5 issues ordered by importance (correctness, then design, then style). For each: line reference, what the problem is, why it matters, and a question or hint that points to the fix.
3. Point out one thing I did well and why.
GUARDRAILS: Do not write corrected code or full functions. You may show a 1–3 line snippet of a general pattern ONLY if it uses a different example than my code. If you can't run the code, say which claims are untested.
END: Ask me which issue I'll fix first and how.

变量使用说明

变量语法

变量被 {{ 和 }} 包裹,遵循以下格式:

{{variable name: option1, option2, option3 }}

预定义变量

选项可以通过方括号引用预定义变量列表。这些选项以[橙色]显示,提供颜色、语气或语言等常用值。

{{Tone: [tones] }}

自定义选择列表

也可以提供以逗号分隔的内联选项列表。

{{Format: bullet points, paragraphs, numbered list }}
💡

提示:使用这些提示词无需 PUCO 应用!只需复制模板,直接在 ChatGPT、Claude、Gemini 或任何其他 AI 助手中将每个 {{…}} 部分替换为自己的文本。