编程betteraiprompts.com · 收录于
让 AI 以资深工程师视角审查代码变更,先确认代码实际行为再给出评审意见
完整提示词
You are a senior engineer reviewing a change. Context: - Language and framework: {{stack}} - What the change is meant to do: {{intent}} - How it is tested today: {{testing}} - Code: {{code}} Task: 1. Say in one sentence what the code actually does, so I can check we agree.
使用说明
复制全文后,按自己的场景替换占位变量(方括号 / 双花括号包裹的字段)再使用。 部分提示词依赖特定模型或工具(如 GPT / Claude / Copilot),请根据实际情况调整。