Generated banner for Convex Docs
Generated logo for Convex Docs

Convex Docs

ConvexOfficialPublished by Convex

  • Skill
  • Tool integration
  • Software development
  • Apache-2.0
  • No issues found

From the author

Pull version-current Convex docs for the version this project uses — pin the installed version, fetch page-as-markdown or check node_modules types, freshness hierarchy — instead of writing a possibly-stale API from memory.
— the description by Convex

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

Convex-docs provides a systematic approach to ensuring that an AI agent uses the correct, version-specific API information for Convex projects. By prioritizing the project's installed package versions over model memory, this skill eliminates common issues related to version skew, such as deprecated exports or renamed CLI flags. It establishes a hierarchy of information retrieval, starting from authoritative local type definitions and version-scoped documentation, ensuring that the agent always works with the most accurate and current technical facts.

What it does

  • Pins the agent to the specific version of Convex installed in the project.
  • Implements a freshness hierarchy to retrieve documentation from the most reliable sources first.
  • Prioritizes local node_modules type definitions as the ultimate source of truth for API signatures.
  • Fetches documentation in markdown format to optimize token usage.
  • Provides a structured process for resolving version-mismatch build errors.
  • Separates the retrieval of technical facts from the generation of idiomatic code.

When to use it

  • When you are unsure if a specific Convex API, export, or CLI flag exists in your current project version.
  • When you encounter build errors related to missing or renamed exports.
  • When working with third-party Convex components that may have their own versioning.
  • Before writing code that relies on recent or potentially changing Convex features.

Advantages

  • Reduces hallucinations and errors caused by relying on outdated model training data.
  • Ensures code compatibility by anchoring development to the actual installed package version.
  • Optimizes token consumption by preferring markdown documentation over HTML.
  • Provides a clear, repeatable process for troubleshooting version-related build failures.

Usage examples

“How do I use the latest version of the Convex HTTP router?”
The agent will first check your project's package.json for the installed Convex version, fetch the corresponding documentation page, verify the API signature against your local node_modules, and then provide the correct code.
“I am getting a build error saying a specific export does not exist. Can you fix it?”
The agent will treat this as a version-mismatch, re-pin the version, inspect the local .d.ts files in node_modules to find the actual available exports, and suggest the correct implementation.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/convex/convex-docs/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip convex-docs.zip -d .agents/skills

Documentation by Convex

<!-- GENERATED from convex-agents content/capabilities/convex-docs.json — do not edit by hand. -->

Pull version-current Convex docs

convex-expert carries baked, plugin-versioned knowledge — excellent for stable idioms, but it goes stale exactly where it hurts: a component that gained a new export, a CLI flag that changed, an API renamed between versions. This capability is the freshness discipline layered on top: pin to the project's real version, fetch the live page cheaply as markdown, and never write an unfamiliar API from memory when the current source is one fetch away.

Workflow

  1. PIN the version: read the installed convex version (node -p "require('./node_modules/convex/package.json').version" or package.json), and the versions of any @convex-dev/* components in play. The docs you trust must match THESE versions — version skew is the single largest source of wrong Convex code.

  2. FRESHNESS HIERARCHY (cheapest-correct first, the Supabase-taught order): (a) if a served docs tool / MCP search_convex_docs is available, use it (it returns version-scoped, reranked answers sized to the context window); (b) else fetch the specific docs page as MARKDOWN — request docs.convex.dev/<path> and prefer a .md/markdown form when the site serves one (far fewer tokens than HTML), or the component's README at the pinned version; (c) only then fall back to a general web search, and treat its version as unverified. Do NOT skip to writing the API from memory when currentness is in doubt.

  3. VERIFY against the installed package when it matters: for a component export you're unsure exists, check node_modules/@convex-dev/<x>/ (its package.json exports, its .d.ts) — the installed types are the ground truth for THIS version, more authoritative than any doc.

  4. USE the fetched fact narrowly: apply the current signature/flag, cite where it came from (page + version), and hand the actual code back to convex-expert to write idiomatically. convex-docs supplies the fresh fact; convex-expert supplies the idiom.

  5. On a version-mismatch build error (an export/flag that 'should' exist but doesn't): treat it as a currentness question — pin the version, fetch the current API, and correct — rather than guessing a different spelling.

Rules

  • Never write an unfamiliar or possibly-renamed Convex/component API from model memory when currentness is in doubt — pin the version and fetch the current source first.

  • The installed package's own exports/.d.ts in node_modules is the ground truth for this version — more authoritative than any doc page.

  • Follow the freshness hierarchy: served docs tool → page-as-markdown / pinned README → general web (unverified) — cheapest-correct first, fewest tokens.

  • Prefer markdown over HTML doc pages — far fewer tokens for the same content.

  • Supply the fresh FACT; hand idiomatic code back to convex-expert. This is a freshness layer, not a replacement for the baked knowledge.

  • A version-mismatch build error is a currentness question, not a spelling guess — re-pin and re-fetch.

Files

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs Node.js

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Convex
Publisher
Convex (Official)
Source
convex/agent-skills · skills/convex-docs · commit f60629d
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Convex.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download convex-docs.zip