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).
In the root of your app repository, run:
npx usefidel initIt signs you in through the browser, finds your design system and writes two files:
fidel.config.jsonand.github/workflows/fidel.yml. If Fidel doesn't have your design system yet, it opens the browser so you can add it.Install the Fidel GitHub App on the repository: github.com/apps/use-fidel. When
initfinishes, it lists anything still missing, such as the app or linking the repo withnpx usefidel link.Commit both files and open a pull request that also changes a frontend file. A pull request that changes only
fidel.config.jsondoes not start a check.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
- Configuration: fidel.config.json
- CLI reference
- GitHub Action reference
- Troubleshooting
For AI agents
Every docs page has a markdown version at the same path with .md added, for example /docs/configuration.md. /docs/llms.txt lists them all.