Follow Discord
Sweep 30 Oct 2026 · 21:36Z Build v2.1.315 533 read Stable v2.1.308 Latest v2.1.314 Next v2.1.315 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.315 ·

Line asking the model to match surrounding code style removed from one prompt option

One option in Claude Code's instructions to the model no longer adds the line telling it to write code that matches the surrounding code

You'll notice Removed
JSON All of v2.1.315
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
System PromptArea: what it touches
RemovedKind: in v2.1.315,
RemovedSection of the release

Unclear It is not clear whether the line was dropped outright or moved elsewhere in the prompt, so whether the model still gets this instruction is unsettled.

What

The system prompt is the set of instructions Claude Code gives the model before your conversation starts. One part of it, about how the model should write its output, has several options.

One option, called "short", used to add a single line: "Write code that reads like the surrounding code: match its comment density, naming, and idiom." That option is now called "none" and adds nothing.

The same line shows up as a change in three prompts:

  • the main system prompt
  • the system prompt used by the Agent SDK
  • the prompt used when compacting, which means shortening a long conversation by summarising it
Why

This changes what the model is told about matching the style of the code around it. If edits start to follow the existing comments, naming or habits of a file less closely, this is a likely place to look.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether the line was dropped outright or moved elsewhere in the prompt, so whether the model still gets this instruction is…

See this entry in the whole of v2.1.315 →

Feedback