What is the problem?
一份 Claude Code bug prompt 检查清单,帮助新手确认复现步骤、错误原文、运行环境、预期结果、脱敏处理和验证命令。
Quick solution
Treat this as a AI tools checklist issue. First confirm the environment, inputs, permissions, logs, and delivery boundary. Then use the linked deep guide for the full checklist before changing production code or promising a result.
Read the deep guideDetailed steps
- 是否有复现步骤?至少写清打开哪里、点击什么、输入什么、看到什么。
- 是否有错误原文?终端、浏览器控制台、接口响应、构建日志都可以,但要脱敏。
- 是否写清环境?本地、测试、预览、生产,以及框架、Node 版本、部署平台。
- 是否写清预期结果?工具需要知道原本应该发生什么。
- 是否写清实际结果?实际错误、页面状态、返回值要具体。
- 是否说明最近改动?新依赖、新配置、新部署、新提交都可能相关。
Commands or code
请根据下面 bug 信息先分析,不要直接大范围修改。
复现步骤:
错误原文:
运行环境:
预期结果:
实际结果:
最近改动:
已尝试操作:
请输出:
1. 可能原因。
2. 相关文件。
3. 最小修改方案。
4. 需要运行的检查。
5. 不确定或需要客户确认的事项。Risk notes
Confirm the real project environment, account permissions, platform rules, and output quality before delivery. Do not ship AI-generated changes without human review, and do not claim indexing, income, deployment success, or ranking improvements without measured evidence.