欣淇
发布于 2026-05-12 / 1 阅读
0
0

Continue: 33k+ stars AI:

🔧 Continue: 33k+ stars 的 AI 代码检查工具

Continue 是一个开源的 AI 代码检查工具,支持在 CI 中强制执行代码审查。通过 GitHub status checks 的形式,让 AI 自动审查每个 PR。

核心功能

  • AI 驱动的代码检查: 使用 AI 模型自动审查代码质量
  • CI 集成: 作为 GitHub status checks 运行
  • 自定义检查: 通过 .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

  • AI-Powered Code Review: Automatically review code quality using AI models
  • CI Integration: Runs as GitHub status checks
  • Custom Checks: Define check rules via markdown files in .continue/checks/ directory
  • Security Review: Automatically detect security vulnerabilities and best practices
  • Install 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.


    评论