🔧 Continue: 33k+ stars 的 AI 代码检查工具
Continue 是一个开源的 AI 代码检查工具,支持在 CI 中强制执行代码审查。通过 GitHub status checks 的形式,让 AI 自动审查每个 PR。
核心功能
.continue/checks/ 目录下的 markdown 文件定义检查规则安装 CLI
# AI 检查由开源 Continue CLI (cn) 驱动
npm install -g @continueci/cli
配置检查
在仓库中创建 .continue/checks/ 目录,添加检查规则:
---
name: Security Review
description: Review PR for basic security vulnerabilities
---
Review this PR and check that:
- No secrets or API keys are hardcoded
- All new API endpoints have input validation
- Error responses use the standard error format
使用方式
在您的代码助手中选择:
Help me write checks for this codebase: https://continue.dev/walkthrough
Continue 会自动在每次 PR 中运行 AI 检查,绿色表示代码质量良好,红色会提供改进建议。
🔧 Continue: AI Code Checker with 33k+ stars
Continue is an open-source AI code checker tool that enforces code review in CI through GitHub status checks. It automatically reviews code quality using AI models.
Core Features
.continue/checks/ directoryInstall CLI
AI checks are powered by the open-source Continue CLI (cn):
npm install -g @continueci/cli
Configure Checks
Create a .continue/checks/ directory in your repository and add check rules:
---
name: Security Review
description: Review PR for basic security vulnerabilities
---
Review this PR and check that:
- No secrets or API keys are hardcoded
- All new API endpoints have input validation
- Error responses use the standard error format
Usage
Paste this into your coding agent of choice:
Help me write checks for this codebase: https://continue.dev/walkthrough
Continue runs AI checks on every PR automatically - green for good code quality, red with suggested improvements.