# Team Shared Instriction's

### Why It Matters

Team Shared Instructions are designed to make AI guidance consistent, reusable, and time-saving across projects. Instead of every developer writing their own context prompts over and over, admins can set clear instructions once and share them with the team, while individual developers still keep control over their personal preferences.&#x20;

<div data-full-width="false" data-with-frame="true"><figure><img src="/files/dAoO4RBA21Xz2S2jFLcr" alt=""><figcaption></figcaption></figure></div>

### How It Works

Inside the PureCode VS Code extension, you can access this feature by:

1. Clicking on your profile icon in the top header.
2. Opening the Rules for AI section on the right-hand panel.
3. Adding or updating **Global & Project-level instructions**.
   * When adding a new instruction, make sure to include a **title** and a **description** so it’s easy to understand and manage later.

<div data-with-frame="true"><figure><img src="/files/vCVVLDTlgqbMJIfaYJCZ" alt=""><figcaption></figcaption></figure></div>

Here’s what happens for all user scenario's :

#### Personal Account (Individual Users)

Even if you’re not part of a team, you can:

* Create your own Global Rules (apply across all your projects).
* Create Project-Level Rules (apply only to a specific project).
* Enable or disable any rule at any time—your preferences are saved as part of your account.

This ensures that your AI assistant always follows *your* coding style and preferences automatically, without you needing to repeat them.

***

#### Team Member (Part of a Team)

If you’re part of a team:

* You can create your own global or project-level rules (just like in personal mode).
* You won’t see the “Share with team” toggle—your rules apply only to you.
* When an admin publishes new shared instructions, you’ll get a notification to refresh.
* You still have full control to enable/disable shared rules if you don’t want them applied to your workflow.

This way, you benefit from team-wide consistency while keeping the freedom to customize for your own productivity.

***

#### Team Admin (Leads & Managers)

Admins get an extra layer of control:

* You can create Global Rules (team-wide, across all projects) and Project-Level Rules (specific to one project).
* You decide whether an instruction is shared with the team using the “Share with team” toggle.
* If OFF → The rule applies only to you.
* If ON → It’s published to all team members.
* Once shared, members can view the added instructions after any request or they can load the window added  to view rules immediately.

This ensures the whole team stays aligned with the same coding standards, naming conventions, or response guidelines—without everyone having to set them individually.

***

### Why This Feature Matters

* Saves Time – No more repeating the same prompts. Rules are always active in the background.
* Keeps Results Uniform – Shared instructions align the whole team, reducing inconsistency in AI suggestions.
* Avoids Miscommunication – Everyone works with the same baseline instructions, cutting down on confusion.
* Adapts to Context – Personal, team, and project-level rules ensure the AI always matches the situation.

Whether you’re working solo, collaborating as a team member, or leading as an admin—Rules for AI make sure your coding assistant is always tuned to the right context without extra effort.

### How  It Helps Developers

* **Saves Time :**\
  No more typing the same context or reminders for the AI in every session. Shared instructions keep those rules active automatically.
* **Keeps Results Uniform :**\
  When working in a team, AI suggestions can vary wildly if every member feeds it different context. With shared instructions, all developers are aligned with the same tone, coding standards, or naming conventions.
* **Reduces Miscommunication :**\
  Shared rules act like a single source of truth for how AI should respond, which helps avoid confusion and keeps the whole team on the same page.
* **Personal Flexibility :**\
  Even though there’s a team-wide baseline, developers can disable rules that don’t fit their workflow or add personal ones for extra productivity.
* **Project-Specific Alignment :**\
  Teams working on multiple projects can have different sets of instructions per project, ensuring that the AI always adapts to the right context automatically.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://purecodedocs.gitbook.io/docs/features/team-shared-instrictions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
