shippie

mattzcareyMIT活跃维护

可扩展的代码审查与 QA 智能体,接入 GitHub 和 MCP 工具链,自动检查代码质量并给出评审意见。

extendable code review and QA agent 🚢

v0.21.2发布于 2026-06-23 08:15 UTC2,522star +1 / 7 天241fork同步于 2026-11-11 05:41 UTC

怎么上手

由 README 提炼,执行前请确认
npx shippie init
npx shippie review
硬件要求按 README 说明

README 未说明,仅要求 Node >= 22.19 与 npm,无需本地 GPU

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

可扩展的代码审查与 QA 智能体,自动读 diff 并在 PR 里发评论

可扩展的代码审查与 QA 智能体,接入 GitHub 和 MCP 工具链,自动检查代码质量并给出评审意见。

核心能力

  • 运行 agent 循环读取 diff 并用工具探索代码库
  • 自动发现泄露密钥、低效代码和潜在 bug
  • 可作为 MCP 客户端接入浏览器自动化等外部工具
  • 支持 Anthropic、OpenAI、OpenRouter、Cloudflare Workers AI
  • 可跑在 Node、Cloudflare、GitHub Actions、GitLab CI

容易踩的坑

需自行配置 provider API key(如 ANTHROPIC_API_KEY);GitHub Action 需完整 checkout(fetch-depth: 0)和 PR 写权限;本地模式只审查已暂存改动(git diff --cached)

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.21.2
  1. v0.21.2最新正式版2026-06-23 · 2026-06-23 08:15 UTC

    Patch Changes

    • #475 f7efb9d Thanks @mattzcarey! - Fix shippie review crashing on a clean install with [flue] Agent "mention" must default-export createAgent(...). The @flue/* dependencies were ranged with a caret (^1.0.0-beta.1), so installs floated to @flue/[email protected], whose createAgent marker (__flueAgentDefinition) no longer matches the validator bundled into dist/server.mjs (built against beta.1's __flueCreatedAgent). Pin @flue/runtime, @flue/github, and @flue/cli to exact 1.0.0-beta.1 so the runtime installed by npx/the GitHub Action always matches the bundled build output.
  2. v0.21.12026-06-23 · 2026-06-23 07:18 UTC
    查看更新说明

    Patch Changes

    • #473 3ee1b4b Thanks @mattzcarey! - Trim published package to dist + bin; switch release tooling to Changesets with npm provenance + OIDC trusted publishing
  3. v0.21.02026-06-22 · 2026-06-22 10:44 UTC
    查看更新说明

    0.21.0 (2026-06-22)

    ⚠ BREAKING CHANGES

    • rebuild shippie as a prebuilt agent on flue (#470)

    Features

    • rebuild shippie as a prebuilt agent on flue (#470) (f6a2878)
  4. v0.20.02025-08-01 · 2025-08-01 14:36 UTC
    查看更新说明

    0.20.0 (2025-08-01)

    Features

    • add support for root-level rules files and deduplication (#457) (511680e)
  5. v0.19.02025-07-31 · 2025-07-31 11:00 UTC
    查看更新说明

    0.19.0 (2025-07-31)

    Features

    Bug Fixes

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Shippie 🚢 (formerly Code Review GPT)

    NPM Contributors Pulse License Twitter

    Helps you ship faster

    Shippie is an extendable code-review agent. It runs an agent loop that reads your diff, explores the codebase with real developer tools, and posts focused review comments — picking up issues a human reviewer would, such as:

    • Exposed secrets
    • Slow or inefficient code
    • Potential bugs or unhandled edge cases

    Shippie can also act as a Model Context Protocol (MCP) client to reach external tools like browser automation, observability and documentation.

    Demo

    https://github.com/mattzcarey/shippie/assets/77928207/92029baf-f691-465f-8d15-e1363fcb808e

    Ethos 💭

    • A prebuilt review workflow, not a bespoke CLI — the agent loop runs on flue + pi.
    • Runs anywhere: Node, Cloudflare, GitHub Actions, GitLab CI.
    • Functions as a human code reviewer, using flue's built-in tools instead of a hand-rolled tool registry.
    • Provider-agnostic: Anthropic, OpenAI, OpenRouter, and Cloudflare Workers AI out of the box.
    • Acts as an MCP client for integration with external tools.

    Quick start 🚀

    GitHub Action

    Run npx shippie init to scaffold the workflow below, then add your provider API key as a repo secret. Or add it manually — it needs a full checkout (fetch-depth: 0), PR write permissions, and a provider API key.

    # .github/workflows/shippie.yml
    name: Shippie
    
    on:
      pull_request:
    
    permissions:
      pull-requests: write
      contents: read
    
    jobs:
      review:
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v4
            with:
              fetch-depth: 0
          - uses: mattzcarey/shippie@v0
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
    

    See Action Options for all inputs (MODEL, THINKING_LEVEL, IGNORE, CUSTOM_INSTRUCTIONS, MCP_SERVERS, and the provider keys).

    Local

    Run the review workflow locally with no server. Local mode reviews your staged changes (git diff --cached) and writes results to .shippie/review/local_*.md:

    npx shippie review
    

    Run on demand with /shippie

    Comment /shippie review on a pull request to run shippie on demand — either via a GitHub Actions workflow (no server) or a deployed webhook channel. See Run Shippie on demand.

    Setup Instructions 💫

    See the setup instructions for more docs on how to set up shippie in your CI/CD pipeline and run it locally.

    Additional Documentation

    Development 🔧

    This repo targets Node >= 22.19 with npm.

    1. Clone the repository:

      git clone https://github.com/mattzcarey/shippie.git
      cd shippie
      
    2. Install dependencies:

      npm install
      
    3. Set up your API key:

      • Copy .env.example to .env.
      • Set the provider key you want to use, e.g. ANTHROPIC_API_KEY (or OPENAI_API_KEY, OPENROUTER_API_KEY, CLOUDFLARE_API_KEY + CLOUDFLARE_ACCOUNT_ID).
    4. Run the review workflow:

      npm run review
      

      Useful commands:

      • npm run dev — run flue in dev mode
      • npm run build — build a publishable Node server to dist/server.mjs (run it with npm run start, then POST /workflows/review?wait=result)
      • npm run check — lint with oxlint + check formatting with oxfmt
      • npm run check:types — typecheck with tsc
      • npm test — run tests

      See package.json for the full list of scripts.

    Contributors 🙏

    Thanks to our wonderful contributors!

    Roadmap 🌏

    Have a look at the discussion tab for the latest chat and ideas. I am actively working on the items in todo.md.

    Star History ⭐️

    Star History Chart