Use Convex Components to add isolated backend features and compose component APIs. Use for installing components, calling component APIs, authoring components, and handling component-specific constraints (Id types, env vars, pagination, auth). Use proactively when users mention components, workpool, workflow, agent component, or reusable backend modules. Examples: - user: "Install the Agent component" → add convex.config.ts + use() + components API - user: "Call component functions" → ctx.runQuery(components.foo.bar, args) - user: "Build a component" → defineComponent, schema, _generated, packaging - user: "Expose component API to clients" → re-export functions with auth
npm i @convex-dev/<component>.convex/convex.config.ts:
import { defineApp } from "convex/server";app.use(component); use app.use(component, { name: "custom" }) for multiple instances.npx convex dev to generate component code.components.<name> in convex/_generated/api.ctx.runQuery/Mutation/Action with components.<name>.<fn>.components.<name> exposes ONLY public component functions.Id types cross boundaries as string; You MUST NOT use v.id("table") for external tables._generated directory; You MUST use the app's components references.process.env directly.convex/http.ts.ctx.auth is NOT available inside component functions..paginate() is NOT supported inside components.convex-helpers paginator and usePaginatedQuery from convex-helpers if needed.convex.config.ts, schema.ts, functions, and _generated.defineComponent("name") defines component; use component.use(...) for child components.convex/components/ or any folder.@pkg/convex.config.js@pkg/_generated/component.js@pkg/test helperscreateFunctionHandle(api.foo.bar) to pass callbacks across boundaries.v.string() validators and cast back to FunctionHandle.convex-test using component schema/modules or provided test helpers.@pkg/test register helper.npx skills add IgorWarzocha/convex-components下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer