Document check CLI for running checks locally (#10991)

* Replace /check skill references with check CLI documentation

Rewrite running-locally.mdx to document the check CLI (continuedev/check-cli)
including install, scan, run, list commands, and output formats. Update
quickstart and generating-checks pages to reference the CLI instead of the
/check skill.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Trim running-locally to walkthrough, not reference

Remove List checks, Output formats, flag details, and extra
explanatory text. Keep the core flow: install → scan → run → iterate → automate.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix wording: "For running" → "To run"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Remove fuzzy-match implementation detail from scan docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Remove Iterate section, add single-check example to Run section

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Remove scan failure command example

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Rename "Run checks on your diff" → "... current changes"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Rename "Scan your codebase" → "Check your entire codebase"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add intro paragraph and link to quickstart for new users

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add motivation paragraph for running checks locally

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Condense intro to single paragraph

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Remove em dashes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Remove "full control over what runs" from intro

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Restore concrete nouns to intro paragraph

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Use `check security-review` instead of `check run security-review`

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Reference check init for users without checks

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix missing blank line before heading

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Use continue.dev/check/install.sh for cleaner install URL

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Tighten intro copy, remove prerequisites line

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Fix schemeless curl URL in running-locally.mdx

Add https:// scheme to continue.dev/check/install.sh URL so curl
resolves it correctly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Nate Sesti 2026-03-02 20:32:10 -08:00 • committed by GitHub
parent 300b2992c6
commit 56798ad241
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 27 additions and 26 deletions

View file

@ -60,10 +60,11 @@ Write a check that flags PRs where public API or configuration changes aren't re
## Iterate locally
Write the check (or have your agent write it), run it against a real PR branch, read the output, refine. Run `/checks` in your coding agent to test:
Write the check (or have your agent write it), run it against a real PR branch, read the output, refine:
```
/checks .continue/checks/migration-safety.md
```bash
check scan migration-safety # audit the full codebase
check # run against your current diff
```
See [Run Checks Locally](/checks/running-locally) for the full local testing workflow.

View file

@ -42,7 +42,7 @@ Write concrete pass/fail criteria so the check produces consistent results. See
<CardGroup cols={2}>
<Card title="Run Locally" icon="terminal" href="/checks/running-locally">
Verify your checks before pushing by running `/check` in your coding agent.
Verify your checks before pushing with the `check` CLI.
</Card>
<Card title="Run Checks in CI" icon="github" href="/checks/running-in-ci">
Set up GitHub integration so checks run on every pull request.

View file

@ -2,46 +2,46 @@
title: "Run Checks Locally"
---
Run your checks locally before pushing to CI using the `/check` command in your coding agent (Claude Code, Cursor, or any agent that supports skills).
The `check` CLI discovers check files in your repo, runs them in parallel, and shows results with live progress. Iterate on checks locally before rolling out to your team in CI, with no extra setup beyond your existing Claude credentials. You can run it yourself or add it to `AGENTS.md` so your coding agent runs checks automatically.
If you don't have any checks yet, run `check init` to generate checks based on your codebase and review history, or see [Write Your First Check](/checks/quickstart).
## Install
Install the [`check`](https://github.com/continuedev/skills?tab=readme-ov-file#check) skill:
```bash
curl -fsSL https://continue.dev/check/install.sh | sh
```
## Check your entire codebase
Before running a check on incremental diffs, see what it finds across the whole repo:
```bash
npx skills add continuedev/skills --skill check
check scan security-review
```
## Run checks
Pass a check name, or run it with no argument to pick interactively.
Type `/check` in your coding agent. It discovers every check file in `.continue/checks/`, runs each one as a subagent against your current branch, and reports the results. To run a single check, pass the file path: `/check .continue/checks/security-review.md`.
## Run checks on your current changes
```
/check
```bash
check
```
![Terminal output showing checks being discovered and launched](/images/checks-local-running.png)
This discovers every check in `.continue/checks/` and `.agents/checks/`, runs each one against your current diff, and reports results.
![Check results summary showing pass, fail, and warning status for each check](/images/checks-local-results.png)
To run a single check:
## Iterate on a check
The local feedback loop is: edit the check file, run `/check`, read the output, refine. Because checks run inside your coding agent, you can ask it to fix issues in the same session:
```
The migration safety check is flagging additive-only migrations as failures. Update the check to only flag destructive operations.
```bash
check security-review
```
## Run checks automatically
You can add `/check` to your `AGENTS.md` so your coding agent runs checks automatically as part of its workflow — for example, after creating a PR:
Add `check` to your `AGENTS.md` so your coding agent runs checks as part of its workflow:
```markdown AGENTS.md
After creating or updating a pull request, run /check and fix any failures before requesting review.
After creating or updating a pull request, run `check` and fix any failures before requesting review.
```
## Why local?
Running checks locally uses your existing coding agent and credits (Claude Max, API key, etc.). There's nothing extra to install or configure — if your agent can read your repo, it can run your checks.
For running checks automatically on every PR in CI, see [Run Checks in CI](/checks/running-in-ci).
To run checks automatically on every PR in CI, see [Run Checks in CI](/checks/running-in-ci).