讨论

生成CLAUDE.md文件以提供持久性AI指令

来自 Wikiprompt,自由的提示词百科全书

Ruben Hassid

2026年7月6日

生成CLAUDE.md文件以提供持久性AI指令 一个提示,用于引导AI分析工作空间、采访用户,并生成最多三个CLAUDE.md文件,以便在未来的会话中持久保存个性化指令。

提示词内容收藏

🌐
I want you to write my CLAUDE .md files - instructions every future session will follow. First, look through this folder: the files, the subfolders, how everything is named and organized, and any existing CLAUDE .md files. Then interview me: ask up to 8 questions, one at a time, about how I like to work, what I keep having to correct or repeat, what my deliverables need to look like, and anything you can't figure out from my files. Then write up to three files: - A CLAUDE .md in my main Cowork folder: only things true for everything I make - my tone, my formats, my rules for how you work with me. - A CLAUDE .md in this project's folder: only things specific to this project - what it is, who it's for, where things live, what the finished output looks like. - If any subfolder genuinely works differently (say, one is client-facing copy), a short CLAUDE .md just for that folder. Rules for writing them: be specific, never vague ("start every draft with the hook, not background", not "write engagingly"). Keep each file well under 200 lines - shorter is better. Include only instructions I'd otherwise have to repeat in every chat - nothing you can see from my files anyway. Never repeat a rule across two files. Where a rule isn't obvious, add its one-line reason. Every line has to earn its place. Show me each file before saving it, and tell me what you deliberately left out and why.

登录以查看完整提示词

继续使用:

登录即表示你同意我们的 使用条款 隐私政策

用法

此提示词专为 productivity 设计。复制上方内容并粘贴到你常用的 AI 工具中。

为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。

参考资料

分类:productivity| twitter| claude-md| ai-instructions

讨论