Langsung ke konten
Skillpedia
Pemrograman umum9.5k Β· #12242

convex-docs

Fungsinya

Skill ini memastikan agent memakai dokumentasi Convex yang cocok dengan versi proyek Anda. Skill ini ditujukan untuk pembuat aplikasi yang menginginkan kode yang akurat, bukan tebakan dari contoh lama.

Kapan dipakai

  • βœ“Saat agent Anda akan menulis kode Convex yang memakai fitur yang mungkin belum ia kenal baik.
  • βœ“Saat proyek Anda baru saja diperbarui dan kodenya tidak lagi berjalan seperti semestinya.
  • βœ“Saat Anda ingin kode Convex sesuai dengan versi pasti yang dipakai aplikasi Anda.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-docs/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œPeriksa dokumentasi Convex terbaru untuk versi saya sebelum Anda menulis kode kueri ini.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent membaca versi Convex yang dipakai proyek Anda, lalu mencari dokumentasi yang sesuai, dan hanya beralih ke sumber lain jika cara itu gagal.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum

Mengapa versi itu penting?

Fitur Convex berubah di setiap versi, sehingga dokumentasi untuk versi lain bisa menghasilkan kode yang gagal.

Di mana skill ini mencari dokumentasi?

Skill ini memakai alat pencarian dokumentasi jika tersedia, lalu mengambil halaman dokumentasi yang sesuai.

Sumber mana yang dicoba lebih dulu?

Skill mencoba pencarian dokumentasi yang sesuai versi terlebih dahulu, lalu halaman dokumentasi yang sesuai, dan baru kemudian sumber lain.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
9.5k
Peringkat
#12242
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa