Saltar al contenido
Skillpedia
Programación general9,5 mil · #12242

convex-docs

Qué hace

Esta habilidad se asegura de que el agente use documentación de Convex acorde con la versión de tu proyecto. Está pensada para creadores que quieren código exacto y no suposiciones basadas en ejemplos antiguos.

Cuándo usarla

  • ✓Cuando tu agente está a punto de escribir código de Convex que usa una función que quizá no conoce bien.
  • ✓Cuando tu proyecto se actualizó hace poco y el código deja de funcionar como se espera.
  • ✓Cuando quieres que el código de Convex coincida con la versión exacta que usa tu app.

Link de la skill

https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-docs/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-docs/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Consulta la documentación actual de Convex para mi versión antes de escribir este código de consulta.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente lee la versión de Convex que usa tu proyecto, busca la documentación correspondiente y recurre a otras fuentes solo si eso falla.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

<!-- 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.
Preguntas frecuentes

¿Por qué importa la versión?

Las funciones de Convex cambian entre versiones, así que la documentación de otra versión puede producir código que falle.

¿Dónde busca la habilidad la documentación?

Usa una herramienta de búsqueda de documentación si está disponible y después descarga la página de documentación correspondiente.

¿Qué fuente prueba primero?

Primero prueba una búsqueda de documentación ajustada a la versión, después la página de documentación correspondiente, y solo entonces recurre a otras fuentes.

Detalles

Descripción original del autor

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.

repo: openclaw/clawhub

Popularidad

Estrellas en GitHub
9,5 mil
Posición en el ranking
#12242
Licencia
MIT
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas