跳到正文
cccskills
免费在 GitHub 公开

convex

Routes Convex work to the right builder skill and covers the handful of rules that apply everywhere: validators on every function, withIndex over filter, idempotent mutations, internal functions for scheduling. Use when a task mentions Convex and no more specific skill matches, or as the first stop before picking one.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(4)

  • SKILL.md3.0 KB
  • agents/openai.yaml91 B
  • assets/large-logo.png3.2 KB
  • assets/small-logo.svg1.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Convex

Start here, pick the matching skill below, and load it. If nothing matches, the rules at the bottom still apply.

Pick a skill

SkillLoad when
convex-best-practicesgeneral patterns, project structure, "is this the Convex way"
convex-functionsqueries, mutations, actions, internal functions, error handling
convex-schema-validatortables, indexes, validators, v.* types, schema changes
convex-realtimeuseQuery, optimistic updates, pagination, presence, rerender churn
convex-http-actionswebhooks, REST endpoints, convex/http.ts, Stripe or Clerk callbacks
convex-file-storageuploads, upload URLs, serving files, storage cleanup
convex-cron-jobscrons.ts, runAfter, runAt, batching, a cron that is not firing
convex-migrationsbackfills, renaming fields, schema evolution with live data
convex-agentsAI agents, threads, tools, streaming, RAG with @convex-dev/agent
convex-component-authoringbuilding a reusable component package, defineComponent
convex-security-checkfast pre ship audit: auth on public functions, exposed data
convex-security-auditdeep review: authorization model, injection, rate limits, secrets
avoid-feature-creepscope pushback, MVP cuts, "just one more feature"
project-workflowmulti step tasks, PRDs in prds/, task.md, plans for review
project-docssyncing task.md, changelog.md, files.md with shipped code
git-safetyrevert, undo, reset, checkout, clean, stash, force push

Two skills often apply at once. Load the domain skill for the code and the process skill for the workflow, for example convex-functions plus project-workflow.

Rules that hold everywhere

  • Every function declares args and returns validators, including internal ones.
  • Read through withIndex. .filter() on a table scan is a bug waiting for data.
  • Mutations are idempotent. Check current state, return early when there is nothing to do.
  • Schedule and cron only internal.* functions. Never api.*.
  • Never call Date.now() inside a query. Pass time in as an argument.
  • Use npx convex dev for development. Do not run npx convex deploy unless asked.
  • Fetch https://docs.convex.dev/llms.txt before trusting memory about an API.

Do not

  • Edit anything under convex/_generated/.
  • Use crons.daily, crons.hourly, or crons.weekly. Use crons.interval or crons.cron.
  • Put "use node" in a file that also exports queries or mutations.
  • Run git commands that discard work without loading git-safety first.

Docs

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Keeps a change scoped to what was asked. Flags extra features, refactors, and 'while we are here' edits, and moves them to a suggestions list instead of the diff. Use when a request is small and the agent is about to expand it, when a PRD grows beyond its problem statement, or when the user says 'just do what I asked'.

中文简介正在准备中。当前显示原文说明。

waynesutton/builder-skills4062026年9月28日 更新

Builds AI agents on the Convex agent component: threads, messages, tools that call queries and mutations, streaming, RAG with vector search, and workflows for multi step jobs. Use when adding a chat assistant, tool calling agent, or retrieval feature to a Convex app.

中文简介正在准备中。当前显示原文说明。

waynesutton/builder-skills4062026年9月28日 更新

Production patterns for Convex apps and the rules the @convex-dev/eslint-plugin enforces: validators, indexes, idempotent mutations, avoiding OCC conflicts, thin function wrappers, error handling. Use when reviewing Convex code, asking whether a pattern is right, setting up ESLint, or fixing write conflicts and slow queries.

中文简介正在准备中。当前显示原文说明。

waynesutton/builder-skills4062026年9月28日 更新

Creates reusable Convex components with defineComponent, a clean client wrapper, their own schema, and an npm publish setup. Use when extracting a feature into a package, building something for the Convex component directory, or when a component's functions are not showing up in the parent app.

中文简介正在准备中。当前显示原文说明。

waynesutton/builder-skills4062026年9月28日 更新

Schedules work in Convex: cron jobs in convex/crons.ts, one off scheduled functions with runAfter and runAt, batching large jobs, and cancelling or inspecting the queue. Use when something needs to run on a timer, later, or in the background, or when a cron is not firing.

中文简介正在准备中。当前显示原文说明。

waynesutton/builder-skills4062026年9月28日 更新

Handles files in Convex: upload URLs, storing blobs from actions, serving with getUrl or an HTTP action, metadata from the _storage table, and deletion. Use when users upload images or documents, when an action fetches a file from a third party, or when a file URL expires unexpectedly.

中文简介正在准备中。当前显示原文说明。

waynesutton/builder-skills4062026年9月28日 更新

查看 waynesutton 的全部技能

报告此技能的问题