跳到正文
Skillpedia
部署与云(DevOps)9.5k · #12237

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-check-updates/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请检查我的 Convex 组件是否过时,如果我同意,就将它们升级。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会把项目中的版本与推荐版本进行比较,列出所有过时的组件,并等待你的批准。每次获批的升级都会先应用并检查,然后再进行下一项。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

<!-- GENERATED from convex-agents content/capabilities/check-updates.json — do not edit by hand. -->

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

  1. Run curl -fsSL https://graceful-tiger-715.convex.site/check-updates.mjs -o /tmp/cu.mjs && node /tmp/cu.mjs from the project root.
  2. If COMPONENTS_UP_TO_DATE: tell the user; done.
  3. If COMPONENTS_STALE=<n>: list each stale entry (component name, installed → current, summary, breaking flag) and ask the user before touching anything.
  4. On yes: install the new ref, apply each migration.steps change (delegate convex/ edits to convex-expert), run every migration.gate command.
  5. If any gate command fails: revert (git checkout -- . or reinstall old ref) and report; never leave the app half-migrated.
  6. Give the user the smoke check (migration.smoke) to run after each successful upgrade.
  7. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能