Index of every page on this site: llms.txt
All skills
waynesutton avatar

/convex-functions

@853b196
Run it yourself

Retired. Points to the skill that replaced convex-functions in builder-skills 3.0. Use when /convex-functions is invoked by name or the user asks where convex-functions went.

Use this Skill: https://skilld.dev/gh/waynesutton/builder-skills/convex-functions

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈48 tokens for metadata: the name and description. ≈123 when used: this file. ≈23 more on demand in 1 file.

Description uses 2.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈193 characters, or 2.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert7d3 checks · Risk SAFE
  • Gen Agent Trust Hub7d

    This skill is a retired placeholder that provides instructions for users to migrate to the official 'convex-design' skill. It includes links to the original source and the official replacement on Convex's platform.

  • Socket7d

    No alerts

  • Snyk7d

    Risk: CRITICAL · 1 issue

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

Last checked against GitHub 6 days ago.

Activeupdated 2 weeks ago
  • TypeScript
  • convex
  • queries
  • mutations
  • actions
  • http-actions
  • validation
  • error-handling
  • scheduling

README badge

README badge for waynesutton/builder-skills/convex-functions

Teaches how to write Convex queries, mutations, actions, and HTTP endpoints with proper argument validation, error handling, and runtime considerations. Covers read-only cached queries, transactional mutations, external API calls via actions, webhook handling, internal functions for sensitive operations, and scheduled function execution.

Generated from the current SKILL.md.

What's the difference between queries, mutations, actions, and HTTP actions?
Queries are read-only and cached; mutations modify the database transactionally; actions call external APIs but access the database indirectly via runQuery/runMutation; HTTP actions handle webhooks and external HTTP requests.
Can I call external APIs from queries or mutations?
No. Use actions or HTTP actions for external API calls. Queries and mutations have no direct access to external APIs.
What are internal functions and when should I use them?
Internal functions (internalQuery, internalMutation, internalAction) are callable only from other Convex functions, not from the client. Use them for sensitive operations like updating credits or processing webhooks.
Do I need to add argument and return validators to all functions?
Yes. The skill requires validators on all functions for type safety and ESLint compliance with @convex-dev/eslint-plugin rules.
What does 'use node' mean in actions?
Add `'use node'` at the top of action files that use Node.js APIs like fetch or crypto. It's required for actions running on the Node.js runtime.

Generated from the current SKILL.md. These answers refresh after source changes.