Saltar al contenido
Marketplace

convex

de waynesutton

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.

Resumen

SKILL.mdLeída en 82d1ce2

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

  • https://docs.convex.dev/llms.txt
  • https://docs.convex.dev/understanding/best-practices
  • https://docs.convex.dev/functions

Archivos 4 archivos

Instálala a mano

Deska ejecuta esto por ti, para cada agente que elijas. Para ejecutarlo tú en una terminal:

npx skills add waynesutton/builder-skills --skill convex

Más de waynesutton

  • convex-best-practiceswaynesuttonProduction 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.3,800 instalaciones en skills.sh0
  • convex-functionswaynesuttonWrites Convex queries, mutations, actions, and internal functions in the object form with args and returns validators, correct ctx usage, runtime boundaries, and error handling. Use when adding or changing anything in convex/*.ts that exports a function, or when deciding between query, mutation, and action.3,100 instalaciones en skills.sh0
  • convex-schema-validatorwaynesuttonDesigns convex/schema.ts tables, validators, indexes, and relationships, and keeps the schema honest as data evolves. Use when creating tables, adding fields, choosing index fields, modeling relationships, or when a validator error appears at deploy time.2,900 instalaciones en skills.sh0
  • convex-realtimewaynesuttonBuilds reactive UIs on Convex subscriptions: useQuery patterns, optimistic updates, pagination that stays live, presence, and avoiding subscription churn. Use when wiring the frontend to Convex, when data does not update live, or when a page rerenders too much.2,800 instalaciones en skills.sh0
  • convex-cron-jobswaynesuttonSchedules 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.2,700 instalaciones en skills.sh0
Todas las skills de waynesutton