随处运行,一秒出结果
一条命令,无需账号,代码不离开你的机器。覆盖 10 种语言目标、50+ 条规则。
- 无需账号
- 本地运行
- 一秒内出结果
$ npx aislop@latest scan开源 CLI 在一秒内为 AI 生成的代码打分,PR 质量门禁把 slop 挡在 main 之外。每一条问题都会交回给写下它的智能体。
一眼看清哪些通过、哪些需要关注,以及在 AI 写的代码上线前该在哪里动手。
4 个仓库,3 个通过,1 个未通过,平均 75 分
同一个确定性扫描,在你的电脑上、每个 pull request 里、以及智能体的循环中运行。代码相同,分数就相同。
一条命令,无需账号,代码不离开你的机器。覆盖 10 种语言目标、50+ 条规则。
$ npx aislop@latest scanscanaislop 以 GitHub check 的形式为每个 pull request 打分,低于阈值就不允许合并。
aislop 为 Claude Code、Cursor、Codex 等 14 个智能体准备好修复提示词。评审者拿到的是干净的 diff。
+ 其他智能体可用 --prompt
质量水位,一目了然
https://badges.scanaislop.com/score/<owner>/<repo>.svg[](https://scanaislop.com/<owner>/<repo>)
August data from 264,000 aislop scans: 4 in 10 repositories carry AI-slop patterns, and 1 in 8 agent edits left the file worse than it found it. The numbers, and what they do not prove.
英文原文How to check code quality in a repo that ships AI-written changes: define the bar, automate repeatable checks, score the residue, and keep human review for intent.
英文原文Run npx aislop scan with no install. What the 0 to 100 score means, where the GitHub repo lives, and how to put the same code quality check in CI.
英文原文aislop 是面向 AI 生成代码的代码质量 CLI。运行 npx aislop scan,即可为仓库的 AI slop 打出 0–100 分:被吞掉的异常、叙述式注释、不安全的类型转换、残留的死代码。代码相同,分数就相同。
AI slop 是 AI 生成代码中的低价值残留。它能编译,常常也能通过测试,却仍然在消耗评审时间。
slop code 就是仓库里的 AI slop:空的 catch、遗留的 TODO、没用上的辅助函数、复述下一行代码的注释。aislop 为这些模式命名,并可以在 CI 中拦截它们。
先跑测试和一次确定性扫描:npx aislop scan。然后评审意图,而不是格式。