阿约布依
在飞船前抓住设计漂移 Buoy扫描了您的代码库, 找出AI生成的代码与您设计系统的不同之处 .
快速启动
npx ahoybuoy show all
此扫描您的工程而不需要配置 .
发现什么
- 硬码颜色 喜欢
#3b82f6而不是设计符号 - 魔法数 喜欢
padding: 17px而不是间隔变量 - AI 生成代码 无视你的团队模式
图标
| 命令 | 目的 |
|---|---|
buoy show all | 扫描组件、 符号和漂移 |
buoy drift check | 承诺前漂移验证 |
buoy drift fix | 预览或应用漂移修正 |
buoy rescue | 测量、修理、警卫和证明改进 |
buoy dock | 配置项目( 代理、 钩等) |
buoy ahoy | 云态特征(login, GitHub bot, 计费) |
修正命令
这个 buoy drift fix 命令为设计漂移建议并应用修正:
buoy drift fix # Preview fixable issues
buoy drift fix --dry-run # Show detailed diffs
buoy drift fix --apply # Apply high-confidence fixes
buoy drift fix --confidence=high # Require high-confidence matches
救援工作流程
对于现有的密码库,救援将命令变成一个可审查的旅程:
buoy rescue plan
# Review .buoy/rescue/runs/<run-id>/report.html
buoy rescue apply --run <run-id> --approve
buoy rescue guard --run <run-id> --reason "Reviewed legacy baseline"
buoy rescue report --run <run-id>
应用需要干净的 Git 工作树并创建新 buoy/<run-id> 树枝.
Buoy从未承诺,推动,合并,或上传源代码. 隐蔽的改变留下
需要审查,以及 buoy rescue rollback 恢复本地备份.
信任水平
| 职等 | 分数 | 说明 |
|---|---|---|
| 准确 | 100% | 与设计符号完全匹配的值 |
| 高级 | 95-99% (中文(简体) ) | 非常接近匹配,可以自动应用 |
| 介质 | 70-94% | 接近匹配, 建议审查 |
| 低级 | < 70% | 需要大量人工审查 |
AI 一体化
Buoy与 AI 编码工具合作良好:
# Set up AI agents with design system context
buoy dock agents
# Generate CLAUDE.md context
buoy dock context
0 配置
Buoy自动检测您的框架( React, Vue, Svelte, Angular, Astro) 并扫描标准路径 。 启动时不需要配置 .
遥测
默认关闭。 Buoy在第一次漂移导致一个互动终端后,曾经问过它能否发送匿名使用pings. 说不就再也不问了.
如果您选择加入, 它会发送事件名称(cli_first_run, (中文(简体) ), cli_drift_found, (中文(简体) ), cli_check_clean, (中文(简体) ), cli_hint_shown, (中文(简体) ), cli_login_started)与计数,CLI版本,以及你的OS. 从不文件路径,仓库名称,代码,或账户细节. 随机编号 ~/.buoy/config.json 组合从一个安装的接线,而不是绑定在您身上.
buoy ahoy telemetry # show the setting and the exact payload
buoy ahoy telemetry off # or on
BUOY_TELEMETRY=0, (中文(简体) ), DO_NOT_TRACK=1,或 CI 在环境中,不管设置如何,都会禁用它。 JSON和安静的输出从不发送.