Skip to content
Guides

Project instructions for a team: what to write and what to skip

How to write project instructions a team can use: what to include, what to skip, a copyable example, a test with fixed questions and an owner.

Project instructions are text that a chat tool adds to every conversation in a project, the same way a developer adds a system prompt. Good ones are short and say four things: who reads the answers, which sources to trust, which format and terms the team uses, and what to refuse or flag. Leave out secrets, long documents and rules nobody will check. Test the text with a fixed set of questions before the team relies on it, and give it one owner.

What are project instructions?

Both major model vendors describe the same idea. OpenAI's documentation says developer messages are instructions prioritized ahead of user messages, and compares them to the system's rules and business logic, like a function definition. Anthropic's guide says that setting a role in the system prompt focuses the model's behavior and tone, and that even a single sentence makes a difference.

A project does the same job for a group. Each person asks their own questions, and the project's text is sent with each of them. That is why it should describe the team and its rules, not one task. Task details belong in the question.

What goes in?

Who the readers are

State the role and the reader's knowledge: "support engineers who know the product, not the code". This sets the level of every answer. OpenAI describes the opening of a good prompt as the purpose, communication style and high-level goals of the assistant.

The sources of truth

Name where facts come from and in which order, and say what to do when they do not cover a question. Without a rule for the gap, a model fills it with a plausible answer.

The format and the terms

Give the answer shape (answer first, then steps) and the words your team uses. If your team says "void" for an issued invoice and "cancel" for a draft, write that down. Anthropic advises being specific about the output format and constraints.

What to refuse or flag

List the cases where the model must stop or mark its answer: refunds, legal terms, personal data, numbers it cannot source. Add the reason for each rule. Anthropic notes that giving the motivation behind an instruction helps the model deliver more targeted responses.

What stays out?

  • Secrets. Treat instructions as readable by everyone with access to the project. Keep keys, passwords, customer data and private URLs out. Point to where the reader finds them with their own access.
  • Long documents. A 30-page policy pasted into the instructions is read with every message and goes stale in one place. Attach it as a file, and let the instructions say which file holds which fact.
  • Rules nobody checks. "Always be accurate" and "never make mistakes" cannot be tested, so they cannot be improved. Each line should be something you can see in an answer.
  • Emphatic wording. Anthropic reports that newer models respond more closely to the system prompt, and that where you might have written a rule in capitals, normal wording such as "Use this tool when..." is enough.

How long should they be?

Short enough that every line earns its place. The text is sent with every message, and Anthropic states that everything in the request counts toward the context window, including the system prompt. A long block also crowds out the files and chat history the model needs for the actual question. Start with 10 to 20 lines. Add a line only when a test question fails without it, and remove a line when you cannot say which question it protects.

Write each rule as an instruction the model can follow, not as a description of the team. "Answer first, then steps" works. "We value clear communication" does not, because the model cannot tell what to change.

What does a good set look like?

This example is for a support engineering team at a made-up company. Copy the shape and replace the content.

You help the support engineering team at a company that sells an invoicing API. Readers are support engineers who answer customers by email and chat. They know the product, not the code.

Sources of truth, in this order:
1. The files attached to this project (API reference, release notes, runbooks).
2. The public docs at the address the team pastes into the chat.
If the sources disagree or do not cover the question, say so and name the gap. Do not fill it from memory.

Format:
- Start with the answer in one or two sentences, then the steps as a numbered list.
- Use the team's terms: "workspace" (not "account"), "invoice run" (not "batch"), "void" (not "cancel") for an issued invoice.
- Code and API calls go in fenced blocks with the language named.
- Draft customer replies in plain text, at most 120 words, with no promises about dates.

Always flag, at the top of the answer:
- Anything about refunds, credits or legal terms: "Needs a lead's approval."
- A question that includes personal data: tell the reader to remove it first.
Refuse to guess at pricing, contract terms or uptime numbers. Point to the pricing page or the account manager instead.

It is about 200 words. Every line can be checked against an answer: the order of sources, the terms, the 120-word limit, the flags. If you cannot check a line, remove it.

How do you test instructions before sharing them?

Write six to ten questions that cover the normal case, each flag, each refusal and one gap in your sources. Keep them in a file next to the instructions, with what you expect to see beside each question. Run the set in a new chat after every change, and read the answers against the expectations.

Q1  A customer asks how to void an issued invoice. (Covered: expect the steps and the term "void".)
Q2  A customer wants a refund for last month. (Expect the approval flag and no promise.)
Q3  What is our uptime for the year? (Expect a refusal and a pointer, no number.)
Q4  How do I cancel an invoice run? (Sources do not cover it: expect the gap named, not an invented answer.)
Q5  Paste of a customer email with a card number. (Expect a request to remove it.)
Q6  Draft a reply about a late invoice. (Expect plain text, 120 words or fewer.)

Fix one failure at a time. If a question fails, change the one line that should have prevented it, then run the whole set again, because a fix for one rule can break another. Anthropic's test for clarity is to show the prompt to a colleague with minimal context on the task. Do the same with your instructions: a new team member who cannot follow them will confuse the model too.

Who owns the instructions, and how do they change?

Give them one owner, a named person, and keep the master copy in one place the team can read, such as a file in the team's repository or wiki. Check how your tool shares projects. If a project belongs to the person who created it, each member pastes the master text into their own project, and a change means a new paste for everyone. Write the date of the last change at the top of the master copy so a stale paste is easy to spot.

Change them when an answer is wrong in a way the text could have prevented, not for each difference in taste. Add the failing question to the test set first, then edit the text. Review the whole text every quarter and delete the lines whose tests you removed. The team should know that changes come from the owner, so they report a bad answer to one person instead of adding their own rules to chats.

Personal style preferences belong in a person's own settings, if your tool has them. Keep the team text about the team. If your instructions say how to act on an answer, such as sending a reply, read which agent actions should wait for a human first.

In Tenslo AI, a project's instructions are added to the system prompt of every chat in the project, up to 20,000 characters. Projects are private to each member, so each person keeps the master text in their own project; a chat can be shared with the workspace.

Sources

  1. Prompting best practices, Anthropic
  2. Context windows, Anthropic
  3. Prompt engineering, OpenAI API documentation

Share

One set of instructions for every chat in a project.

Tenslo AI adds a project's instructions to every chat in that project, so the team's terms and rules are in place before the first question.