# Code Health

Activate your code health section and perform the following setup. Ensure the PRs you wish to get analyzed for any code errors by setting up repos and directories. [Learn more about code health and supported languages in our help docs](https://help.typoapp.io/typo-help-docs/platform/code-health/code-review).

[Read more about setting up Code Health here](/typo-help-docs/configurations/code-health.md).

## Repos

Use the repos from Git using the configuration button in the top right. Once added, select the repos you want to analyze.

<div align="left"><figure><img src="/files/0waYYsVDFlUZsGlAWzLh" alt="" width="563"><figcaption></figcaption></figure></div>

## Rules

Keep those rules active based on your requirements for the type, severity, and language. You can also enable or disable alerts for different rules at your convenience. Both individual and bulk actions can be performed.

<div align="left"><figure><img src="/files/wMAR2REgM5gDMQfx1Usz" alt="" width="563"><figcaption></figcaption></figure></div>

## Exclusion of Directories

You can avoid PRs getting scanned by adding the directory paths to be excluded or the PR title keywords. These settings can be accessed from the configuration button in the Code Health Module or Advanced Settings section.

<div align="left"><figure><img src="/files/Fw0uIKYCp7Qm5yCDXuXC" alt="" width="563"><figcaption></figcaption></figure></div>


---

# 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://typo.gitbook.io/typo-help-docs/implementation-plan/phase-2-metric-configuration/code-health.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.
