How do I add QuillShield pull request checks to a Foundry repo?

Paste one prompt into your coding agent. It adds QuillShield checks against your last full review, with the GitHub App where you have it and a GitHub Actions workflow where you don't.

Last updated . 2 minute read. By the QuillShield team.

Each check compares a pull request with the security graph from your last full review, so the full review comes first. For every setting, see our full guide to adding smart contract security checks to CI on GitHub.

What prompt do I give the agent?

This Foundry repo is already reviewed in QuillShield. Add pull request checks against that full review. Use the GitHub App if I have it, or write a GitHub Actions workflow. Do not start a second paid scan if the App is already checking the same PR. Skip PRs that change no .sol files.

What are the steps?

  1. Run a full review on the branch your CI uses as its base. That review is what every check compares against.
  2. Take the GitHub App path if you can: install the QuillShield GitHub App, turn on Scan Pull Requests and choose the severity that fails the check. High or above is the default.
  3. If you can't install the App, the agent writes the workflow from the docs page Use GitHub Actions, with the secrets QUILLAUDITS_API_KEY and QUILLAUDITS_ORG_ID. It calls the QuillShield API and doesn't check out or run your code. Pull requests from forks don't receive secrets, so they need the App.
  4. Know the price. Five checks come with each full review of a GitHub or GitLab.com repo, and after that a check costs $5 for up to 50 added lines of Solidity plus $0.10 for each added line after that.
  5. Make the check required in branch protection or rulesets only if you want a failing check to block the merge.
  6. Keep Claude Code Review or Copilot code review for general comments if you already use one. How QuillShield works next to Claude Code Review explains the split.

Common questions

Why does the prompt say not to start a second paid scan?

Running the GitHub App and a workflow on the same repository would ask for a check twice on each pull request. After the five included checks, each check costs $5 for up to 50 added lines of Solidity plus $0.10 for each added line after that.

Do the checks work on GitLab?

On GitLab.com, yes. QuillShield posts a commit status named QuillShield Check and a note on the merge request. On the GitLab Free plan you can't make that status required the way you can on GitHub, and self-managed GitLab is not covered.

Can a failing check stop a merge?

Yes, on GitHub, when your plan includes branch protection or rulesets and you make the QuillShield check required.

Sources

QuillShield is building the security layer between AI and money, so you can keep shipping between audits.

Sign-up is free, and new accounts get $50 in credit, good for up to half of an order.

  1. 1Sign up and import a repo
  2. 2See the exact price before anything is charged
  3. 3Approve it, and the audit starts