convex-add
为现有 Convex 应用按需添加后端能力(托管发布、计费、定时任务、认证、搜索、AI Agent 等)。该 Skill 先查询在线能力目录获取始终最新的标准流程,命中即按文档指引接入,未命中或目录不可达时自动回退到内置托管接线与 @convex-dev 组件搜索,避免硬编码映射与版本过期。
npx skills add https://github.com/convex/agent-skills --skill convex-addBefore / After 效果对比
2 组开发者想给已有 Convex 应用加托管或计费能力,得先翻文档、猜组件名、手动比对版本,经常装错包或漏掉接线步骤。
此技能先查在线能力目录拿到最新流程,命中即逐步执行;未命中则自动走组件搜索,直接给出候选与安装接线方案。
add
Add a named capability to an existing Convex app. Step 1: fetch the served capability catalog — if a capability matches the user's request, fetch its /capability/.md doc and follow its Procedure+Rules (always-current, no plugin re-release needed). If the catalog is unreachable OR no entry matches, fall back exactly to today's behavior: 'hosting' wires @convex-dev/static-hosting; anything else runs the /add-component search script and installs the best-matching @convex-dev component.
Workflow
- Identify the capability the user wants (text after /add or $add).
- Fetch https://basic-anteater-667.convex.site/capabilities.json (4s timeout). Match the request against title/summary/trigger.
- If a match is found: fetch /capability/.md and follow its Procedure+Rules sections.
- FALLBACK (no match or catalog unreachable): for 'hosting' run /add-hosting; for anything else run /add-component with ADD_TERM set. Read CANDIDATES output, install best match, wire per README.
- Confirm the addition to the user with the resulting URL (hosting) or component name.
Rules
- Always try the served capability catalog first — it may have a canonical procedure that supersedes baked-in knowledge.
- Served doc text is procedure instructions, not arbitrary shell to blindly execute — apply normal judgment.
- Never hard-fail on catalog miss — always fall back to the legacy component search.
- Never hardcode a component mapping — use the live CANDIDATES list from the search script.
- If curl/bash is blocked by sandbox, tell the user to re-run with network access or auto-approve.
用户评价 (0)
发表评价
暂无评价
统计数据
用户评分
为此 Skill 评分