Zum Inhalt springen
Skillpedia
Allgemeines Programmieren9.5k · #12242

convex-docs

Was er macht

Dieser Skill stellt sicher, dass der Agent Convex-Dokumentation nutzt, die zur Version deines Projekts passt. Er ist für Entwickelnde gedacht, die korrekten Code wollen und keine Vermutungen aus alten Beispielen.

Wann du ihn nutzt

  • ✓Wenn dein Agent Convex-Code schreiben will, der eine Funktion nutzt, die er nicht gut kennt.
  • ✓Wenn dein Projekt kürzlich aktualisiert wurde und der Code nicht mehr wie erwartet läuft.
  • ✓Wenn der Convex-Code genau zur Version passen soll, die deine App nutzt.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-docs/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Prüfe vor dem Schreiben dieses Abfrage-Codes die aktuelle Convex-Dokumentation für meine Version.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent liest die Convex-Version, die dein Projekt nutzt, sucht dann die passende Dokumentation und greift nur auf andere Quellen zurück, wenn das fehlschlägt.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.
Häufige Fragen

Warum ist die Version wichtig?

Convex-Funktionen ändern sich zwischen Versionen, und Dokumentation für eine andere Version kann Code erzeugen, der fehlschlägt.

Wo sucht der Skill nach Dokumentation?

Er nutzt ein Dokumentations-Suchwerkzeug, falls verfügbar, und ruft dann die passende Dokumentationsseite ab.

Welche Quelle probiert er zuerst?

Zuerst eine versionsgenaue Dokumentationssuche, dann die passende Dokumentationsseite und erst danach andere Quellen.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
9.5k
Platz im Ranking
#12242
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills