What is the problem?
整理新手用 Claude Code 或 Codex 做网页修改时常见的错误:需求没拆清、没跑构建、忽略移动端、误碰敏感配置和交付说明不足。
Quick solution
Treat this as a Codex troubleshooting 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
- 先复述客户需求,确认你理解的目标是否准确。
- 找到最小修改范围,不要为了一个按钮改全局样式。
- 修改前看 git diff 和现有组件结构。
- 修改后跑 lint、build 或项目已有测试。
- 检查桌面和移动端,不只看一个视口。
- 保存截图、命令输出和交付说明。
Commands or code
The source article does not include a copyable command block. Do not invent commands here; follow the diagnostic steps in the deep guide and validate changes in the real project environment.
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.