Testing before you trust the wording
Treat a prompt like code that needs tests. The Foundry portal's model playground lets you edit a system prompt, send messages and adjust settings without writing application code. Build a small test set that mixes ordinary requests with awkward ones, including attempts to push the assistant off its job, and rerun it after every edit. Change one thing at a time so you know which edit helped. Microsoft's guidance warns that a determined adversarial user can get around a system message or weaken it, and that one that is too broad or too strict can reduce usefulness, so a system prompt is one layer of protection, not a complete safety solution. Whatever the technique, verify it on the model you actually deploy.