> For the complete documentation index, see [llms.txt](https://docs.tabnine.com/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tabnine.com/main/administering-tabnine/managing-your-team/context-engine/coaching-guidelines-v.md).

# Coaching Guidelines

{% hint style="info" %}
*This feature is currently in closed beta β*
{% endhint %}

**Tabnine’s coaching guidelines** are a feature that lets organizations codify their standards and best practices into a set of rules that Tabnine's AI engine enforces during code reviews. The idea is to turn institutional knowledge into structured and automated guidance to speed up reviews. They function as an Agent Skill.\
\
They can be configured in the Admin Console.

### Define Your Coaching Guidelines

As an Admin, navigate to **Context Engine**, then **Coaching Guidelines**.

Once there, click the blue + Add button in the upper righthand corner, where you will see three options:

1. **Add Guideline**
2. **Import Guidelines**
3. **Add Default Guidelines** (choosing this adds pre-written guidelines by Tabnine).

#### Add Guideline

Select Add Guideline, and a window will open asking for different properties:

1. **Description\*** – This is the text of the guideline itself.
2. **Severity\*** – The importance of the guideline
3. **Languages\* -**– Those languages this guideline applies to
4. **Teams\*** – Teams that use this guideline
5. **Library**
6. **Rule ID\*** – The name of the guideline
7. **Good Examples** – References to correct use of the guideline
8. **Bad Examples** – References to *incorrect* use of the guideline

<figure><img src="/files/420YZhz8dgJqc6QAUwFY" alt=""><figcaption></figcaption></figure>

To add examples in a specific language, make sure you have chosen that language above. Scroll down and then choose the language of the example you are about to give, as seen below:

<figure><img src="/files/1TIaF8ikQDVKV49CWDtD" alt=""><figcaption></figcaption></figure>

#### Import Guidelines

You will have the option to import several guidelines at once via a CSV file. We provide a template file if you do not have your own file already, which you can access in the Import Wizard as seen below:

<figure><img src="/files/IXrAcpkZp5ykwCwcJsys" alt=""><figcaption></figcaption></figure>

Click the wizard, choose your file, then confirm by pressing the blue <mark style="background-color:blue;">**Import**</mark> button.

\ <br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.tabnine.com/main/administering-tabnine/managing-your-team/context-engine/coaching-guidelines-v.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.
