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

convex-explain-app

Fungsinya

Skill ini membaca proyek Convex dan menjelaskan cara kerjanya tanpa mengubah apa pun. Skill ini ditujukan untuk orang yang mewarisi aplikasi atau ingin peta yang jelas sebelum membuat perubahan.

Kapan dipakai

  • βœ“Saat Anda mengambil alih proyek Convex dan ingin memahami datanya.
  • βœ“Saat Anda perlu tahu fungsi mana yang publik dan mana yang internal.
  • βœ“Saat Anda merencanakan perubahan dan ingin peta aplikasi yang jelas lebih dulu.

Link skill

https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-explain-app/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-explain-app/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

β€œJelaskan bagaimana aplikasi Convex saya disusun, termasuk tabelnya dan siapa yang bisa mengakses apa.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent membaca skema database dan daftar fungsi, lalu menjelaskan tabel, keterkaitannya, indeksnya, aturan aksesnya, dan bagaimana permintaan khas sampai ke data. Agent hanya membaca dan tidak mengedit.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

<!-- GENERATED from convex-agents content/capabilities/explain-app.json β€” do not edit by hand. -->

Explain this Convex app

Before you can safely change an app you have to know what it is β€” and reading 15 function files top-to-bottom is slow and error-prone. This capability produces the map fast and accurately by reading the two sources that can't lie: the schema (the data model) and the function surface (functionSpec / the exported queries/mutations/actions). It is deliberately DESCRIPTIVE β€” it explains what IS, hands judgment to the audit capabilities and changes to the fixers. It is also the natural first step of an optimize or self-heal session, and the reusable 're-explain the current architecture' that 'change what you built' depends on.

Workflow

  1. DETECT the app: the convex/ directory, schema.ts, and whether a deployment exists (if one does, functionSpec/tables via the official MCP give the authoritative live surface; if not, read the source directly). deploy-guard classifies any deployment read as read-only.
  2. DATA MODEL: from schema.ts, list every table with its fields and, crucially, its RELATIONSHIPS β€” which v.id("other") fields point where, and which indexes exist (indexes reveal the intended access paths). Draw the foreign-key graph in words: 'tasks belong to projects (projectId) and users (ownerId); messages belong to conversations'.
  3. FUNCTION SURFACE: enumerate every exported function, split PUBLIC (query/mutation/action β€” the attack/API surface) from INTERNAL (internalQuery/... β€” not client-reachable), and for each give a one-line 'what it does + what it touches'. The public/internal split is the single most important thing a newcomer needs and the thing source-skimming most often gets wrong.
  4. AUTH / OWNERSHIP MODEL: state how identity is established (auth.config.ts provider? a users table keyed by tokenIdentifier?) and how ownership is enforced (is there a requireOwner-style check? which field is the owner?). Say plainly if there is NO auth foundation β€” that is load-bearing context for anyone about to change the app. (Describe the model; do not audit it for holes β€” that's convex-authz.)
  5. COMPONENTS + EXTERNAL EDGES: list the @convex-dev/* components installed (convex.config.ts) and what they provide, the HTTP routes (http.ts) and crons, and any external calls in actions (which APIs, which env vars).
  6. FLOW: trace 1-2 representative end-to-end paths ('client calls createTask β†’ validates β†’ inserts into tasks scoped to the caller β†’ listMyTasks reads it back by the by_owner index') so the reader sees the moving parts connected, not just catalogued.
  7. PRESENT as a scannable map (data model β†’ public/internal functions β†’ auth model β†’ components/edges β†’ a flow or two), accurate to the source. End by pointing at the next verbs: convex-reviewer/convex-authz to audit it, launch-readiness to score it, design/convex-expert to extend it. Never invent behavior the source doesn't show; if something is ambiguous, say so rather than guessing.

Rules

  • Read the schema + function surface (functionSpec/source) as the source of truth β€” never describe behavior the code doesn't show; flag ambiguity instead of guessing.
  • Lead with the two things a newcomer most needs and skimming most often gets wrong: the data-model relationship graph and the public-vs-internal function split.
  • State the auth/ownership model plainly, including 'there is no auth foundation' when that's the case β€” but DESCRIBE it; auditing it for holes is convex-authz's job.
  • Descriptive, not evaluative: explain-app maps what IS and hands judgment to the audit capabilities and changes to the fixers.
  • Read-only: any deployment introspection is read-only (deploy-guard); the app is not modified.
  • End by pointing at the right next verb (audit β†’ reviewer/authz, score β†’ launch-readiness, extend β†’ design/expert).
Pertanyaan umum

Apakah skill ini mengubah kode?

Tidak. Skill ini hanya-baca dan menjelaskan apa yang dilakukan aplikasi saat ini.

Apakah perlu deployment yang aktif?

Tidak. Skill bisa membaca file sumber secara langsung, atau memakai daftar fungsi aktif jika deployment sudah ada.

Apakah skill ini menilai apakah aplikasi aman?

Skill ini hanya menjelaskan aplikasi. Pemeriksaan keamanan atau kualitas ditangani oleh skill audit lain.

Detail

Deskripsi asli dari pembuat

Explain an existing Convex app — data model + relationships, public vs internal functions, auth/ownership model, components, a request→data flow — read from the schema and function surface. Read-only.

repo: openclaw/clawhub

Popularitas

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

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa