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
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.
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/
convex-docs
安装
npx skills add https://github.com/get-convex/agent-skills --skill convex-docs