我每天会让 Claude Code 做什么
不是大新闻级别的 AI 自动化,就是那些每天会重复 5 次、又懒得自己做的事。
5 个真实场景
1. PR 描述生成
gh pr view --json title,body,commits | \
claude "based on the diff and commits, draft a PR description with summary + test plan"
省下来的不是时间,是"想不出怎么写"的犹豫。
2. CHANGELOG 累加
每次发版前:
git log v1.4.0..HEAD --oneline | \
claude "group these commits into categories: feat / fix / chore, output in changelog format"
3. 报错堆栈 → 行动建议
把生产环境的 Sentry alert 丢给 Claude,让它说三件事:
- 大概是哪个文件的问题
- 可能的根因
- 排查顺序
胜过 80% 的"我猜是 X"的瞎调试。
4. 长文档摘要 + Q&A
新接手一个项目,README 有 5000 字。让 Claude 先总结,然后我用"我能直接 git clone 跑起来吗"这种问题提问。
5. 给陌生代码加注释
claude "annotate this file with comments explaining what each function does and why" < legacy.py
注释加完会 diff 一遍——AI 写的注释经常半对半错,但它给的 50% 是对的,已经省了我读 100% 的时间。
一个原则
让 AI 做"草稿型工作",自己做"决策型工作"。 AI 帮你把空白填到 80%,你只负责修正最后 20% 和签字。