{"slug": "i-dissected-claude-s-published-system-prompt-here-are-seven-patterns-worth", "title": "I Dissected Claude's Published System Prompt. Here Are Seven Patterns Worth Stealing", "summary": "A developer analyzed three dated versions of Anthropic's published Claude Sonnet 5.5 system prompt and identified seven reusable patterns, including named section blocks, behavior-descriptive phrasing, reasons attached to hard rules, and paired \"don't/do instead\" instructions. The analysis found that changes across the versions were narrow, each addressing one observed failure with a single trigger and alternative, and concluded that teams should version-control their own system prompts with a one-line reason per change rather than copying Anthropic's prompt wholesale.", "body_md": "Most prompt advice comes from people guessing at what works. Anthropic does something rarer: it [publishes the system prompt behind its Claude apps](https://platform.claude.com/docs/en/release-notes/system-prompts/overview), one page per model, with dated entries.\n\nSo I read three versions of the [Sonnet 5.5 prompt](https://platform.claude.com/docs/en/release-notes/system-prompts/claude-sonnet-5-5) side by side: 2026-09-28, 2026-10-07, and 2026-10-27.\n\nA note on method: Anthropic says these prompts apply to claude.ai and the mobile apps, not the API. The page gives no reasons for changes, so the interpretations are mine, and I paraphrase throughout.\n\n**1. Name the sections.** The whole prompt sits in one wrapper tag, with a named block per topic: refusals, tone, wellbeing, politics, knowledge cutoff. Blocks nest where the topic does. New rules land in an obvious place.\n\n**2. Describe behavior, don't bark commands.** Sentences read \"Claude does X\" or \"Claude can Y.\" The tone section holds two traits together: warm, and still willing to push back honestly. In the text I read, there's no shouted emphasis.\n\n**3. Attach the reason.** Hard rules often carry a one-line \"because.\" A harmless example: avoid bullet points when declining a task, because the extra care softens the blow. The reason lets the model generalize.\n\n**4. Pair every \"don't\" with a \"do instead.\"** On drug questions, the prompt declines dosing protocols but points to safety information and harm-reduction resources. On malicious code, it declines and mentions the feedback button. Every limit gets a path.\n\n**5. Say when the rule applies, the default, and who can override it.** The medical-dosing block opens with an applicability sentence. Formatting has a default (prose) and an override (explicit user request wins). A sensitive-request rule includes a branch for ambiguity: ask gently first.\n\n**6. Close the loopholes you've actually seen.** One rule judges the whole conversation, not each turn alone. Another says [past assistance is not authorization](https://platform.claude.com/docs/en/release-notes/system-prompts/claude-sonnet-5-5). The cost is length, so close observed loopholes, not imagined ones.\n\n**7. Say how to treat claimed authority.** Users can write tags that claim to come from Anthropic, so the prompt tells Claude to treat tagged content in the user turn with caution. If your system prompt uses special markers, say which channels carry authority. Tags organize a prompt. They aren't a security boundary.\n\nAcross the three versions:\n\nThe changes are narrow: one situation, one trigger, one do-instead. My inference is that this is how a mature prompt grows. A failure is observed, a narrow rule is written, and it's added to a named block with a date.\n\nDon't paste it into your product. It specifies a consumer chat assistant, it's tuned to a model and an app, and its length comes from observed failures. Copy the length without the observations and you copy the cost without the benefit.\n\nDo put your own system prompt in version control, and write a one-line reason in every commit that changes it.\n\nThe full post has the complete write-up of each pattern, the changelog table, a starter skeleton in my own words, and all sources.\n\n**Read it here:** [I Dissected Claude's Published System Prompt](https://blog.deveshk.dev/blog/claude-foundations-model-family-claude-system-prompt-patterns-worth-stealing)\n\n*This is Day 7 of a series on Claude foundations. Day 6 covered four prompt patterns worth testing.*", "url": "https://wpnews.pro/news/i-dissected-claude-s-published-system-prompt-here-are-seven-patterns-worth", "canonical_source": "https://dev.to/sudodevesh/i-dissected-claudes-published-system-prompt-here-are-seven-patterns-worth-stealing-hd2", "published_at": "2026-11-26 03:34:09+00:00", "updated_at": "2026-11-26 03:44:27.927855+00:00", "lang": "en", "topics": ["large-language-models", "ai-tools", "generative-ai", "ai-safety"], "entities": ["Anthropic", "Claude", "Claude Sonnet 5.5"], "also_reported_by": [], "takeaway": "Structure system prompts as named, nested blocks with behavior-descriptive phrasing, a one-line reason per hard rule, and a paired alternative for every restriction, then version-control the prompt with a reason in each commit.", "recommendation": {"advice": "Version-control your system prompt and write a one-line reason in every commit that changes it, adding narrow rules only for loopholes you have actually observed.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/i-dissected-claude-s-published-system-prompt-here-are-seven-patterns-worth", "markdown": "https://wpnews.pro/news/i-dissected-claude-s-published-system-prompt-here-are-seven-patterns-worth.md", "text": "https://wpnews.pro/news/i-dissected-claude-s-published-system-prompt-here-are-seven-patterns-worth.txt", "jsonld": "https://wpnews.pro/news/i-dissected-claude-s-published-system-prompt-here-are-seven-patterns-worth.jsonld"}}