Put stable behavior in the system prompt
In Claude’s Messages API, the top-level system field is a place for instructions that apply across requests. Keep details like the role, format, and handling of missing information there when they are shared by all requests in the workflow.
Put the current ticket, document, or project record in the user message. This lets you improve the shared rules without editing every input or repeating them for each support specialist.
Set up a release-note assistant
Use the following two blocks as the shared instruction and the changing user input. This exercise uses a beta feature and an unresolved release date, so the assistant has enough information to write one useful note and one explicit open question.
SYSTEM
Draft release notes for support staff.
Use the headings Changed and Open questions.
Describe beta features as beta. Report missing launch dates as pending.
USER
The new CSV preview is available in beta for two test workspaces.
A broader release date has yet to be confirmed.Inspect the output and the permissions boundary
Changed should say that CSV preview is in beta for two test workspaces. Open questions should say the broader release date is pending. A sent announcement, a public launch promise, or a new rollout date would fail the example.
Keep permissions and publishing state in application code. If your app can post to an external channel, require the intended channel and an approved draft before publishing. A system prompt can guide the text, and the application can enforce the decision.
Test the same rules against a second message
Change the user input to a generally available bug fix with a confirmed date. The new draft should still use the two headings and should reflect the confirmed date. A beta label left over from an example is a regression.
If the behavior keeps changing in one part of the workflow, move the variable detail into the user message. Keep stable review and formatting rules in the system field.