Convex Component Authoring
Builds reusable Convex components with defineComponent, their own schema, a typed client wrapper, and an npm publishing setup.
Dev & CodingAdvanced★ 405⑂ 32AI score 8/10Last updated: Sep 28, 2026
What it does
- Lays out a self-contained component structure (
component/,client/,example/) and when a component beats a plain helper. - Gives working code for
convex.config.ts,schema.ts, andpublic.ts, enforcingargsandreturnsvalidators on every public function. - Shows how the parent app registers the component with
app.use()and calls it viactx.runQuery/ctx.runMutation. - Documents the hard boundary rules: no parent tables, no
ctx.auth, no appprocess.env, no.paginate(), ids as strings, callbacks via function handles. - Includes a mistake-to-fix table and defers npm packaging details to
references/publishing.md.
Who it's for
- Convex developers extracting features (counters, rate limits, audit logs) into packages.
- Authors publishing to the Convex component directory.
- Teams sharing one backend module across several apps.
Examples
- "Turn my counter logic into a Convex component" → generates schema, public functions, and a typed
Counterwrapper class. - "My functions don't appear under
components.counter" → checks missingapp.use(), stalenpx convex dev, and reference-path mismatches. - "The component needs the current user" → authenticate in the app and pass
userIdas a string across the boundary.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/waynesutton/builder-skills/HEAD/skills/convex-component-authoring/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/convex-component-authoring folder from the GitHub repo waynesutton/builder-skills into my ~/.claude/skills/waynesutton-convex-component-authoring/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/waynesutton/builder-skills.git /tmp/builder-skills && mkdir -p ~/.claude/skills && cp -r /tmp/builder-skills/skills/convex-component-authoring ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal in your working directory.
- Clone the repo:
git clone https://github.com/waynesutton/builder-skills.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r builder-skills/skills/convex-component-authoring ~/.claude/skills/ - Verify with
ls ~/.claude/skills/convex-component-authoring— you should seeSKILL.mdand areferences/folder. - Restart Claude Code and ask something like "help me author a Convex component".
- Make sure your project has the
convexpackage installed andnpx convex devruns cleanly before applying the generated code.
View source on GitHub ↗License: Apache-2.0