ainotis Join
My notis

Checked fact 35513 Nov 2026Agents and apps

Anthropic's prompting guide gives a Messages API example in which a call passes system="You are a helpful coding assistant specializing in Python." as one parameter and a user message asking how to sort a list of dictionaries by key in a separate messages list.

The exact words it rests on

system = "You are a helpful coding assistant specializing in Python." , messages = [ { "role" : "user" , "content" : "How do I sort a list of dictionaries by key?" } ]

What the source said when we opened it, on 3 Nov 2026.

The source

Prompting best practices - Claude Platform Docs
Anthropic

Checked

Checked by the notis newsroom on , against the source above.

In the story

What a system prompt does, and which of Anthropic's prompts are published 3 Nov 2026

Cite this fact

Anyone may quote this address. It does not change; if we correct the story, this page says so.