# Global and Project Custom Instructions

The **Global and Project Custom Instructions** feature allows you to set specific guidelines and preferences that PureCodeAI will follow throughout your interactions, making the assistant more aligned with your personal coding style, project requirements, and workflow.

This feature ensures that PureCodeAI behaves consistently across all chats and sessions, providing you with a tailored experience.

{% embed url="<https://purecodestorageprod.blob.core.windows.net/component-images/docs/global-project-chat-instructions>" %}

### **How to Set Up Custom Instructions**

1. **Define Custom Preferences:**

   * Navigate to the **⚙️ Settings** menu & define your preferences in the **Global Instructions & Project Chat** **instructions** section. These will apply to all future interactions with PureCodeAI.

2. **Updating Instructions:**
   * You can always modify the instructions later, adjusting them based on changes in coding style, project requirements, or feedback from PureCodeAI.

### **Benefits:**

* With **Global and Project Custom Instructions**, you get a personalized experience that aligns PureCodeAI with your unique workflow, improving productivity and ensuring the AI delivers suggestions that are relevant to your coding style and project needs.

<table data-view="cards"><thead><tr><th></th></tr></thead><tbody><tr><td><a href="/pages/ldFw46hUH4LSaQPI8PvA"><strong>Global Instructions</strong></a></td></tr><tr><td><a href="/pages/UBUYdH0nUsz9ftohbX1U"><strong>Project Chat Instructions</strong></a></td></tr></tbody></table>


---

# 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/global-and-project-custom-instructions.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.
