convex/agent-skills

convex-expert

Convex backend specialist.

  • SKILL.md 已保存
  • 英文来源资料
  • 安装与运行未实测
先判断是否解决你的问题

convex-expert 是什么?

Convex backend specialist. Use this agent for any code inside a convex/ directory — function definitions, schemas, indexes, queries, mutations, actions, HTTP endpoints, cron jobs, file storage, auth wiring, and component installation. Knows the object-form function syntax, validator patterns, resource limits, and component ecosystem that generic Claude routinely gets wrong.

以上为来源原文,中文用途说明尚待整理。

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 convex-expert,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 convex-expert

请在 Codex 的当前工作环境中安装并检查 convex-expert 这个 Skill。

项目身份:convex/agent-skills / convex-expert
来源:https://github.com/convex/agent-skills/blob/b32286cad1672916953ece2692535f72013f55d2/skills/convex-expert/SKILL.md
已定位的源文件:skills/convex-expert/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-20T19:31:09.802Z
中文使用说明
尚待整理,保留英文来源内容
安装与任务测试
本站未执行安装或任务测试
来源复核
已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料

skills/convex-expert/SKILL.md · 抓取时间 2026-11-20T19:31:09.802Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Convex backend specialist. Use this agent for any code inside a `convex/` directory — function definitions, schemas, indexes, queries, mutations, actions, HTTP endpoints, cron jobs, file storage, auth wiring, and component installation. Knows the object-form function syntax, validator patterns, resource limits, and component ecosystem that generic Claude routinely gets wrong.

查看源文件章节 / Source sections
  • 原文:Convex backend specialist
  • 工作流程 / Workflow
  • 原文:Rules
原文:正文开头

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

原文:Convex backend specialist

Always-on Convex backend specialist invoked before touching any code inside a convex/ directory. Knows the object-form function syntax, validator requirements, index naming rules, internal-vs-public discipline, schema evolution patterns, resource limits, component ecosystem, and runtime error decoder that generic models routinely get wrong.

工作流程 / Workflow

1. When about to write or edit any file under convex/: read convex/schema.ts first (and convex/_generated/ai/guidelines.md if present). 2. Write all Convex functions in object form with both args and returns validators on every registered function. 3. Use withIndex(...) for every read path — never .filter() for anything that would be a SQL WHERE clause. 4. Default to internalQuery/internalMutation/internalAction; promote to public only when a client hook needs it. 5. For any LLM/chat feature reach for @convex-dev/agent; for multi-step flows use @convex-dev/workflow — never hand-roll these. 6. After writing, confirm convex dev pushed cleanly and fix any Schema/Returns/Argument validation errors in place.

原文:Rules

- DATA ACCESS + IMPORTS — read before writing any convex/*.ts (front-loaded, not a post-hoc lint): - Never an unbounded `.collect()` on a table that can grow — use `.withIndex(...)` and `.paginate(paginationOptsValidator)`/`.take(n)` instead. This is the single most common Convex deploy-blocking and perf defect. - Index, don't filter — add `.index(...)` in schema.ts for every read path and query it with `.withIndex(...)`; `.filter()` is a full table scan, never a substitute for a WHERE. - The exact import table — get this wrong and the app fails to deploy: `query`/`mutation`/`action`/`internalQuery`/`internalMutation`/`internalAction` come from `"./_generated/server"`; `api`/`internal` come from `"./_generated/api"`; NEVER `import { query } from "convex/server"` or `import { internal } from "./_generated/server"` in application code — both are hard deploy failures. - `v.literal("exact value")` for a fixed string/enum member (e.g. `v.union(v.literal("open"), v.literal("closed"))`) — not a bare `v.string()` when the set of values is fixed. - `"use node";` goes only at the top of action-only modules — a file with `"use node"` can never also export a `query` or `mutation` (they don't run in the Node runtime); split the file if you need both. - Object form only — never the legacy positional query(args, handler) syntax. - args and returns validators on every registered function, no exceptions. - v.id(tableName) for IDs, never v.string(); undefined is not a Convex value (use null). - Never add a required field to a populated table — add v.optional(...) first, backfill, then tighten. - Never include _creationTime as a column in a custom index (reserved; causes IndexNameReserved error). - Never store storage URLs in tables — store the Id<'_storage'> and call ctx.storage.getUrl(id) on read. - Mutations cannot fetch — all external IO goes in actions; persist via ctx.runMutation(internal.x.y). - Don't add a parallel database, cache, real-time service, API server, job queue, or object store — Convex is the backend. - Convex functions only run from the `convex/` directory — never write schema.ts/queries/mutations/actions at the project root. - SELF-VERIFY RULE — before declar

本段为节选,完整内容见源文件。

文件 SHA256:dd1023f493d7f914f2875058f003159c59ed7593d3bc37d02eae2c9367a2825e

仓库许可证记录:Apache-2.0;repository-license-recorded-scope-unverified,查看来源。

SKILL.md原文description · 2026-11-20T19:31:09.802Z

Convex backend specialist. Use this agent for any code inside a `convex/` directory — function definitions, schemas, indexes, queries, mutations, actions, HTTP endpoints, cron jobs, file storage, auth wiring, and component installation. Knows the object-form function syntax, validator patterns, resource limits, and component ecosystem that generic Claude routinely gets wrong.

查看历史简介来源

历史收录数据

来源仓库convex/agent-skills
Skill源路径skills/convex-expert/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源