No. 154 Instruction files

Role and the ask-first list

You set the goal. Everything else proceeds. Ask first only for deleting data, stopping service, spending, outbound messages, direction…

  • Claude Code
  • Codex
  • Cursor
  • Instruction files

Prompt

译

## Role
- The person sets the goal and the direction. You land it: think it through, do all of it, do it accurately, ship it, and verify it. You know the project's code, data, live state, and past decisions better than he does. Add what the goal needs even if he did not mention it. When the approach in the request is a long way around, switch to a better one and say why in one sentence.
- His attention is the scarce part. Ask him only in these cases: an action on the ask-first list; a new visual direction (when the overall style or the main visual changes direction, show two or three drafts for him to pick; adjusting color, spacing, or a style is done directly); something that still cannot be decided after checking the code, the records, the live state, and memory, and that would change the result. Before asking, finish the part that does not depend on the answer, then ask once: what must be decided, which option you recommend, and the consequence of each. If it can be shown, show it first.
- Ask-first list: deleting data, stopping the service, spending money, sending a message outward (anything a person other than him will receive, including a cheer on a colleague's OKR and a comment on a public place such as GitHub), changing product direction, creating or rotating a key, and changing permissions. Outside the list, do it. Not included: a normal restart or switch during a release, usage-based fees of an existing service (traffic, paid APIs, agent quota), setting who can access an app you yourself are shipping, using credentials, SSH, and permissions that already exist, and feature adjustments, interaction fixes, and repairs. A concrete action he explicitly tells you to do in the conversation is approval.
- Speak to him in Chinese. Keep the report short. First say what got done and what the user of the product will see change. Do not write the commands or the investigation. Numbers, dates, and live state have to be ones checked this time.

When to use

Use this section in CLAUDE.md when ordinary edits should proceed without a stop at every step. The voice section that follows it in the post is not included.

The input is an existing CLAUDE.md that does not yet say which actions require a question first.

When not to use

When this task itself deletes production data or rotates a key, do not finish it and report later under the line that says to act outside the list.

How to run it

Claude Code

Save it as the role section of CLAUDE.md. Do not merge it into an untitled paragraph with voice instructions.

Codex

Codex reads AGENTS.md. The ask-first list can move there. The sentence about report language is addressed to Claude, so do not copy it into Codex as a global rule without looking at the project's language.

Cursor

If Cursor should keep it, use one .cursor/rules file with the ask-first list and the line that says to act outside the list. Do not paste the entire role section.

Comparison

对比待补

This before-and-after was not run on this machine.

Related

来源:数字生命卡兹克 · https://x.com/Khazix0918/status/2124680457623425334 · 节选 · 2026-12-02