Writing System Prompts for a Shared Team Assistant
How to write, test and maintain the standing instructions behind an assistant that a whole team relies on every day.
Key takeaways
- Describe the users, the jobs and the limits in plain sentences, with reasons for rules that are not obvious.
- Tell the assistant what to do when it does not know, including whom to contact.
- Never put passwords or secrets in a system prompt, and do not treat it as a security barrier.
- Assign an owner, keep a version history and test changes against saved questions.
- Real access control belongs in the systems holding the data, not in the wording.
A good system prompt for a team assistant says who the assistant serves, which jobs it handles, what sources it may rely on, what it must not do, and where to send people when it cannot help. Write it like a briefing for a capable new colleague, then test it with real questions before the team depends on it.
A system prompt is the set of standing instructions applied to every conversation with an assistant. Products call it different names, such as project instructions or custom assistant settings. The idea is the same.
Start from the team's real questions
Before writing a word, collect what people will actually ask. Pull examples from shared inboxes, chat threads and the memory of whoever answers the same things every week. Twenty real requests tell you more than an hour of imagining.
Group them. You might find drafting tasks, policy lookups, formatting jobs and a few requests that should never go to a machine, such as questions about a coworker's performance. The groups become the scope section of your prompt.
Decide what the assistant is for in one sentence. "Helps the front desk team answer questions about room booking and draft replies to visitors." A narrow purpose is easier to test and easier to trust than "helps with anything."
A structure that works
Long prompts are easier to maintain with headings, a habit covered in using delimiters and headings. A hypothetical example for a small community center shows the shape.
## Purpose
Help front desk staff answer booking questions and draft replies.
## Users
Staff and volunteers, many of them new. Assume no prior knowledge.
## Sources
Use the attached booking policy and fee sheet. If they do not
cover a question, say so. Do not guess fees or rules.
## Style
Short answers first, then detail. Plain language.
## Limits
Do not approve exceptions or refunds. Do not give legal advice.
## When stuck
Tell the user to ask the facilities coordinator. Each section answers a question a newcomer would have. Notice that the limits name actions, which is clearer than asking the assistant to "be careful."
Give reasons, not just commands
"Never quote a fee from memory" is good. "Never quote a fee from memory, because fees change each season and a wrong figure may have to be honored or apologized for" is better. The reason helps the model handle cases the rule did not foresee, and it helps future editors know whether the rule still matters.
State things positively where possible. "Give the answer in the first sentence" is easier to follow than a list of ways not to ramble.
Resolve conflicts in advance. If the prompt asks for brevity and also for full policy conditions, say which wins: "Keep answers short, but always include conditions that affect cost or deadlines."
Avoid shouting. Capital letters and repeated warnings can cause a model to apply one rule far too broadly, refusing harmless questions because they sit near a forbidden one. Calm, specific wording usually behaves better.
Plan for different kinds of requests
A team assistant meets several sorts of message, and one blanket rule rarely suits them all. Say how to treat each.
| Kind of request | Sensible instruction |
|---|---|
| Clear lookup | Answer first and name the source |
| Drafting job | Produce a draft, and mark anything assumed |
| Ambiguous question | Ask one clarifying question before answering |
| Outside the scope | Say so briefly and name who can help |
| Urgent or sensitive | Skip the analysis and direct the user to a person |
The last row deserves care. If someone reports an injury, a threat, harassment or a suspected data breach, the assistant should point straight to the right person or emergency number. Write those contacts into the prompt and keep them current.
For ambiguous requests, limit the questioning. "Ask at most one question, and only if the answer would change your reply" prevents an interview before every email. For drafts, a rule such as "put unknown details in square brackets" keeps invented dates and names from slipping into messages that get sent.
An example or two helps where format matters. Show one question and the answer you would want, and label it as an illustration so its details are not treated as facts.
Handle knowledge and its gaps
A system prompt tells the assistant how to behave. It does not make the assistant know your policies. Those must be attached as files, connected through a search feature or pasted in. The article on how retrieval answers from your documents explains why the assistant may see only the passages that were fetched.
Keep the source documents clean. Two fee sheets from different years will produce confident answers from either one. Date your files, remove old copies and name an owner for each.
Ask for visible sourcing: "Name the document and section you relied on." Users can then check. Also write the fallback plainly: "If the documents do not answer the question, say that and name the contact." Without permission to say "I don't know," a model tends to fill the gap with something plausible. Instructions reduce that habit but do not remove it.
What a system prompt cannot protect
Treat everything in the prompt as potentially readable. Users can sometimes coax an assistant into revealing or paraphrasing its instructions, so hidden instructions should not be considered secret. Leave out passwords, keys, private salary bands, candid notes about people and anything you would not want forwarded.
A written rule is guidance to a model, not a lock. "Only show payroll data to managers" will not reliably enforce anything. If someone should not see a file, the assistant should not have access to it on their behalf. Permissions belong in the underlying systems.
Content the assistant reads, such as emails or web pages, may contain text that tries to redirect it. Say in the prompt that such text is material to analyze and not instructions to follow. Then limit what the assistant can do, because wording alone will not stop every attempt.
Test before and after launch
Turn your collected questions into a test set. Add tricky ones: a question the documents do not cover, a request for an exception, a vague message, and a polite attempt to get around a limit. For each, write what a good answer includes.
Run the set, read every reply, and revise. Then have two or three colleagues try it without coaching. They will phrase things in ways you never would. The method in testing whether a prompt change helped works for each later edit.
Watch for over-refusal as closely as for mistakes. An assistant that sends half of ordinary questions to the coordinator saves nobody any time.
Own it like any other document
Name one owner and a backup. Keep the prompt somewhere with version history, with a short note for each change. If many people can edit it freely, rules pile up and contradict one another.
Give people an easy way to flag a poor reply, such as a shared form or a message to the owner with the question and answer attached. Review those reports regularly. Each one may point to a missing document, an unclear rule or a request the assistant should not be handling, and the useful ones belong in your test set.
Tell users what the assistant is for, what it should not be used for, what happens to their conversations and how to report a bad answer. Check the provider's current terms on data use and retention, since these vary by plan and change over time. A wider team AI policy should cover the same ground.
Schedule a review, perhaps quarterly. Delete rules that no longer apply, update contacts and rerun the tests, especially after the provider changes the underlying model.
Common questions
How long should the prompt be?
Long enough to cover the real cases, short enough that one person can read it in a few minutes and spot a contradiction. A page or two serves many teams. Move reference material into attached documents.
Should it have a name and personality?
A name is harmless if users still know they are talking to software. Elaborate personalities add words without adding reliability, and they can make answers longer.
Can users override it?
Users can often change tone or format within a conversation. Say which rules should hold regardless, and remember that determined users may still get around them. Anything that must never happen needs a technical safeguard or a human approval step.