@boyingliu01/xp-gate weekly downloads statistics
By boyingliu01 · npm · Claude Code
Deterministic quality gates for AI-generated code: 15 gates, Delphi review, sprint flow. Works with Claude Code, OpenCode, Qoder.
@boyingliu01/xp-gate has 9,205 recorded weekly downloads on npm, an increase of 36.0% over the past 30 days, ranking #1302 of 3,247 tracked listings.
About @boyingliu01/xp-gate
XP-Gate
AI 写的代码,谁来验?
AI 写 100 行代码只需 5 秒,但判断这 100 行对不对仍然要人工花 30 分钟。 XP-Gate 在每次提交、每次推送、每次设计评审上放一道机器门禁,把这 30 分钟压回秒级。
Delphi 评审 · Sprint Flow · 变更日志 · 贡献指南
60 秒看效果(不需要安装)
在一个现有的 Git 仓库里直接跑,只看不拦:
npx @boyingliu01/xp-gate check .
你会立刻拿到一份代码体检报告 —— 21 条 Clean Code / SOLID 规则。 不写任何配置、不装 hook、不碰你的提交。
━━━ Gate 4: Principles ━━━
✓ No violations found
Files checked: 1 Rules run: 21 Execution time: 4ms
默认只跑 principles(Gate 4)。想把架构层、复杂度、重复代码也一起体检:
npx @boyingliu01/xp-gate check . --all
觉得有用,再决定要不要把它接到提交上 👇
装上之后,它替你挡什么
本仓库共 15 道数字门禁(Gate 0–13,含 12b / 12c) 挂在 git commit / git push 上,另有 4 道按需门禁(python-health / test-layers / pbt 等)由 xp-gate check 单独调用。
下面每一条都来自本仓库自己的审计记录(docs/gate-quality-matrix-2026-11-19.md §10.4),
不是设想出来的场景:
| 门禁 | 真实拦下的一次提交 | 是不是真问题 |
|---|---|---|
| Gate 0 | 改了生产源码却忘记升级版本号 | ✅ 是 |
| Gate 1 | shellcheck 告警数超过空基线 | ✅ 是 |
| Gate 3 | 一个函数复杂度从 3 涨到 4(加了三元表达式) | ✅ 是 |
| Gate 12b | 只改了 canonical 源码,没有同步镜像文件 | ✅ 是 |
门禁在拦我,说明它们在工作。
反过来,这个项目也被自己的门禁坑过:三个门禁看起来一直是绿的, 实际上一次都没真正执行过(#636,详见 CHANGELOG 0.38.126)。 从那以后,每个门禁都必须输出 PASS / DEBT / SKIP / FAIL 四态, 没跑过永远不会被报告成"绿"。这是 XP-Gate 和"看起来能跑"的工具之间最大的区别。
安装
npm install -g @boyingliu01/xp-gate
cd your-project
xp-gate init
需要 Node ≥18、Git ≥2.38。完整文档:GitHub README
常用命令
| 命令 | 作用 |
|---|---|
xp-gate init | 安装 Git Hooks + 适配器 |
xp-gate doctor [--fix] | 诊断 / 自动修复安装状态 |
xp-gate check <path> [--all] | 手动跑门禁 |
xp-gate gate-coverage [--debt] | 看清每道门禁的真实状态(PASS / DEBT / SKIP / FAIL) |
xp-gate baseline create | 把存量告警记为基线,只拦新变差的 |
xp-gate uninstall | 完整回滚 |
License
MIT
Description from the npm listing.
- ai-coding
- claude-code
- code-quality
- delphi
- developer-tools
- opencode
- qoder
- quality-gate
- sdlc
- static-analysis
- typescript
- ci
- pre-commit
- git-hooks
- lint
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (128)Similar npm Claude Code plugins
All 20 @boyingliu01/xp-gate alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@boyingliu01/xp-gate. First seen Nov 28, 2026; last successful collection Dec 6, 2026. See the methodology.