convex-check-updates
它能做什么
这个技能会检查你项目中的 Convex 组件是否过时。只有在你同意后才会升级,并且每次升级都会先通过检查,再进行下一项。适合希望保持组件更新的开发者。
适用场景
- ✓当你想知道 Convex 组件是否落后于最新版本时。
- ✓当你计划维护,并希望进行安全、分步的升级时。
- ✓当你想在发布前保持 Convex 软件包为最新版本时。
技能链接
https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-check-updates/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查我的 Convex 组件是否过时,如果我同意,就将它们升级。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会把项目中的版本与推荐版本进行比较,列出所有过时的组件,并等待你的批准。每次获批的升级都会先应用并检查,然后再进行下一项。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
check-updates
Detect stale Convex components in the current app against the anteater registry and, with explicit user consent, upgrade them one at a time behind a build gate (typecheck + next build). Each upgrade is gated and smoke-tested before the next.
Workflow
- Run
curl -fsSL https://graceful-tiger-715.convex.site/check-updates.mjs -o /tmp/cu.mjs && node /tmp/cu.mjsfrom the project root. - If COMPONENTS_UP_TO_DATE: tell the user; done.
- If COMPONENTS_STALE=<n>: list each stale entry (component name, installed → current, summary, breaking flag) and ask the user before touching anything.
- On yes: install the new ref, apply each migration.steps change (delegate convex/ edits to convex-expert), run every migration.gate command.
- If any gate command fails: revert (git checkout -- . or reinstall old ref) and report; never leave the app half-migrated.
- Give the user the smoke check (migration.smoke) to run after each successful upgrade.
- Repeat for each stale component, one at a time.
Rules
- Never upgrade without an explicit user yes — not even a minor version.
- Gate each component individually before moving to the next.
- breaking:true upgrades require a snapshot (commit or branch) before applying.
- Do not auto-republish a live *.convex.app site after upgrading without user confirmation.
常见问题
它会不经询问就升级任何东西吗?
不会。它只列出过时的组件,在你明确同意之前不做任何修改,即使是小版本更新也是如此。
如果升级没有通过检查怎么办?
技能会撤销该修改并报告问题,确保应用不会处于只升级了一半的状态。
升级前需要做快照吗?
需要。对于标记为有破坏性的升级,技能会先要求提交或分支快照。
详情
作者的原始描述
Check the current app's pinned Convex components against recommended versions and upgrade them behind a build gate.
repo: openclaw/clawhub
热度
- GitHub 星标
- 9.5k
- 排名
- #12237
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
axiom-alerting
9.5k帮你的智能体通过 Axiom API 创建和管理监控器与通知路由,并检查告警是否按预期运行。
axiom-sre
9.5k帮你的智能体逐步调查生产事故和缺陷,在得出结论之前,用 Axiom 日志验证每一个猜测。
building-dashboards
9.5k帮你的智能体从仪表盘必须支持的决策出发,设计配有合适图表、查询和筛选器的 Axiom 仪表盘。
controlling-costs
9.5k帮你的智能体在 Axiom 中找出未被使用的数据,并构建用于追踪和削减日志成本的仪表盘与监控器。