---
title: Fidel docs
description: Set up Fidel design system checks on pull requests. Install, configuration, CLI and GitHub Action reference, and fixes for common errors.
---

# Fidel docs

Fidel checks each pull request against your design system and comments with the evidence: colors that match no token, tokens that resolve to the wrong value, and hand-built buttons and inputs where your design system has a component. It comments only by default. Blocking merges is opt-in. It can also compare a live page with a Figma frame.

## Quick start

You need Node 24 or later, a GitHub repository and a Fidel account. Design system checks on pull requests are on the Pro plan and above ([pricing](/pricing)).

1. In the root of your app repository, run:

   ```bash
   npx usefidel init
   ```

   It signs you in through the browser, finds your design system and writes two files: `fidel.config.json` and `.github/workflows/fidel.yml`. If Fidel doesn't have your design system yet, it opens the browser so you can add it.

2. Install the Fidel GitHub App on the repository: [github.com/apps/use-fidel](https://github.com/apps/use-fidel). When `init` finishes, it lists anything still missing, such as the app or linking the repo with `npx usefidel link`.

3. Commit both files and open a pull request that also changes a frontend file. A pull request that changes only `fidel.config.json` does not start a check.

4. Read the pull request comment. It lists confirmed violations, possible bypasses and anything Not verified, with a link to the full report.

To block merges on confirmed violations, set `"failOnDrift": true` in `fidel.config.json`. It is off by default.

## Reference

- [Set up Fidel with an AI coding agent](/docs/ai-agents/)
- [Configuration: fidel.config.json](/docs/configuration/)
- [CLI reference](/docs/cli/)
- [GitHub Action reference](/docs/github-action/)
- [Troubleshooting](/docs/troubleshooting/)

## For AI agents

Every docs page has a markdown version at the same path with `.md` added, for example [/docs/configuration.md](/docs/configuration.md). [/docs/llms.txt](/docs/llms.txt) lists them all.
