All skills
get-convex avatar

/convex-create-component

@7a6fcc6
by Convexget-convex/agent-skills62 stars
11

Builds reusable Convex components with isolated tables and app-facing APIs. Use for new components, reusable backend modules, integrations, or component boundary work.

Use this Skill: https://skilld.dev/gh/get-convex/agent-skills/convex-create-component

This session only. Nothing lands on disk.

referenceslocal-components.md

≈275 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Local Convex Components

Read this file when the component should live inside the current app and does not need to be published as an npm package.

When to Choose This

  • The user wants the simplest path
  • The component only needs to work in this repo
  • The goal is extracting app logic into a cleaner boundary

Default Layout

Use this structure unless the repo already has a clear alternative pattern:

convex/
  convex.config.ts
  components/
    <name>/
      convex.config.ts
      schema.ts
      <feature>.ts

Workflow Notes

  • Define the component with defineComponent("<name>")
  • Install it from the app with defineApp() and app.use(...)
  • Keep auth, env access, public API wrappers, and HTTP route mounting in the app
  • Let the component own isolated tables and reusable backend workflows
  • Add app wrappers if clients need to call into the component

Checklist

  • Component is inside convex/components/<name>/
  • App installs it with app.use(...)
  • Component owns only its own tables
  • App wrappers handle client-facing calls when needed

Source: SKILL.md on GitHub

No alerts16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill is a development tool for building Convex components that follows security best practices, such as isolating authentication and environment variables from component logic. It utilizes official platform CLI tools and standard libraries for development workflows.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 7a6fcc6. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 4 months ago

README badge

README badge for get-convex/agent-skills/convex-create-component