Claude Code提示词与配置约 1 分钟

让 Claude 读好代码写 claude.md

Build claude.md from code you admire

要点

  1. 写 claude.md 前,先让 Claude 读你最喜欢的编程书和博客。
  2. 让它研读最好的开源项目。
  3. 让它阅读你最敬佩的工程师写的代码,再据此生成 claude.md。
  4. 给足指令、约束和上下文,Claude 写出的代码才会稳定优于手写。

原帖开头

To create my claude.md, I had it read: - my favorite programming books + blogs - the best oss projects - the code of the engineers I respect the most Claude (when given proper instructions, constraints, and context) now writes better code than me, almost always.