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

/convex-schema-validator

@853b196
Run it yourself

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

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

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

Description uses 2.8% 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 ≈221 characters, or 2.8%.

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 directs users to an official replacement. It contains no executable code and only provides informational links to documentation and the author's GitHub repository.

  • 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

README badge

README badge for waynesutton/builder-skills/convex-schema-validator

Defines and validates Convex database schemas with TypeScript types, index configuration, optional fields, unions, and migration strategies. Covers table structure, single and compound indexes, full-text search, discriminated unions, and safe schema changes like adding optional fields and backfilling data.

Generated from the current SKILL.md.

Does this skill cover full-text search indexes?
Yes. The skill includes examples of searchIndex configuration with searchField and filterFields for text search on Convex tables.
How do I handle schema migrations when adding required fields?
Add the field as optional first, backfill existing documents with a migration function, then update the schema to required in a second step.
What's the difference between optional and nullable fields in Convex?
Optional fields may not exist on the document (v.optional), while nullable fields exist but can hold null values (v.union with v.null()). You can combine both.
Does this cover discriminated unions for polymorphic data?
Yes. The skill includes examples of discriminated unions with type literals, useful for storing different event types or document variants in a single table.
How should I name indexes?
Use descriptive names that include all indexed fields, like 'by_author_and_category' for a compound index on those two fields.

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