我靠,别再每做一个长任务都全程盯着 Opus 5.5 了。这 4 个文件能给它一套可复用的工作流程。 项目规则、可重复执行的流程、审查员,以及权限边界。 一次设置好。下次只需提供新任务和资料来源。 1. CLAUDE.md 告诉它你的工作区如何运作。 › 源资料放在哪里 › 草稿应该保存在哪里 › 各项论断需要什么证据 › 在哪里记录进度 把长期有效的规则放在这里。把今天的任务说明放进单独的任务文件。 2. .claude/skills/write-draft/SKILL.md 把那些你已经输烦了的指令保存下来。 阅读资料 → 起草 → 请求审查 → 修正错误 → 保存输出 让每个阶段都有看得见的成果:资料来源清单、草稿、审查表。 “检查所有内容”留下了太多未明确的地方。 3. .claude/agents/evidence-reviewer.md 给审查员一项明确的工作。 阅读草稿,对照一手资料核查其中的论断。 返回: 论断 → 已核实 / 错误 / 未解决 → 来源 → 需要的修正 给它读取和搜索工具。把修正工作留给主智能体。 另一个智能体说“看起来不错”,并不能让你知道它到底检查了什么。 4. .claude/settings.json 配置智能体实际上能做什么。 通过权限规则限制敏感文件的访问,并保护已批准的输出。 检查已加载的规则,并用一个测试文件验证它们。 文件工具的限制并不等于完整的沙箱。Shell 命令需要单独的控制措施。 在第一个正式任务开始前,检查: /context → 已加载的指令 /agents → 可用的审查员 /permissions → 生效的规则 然后把这段加到你的任务中: “保存最终输出及其审查报告。 修正错误,并标记尚未解决的问题。 在 progress.md 中更新已完成的工作、文件路径、阻碍因素和下一步行动。 返回输出路径和核验结果。” 结束时,你应该得到能打开的成果、能核查的内容,以及下一次会话可以接着用的交接记录。 收藏这份文件配置图。下面的文章有这四个文件的配置片段。
看原文
holy sh*t, stop babysitting Opus 5.5 through every long task. these 4 files give it a workflow you can reuse. project rules, a repeatable procedure, a reviewer and permission boundaries. set them up once. supply a new task and sources next time. 1. CLAUDE.md tell it how your workspace works. › where source material lives › where drafts should be saved › what evidence claims need › where to record progress keep permanent rules here. put today's brief in a separate task file. 2. .claude/skills/write-draft/SKILL.md save the instructions you're tired of typing. read sources → draft → request review → fix errors → save outputs give every stage a visible result: a source list, a draft, a review table. “check everything” leaves too much undefined. 3. .claude/agents/evidence-reviewer.md give the reviewer a specific job. read the draft and check its claims against primary sources. return: claim → verified / incorrect / unresolved → source → required correction give it read and search tools. leave corrections to the main agent. a second agent saying “looks good” tells you nothing about what it checked. 4. .claude/settings.json configure what the agent can actually do. restrict sensitive files and protect approved outputs through permission rules. check the loaded rules and test them on a dummy file. file-tool restrictions aren't a complete sandbox. shell commands need their own controls. before the first real task, check: /context → loaded instructions /agents → available reviewer /permissions → active rules then add this to your task: “Save the finished output and its review report. Correct errors and mark unresolved issues. Update progress.md with completed work, file paths, blockers and the next action. Return the output paths and verification results.” you should finish with something you can open, something you can check, and a handoff the next session can use. bookmark this file map. the article below has the snippets for all four.