cn-check

Run the Continue CLI locally to check working tree changes with Node.js 18+.

35.4k|5.2k|Updated May 24, 2023
One-click install
npx skills add https://github.com/continuedev/continue --skill cn-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cn-check
Source: https://github.com/continuedev/continue/tree/main/skills/cn-check
Command: npx skills add https://github.com/continuedev/continue --skill cn-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Continue CLI lets developers run AI-powered checks locally against their working tree changes, enabling rapid feedback without relying on remote services.

Core Features & Use Cases

  • Local AI checks: run security, style, and quality checks on your current diff using the Continue CLI.
  • Hub and local agents: support for checks configured in the cloud and custom local markdown agents.
  • Patch generation: produce patches for changes that fix issues discovered by agents.

Quick Start

Install and run the CLI to begin checking your code changes:

  • Install: npm install -g @continuedev/cli
  • Authenticate (optional for Hub checks): cn login
  • Run: cn check
  • Run a specific local agent: cn check --agent .continue/agents/security.md

Frequently Asked Questions about cn-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run AI code review on my local git diff?

Run AI code review on your local git diff by installing the Continue CLI via npm and executing the 'cn check' command against your working tree changes. This performs local security, style, and quality validation without remote services.

How do I run a specific local agent for AI checks on code changes?

Run a specific local agent for AI checks by using the command 'cn check --agent .continue/agents/security.md'. This allows you to target custom local markdown agents to validate specific aspects of your code changes.

Do I need Node.js to run AI checks on my working tree changes?

Yes, you need Node.js 18+ and a supported Git repository to run AI checks on your working tree changes. You can optionally run 'cn login' to authenticate and enable cloud-based Hub checks.

What is the best way to validate code changes locally before CI?

The best way to validate code changes locally before CI is using a local CLI to perform AI-powered checks on your current diff. This approach enables rapid feedback and can generate patches for discovered issues.

Can AI code review automatically fix issues found in my working tree?

AI code review can automatically fix issues by generating patches for changes that resolve problems discovered by agents. This patch generation occurs locally after running checks against your working tree diff.