> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codeant.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Learn how to extend CodeAnt-AI’s automated pull request review capabilities using custom prompts.

### Overview

CodeAnt AI performs intelligent code reviews on every pull request, flagging issues across:

* Syntactical errors
* Logical bugs
* Concurrency pitfalls
* Performance bottlenecks
* Security vulnerabilities
* Anti-patterns

Out of the box, it helps teams uphold high code quality and catch impactful issues before they reach production.

**Need More! We got you covered!**

Engineering teams often have project-specific conventions or domain requirements that go beyond standard code quality checks. That’s where **Custom Prompts** come into play.

Custom prompts let you define additional coding checks or best practices you want to enforce within your team. These checks run in addition to the default rules.

***

### Setup

1. **Access Custom Prompt Settings:**
   * Navigate to `Settings` → `AI Code Review` → `Custom Prompts`.

2. **Add a New Custom Prompt:**
   * Click “Add Custom Prompt” and define your custom logic in plain English.
   * Example:\
     *“Ensure that all new endpoints have proper authentication checks.”*

3. **Save and Apply:**
   * Click “Save” to activate the prompt.
   * All future PRs will be evaluated against your custom logic in addition to default rules.

4. **Explore Examples:**
   * Check out curated [PR Custom Prompt Samples](/pull_request/custom_prompts/examples) to get started quickly with prompt ideas.

***

### Key Features

* **Prompt-as-Policy:** Codify organizational rules and domain knowledge directly into your code review pipeline.
* **PR-Aware Evaluation:** Prompts are applied only on the changed lines in the pull request to keep suggestions relevant.
* **Natural Language Instructions:** Write prompts in English - no scripting or DSL required.
* **Comment-Level Feedback:** Suggestions generated from custom prompts appear inline or as PR comments, just like default rules.

***

### Benefits

* **Flexible Review Framework:** Adapt reviews to evolving team standards without modifying core CI pipelines.
* **Faster Reviewer Onboarding:** Prompts can embed tribal knowledge and legacy practices to help new reviewers follow along.
* **Improved Consistency:** Reinforces domain-specific expectations across all engineers and teams.
* **Enhanced Compliance:** Enforce coding contracts, licensing rules, naming conventions, or file structures unique to your business.

***
