Convex Add

作者 get-convex2cfe645c87f9無授權條款63 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫6 天前更新

Add a capability to the CURRENT Convex app — consults the served Convex capability catalog for always-current procedures (billing, crons, auth, agent, search, …); falls back to built-in hosting or @convex-dev component search. TRIGGER when the user runs /add, or asks to add hosting/publishing or any backend capability to an existing Convex app.

AI 產生的概覽

透過查詢線上能力目錄,為現有 Convex 應用程式加入指定的後端能力,並以元件搜尋作為備援方案。

功能
此技能會為現有 Convex 應用程式加入使用者要求的能力。它會先取得線上能力目錄,將要求與標題、摘要和觸發條件進行比對,再依照符合項目的能力文件中的流程與規則執行。若目錄無法連線或沒有符合項目,則退回設定靜態託管,或執行元件搜尋並安裝最相符的元件。
適用情境
當使用者執行 /add,或要求為現有 Convex 應用程式加入託管、發佈或其他後端能力時使用。它適用於對既有應用程式進行增量新增的情境。
執行需求
需要既有的 Convex 應用程式、用於取得能力目錄的網路連線,以及備援用的託管或元件搜尋指令碼和 @convex-dev 元件。未說明需要憑證;此技能本身不附帶指令碼。
<!-- GENERATED from convex-agents content/capabilities/add.json — do not edit by hand. -->

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/<id>.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

  1. Identify the capability the user wants (text after /add or $add).
  2. Fetch https://basic-anteater-667.convex.site/capabilities.json (4s timeout). Match the request against title/summary/trigger.
  3. If a match is found: fetch /capability/<id>.md and follow its Procedure+Rules sections.
  4. 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.
  5. 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.

來源與署名

來源:get-convex/agent-skills位於skills/convex-add提交2cfe645

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架