convex-quickstart
Fungsinya
Skill ini membuat proyek awal sederhana yang memakai Convex dan aplikasi web Next.js dari satu ide. Skill ini ditujukan untuk orang yang ingin sesuatu berjalan dengan cepat sebelum menambahkan fitur.
Kapan dipakai
- βSaat Anda punya ide aplikasi dan ingin proyek awal berjalan di komputer Anda.
- βSaat Anda ingin aplikasi Convex minimal untuk dikembangkan sebelum menambahkan masuk akun atau pembayaran.
- βSaat Anda membutuhkan aplikasi lokal yang cepat untuk menguji sebuah ide.
Link skill
https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-quickstart/SKILL.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βSiapkan aplikasi Convex sederhana untuk pelacak kebiasaan yang bisa saya lihat berjalan di browser.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent menjalankan resep pengaturan yang membuat proyek, memasang paket, dan menyalakan backend lokal serta server web. Setelah itu agent membuka alamat lokal dan mengusulkan rencana sebelum menambahkan fitur lain.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Quickstart: a barebones Convex template, running
Stand up a barebones Next.js + Convex template from the idea, locally, with an anonymous dev deployment. Minimal by design: local dev servers, no publish step, no pre-baked auth.
Workflow
- Run recipe
quickstart-recipe@^2with {idea, template} (the pack fetches + caches it; pinned offline fallback). It creates the project, installs deps, starts the backend (anonymous) and the web dev server. - When it prints the dev URL, open it for the user.
- Present a short plan and CONFIRM before building features beyond the template.
Rules
- Never re-run the recipe if it already reported success.
- Delegate any code under
convex/to theconvex-expertcapability. - Don't add Postgres/Redis/Express β use Convex primitives.
- Don't add hosting/publish or pre-baked auth here β keep the template minimal unless the user asks for more.
- DEGRADATION RULE β if the scaffold cannot run (non-interactive session, no network, a sandboxed temp dir, or the user just wants code, not an app): skip the recipe and write a standard Convex project directly. ALL backend code goes under
convex/(schema.ts, functions) β NEVER at the project root; Convex functions only run from theconvex/directory. Write ZERO scaffold/documentation files (no START_HERE.md, ARCHITECTURE.md, MANIFEST.txt, README walls) unless explicitly asked. "Build me a backend" means code, not ceremony. - Data access + imports β before writing any convex/*.ts: never an unbounded
.collect()on a table that can grow β use.withIndex(...)and.paginate(...)/.take(n). Use an index, not.filter(), for anything that would be a SQL WHERE..withIndex(...)callbacks only haveeq/gt/gte/lt/lteβ there is no.range(...)method. Imports:query/mutation/action/internalQuery/internalMutation/internalActioncome from./_generated/server;api/internalcome from./_generated/api; NEVER import fromconvex/serverin application code.v.literal("exact value")for fixed string/enum members, not a bare string."use node"only at the top of action-only modules β never in a file that also exports aqueryormutation. Never import a Node builtin (crypto/fs/path/http/child_process/os, with or without thenode:prefix) into a file lacking"use node"β includinghttp.tsroute handlers; use Web Crypto (crypto.subtle) instead ofimportingcryptowhere possible. - Reserved names β never
export const <jsReservedWord> = ...(e.g.delete,new,class,function,return) as a query/mutation/action export name; esbuild fails to parse it. Never a table or index name starting with_(e.g._migrations: defineTable(...)) β_is reserved and errors at push asTableNameReserved/IndexNameReserved. - HTTP routes β
httpRouterhas no Express-style:paramsegments (path: "/users/:id"only matches that literal string and is dead code); usepathPrefixand parse the trailing segment yourself. Everyhttp.route({...})handler:must be wrapped inhttpAction(...)from./_generated/serverβ a bareasync (ctx, request) => {...}type-checks but isn't a valid HTTP action. ctx.runQuery/ctx.runMutation/ctx.runActionneed a codegen'd function reference (api.foo.bar/internal.foo.bar), never a raw imported module member (import * as queries from "./queries"; ctx.runQuery(queries.getX, ...)compiles but fails at runtime).- SELF-VERIFY RULE β before declaring backend work done, verify it compiles and pushes: run
npx tsc --noEmitand push it to a deployment. Prefer the project's existing one; otherwisenpx convex dev --oncewhennpx convex whoamisucceeds, andCONVEX_AGENT_MODE=anonymous npx convex dev --onceONLY when it does not. Forcing anonymous on a signed-in user rebinds.env.localand costs them the persistent, publishable cloud deployment they expect. Fix every error it reports before finishing β one verify round catches the wrong-relative-import / duplicate-symbol / unbalanced-paren class that otherwise breaks the deploy.
Pertanyaan umum
Apakah proyek awal sudah termasuk masuk akun?
Tidak. Templatenya dibuat minimal, tanpa masuk akun bawaan kecuali Anda memintanya.
Apakah aplikasi dipublikasikan secara online?
Tidak. Template tidak menyertakan langkah penerbitan, jadi aplikasi berjalan secara lokal.
Apa yang terjadi jika pengaturan tidak bisa berjalan?
Skill menulis proyek Convex standar secara langsung, dengan kode backend hanya di dalam folder convex.
Detail
Deskripsi asli dari pembuat
Get a barebones Convex + web template running from a one-sentence idea.
repo: openclaw/clawhub
Popularitas
- Bintang GitHub
- 9.5k
- Peringkat
- #12254
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
axiom-alerting
9.5kMembantu agen Anda membuat dan mengelola monitor Axiom serta rute notifikasi melalui API Axiom, dan memeriksa apakah peringatan berperilaku sesuai harapan.
axiom-sre
9.5kMembantu agen Anda menyelidiki insiden dan bug produksi langkah demi langkah, menguji setiap dugaan terhadap log Axiom sebelum menarik kesimpulan.
building-dashboards
9.5kMembantu agen Anda mendesain dasbor Axiom dengan grafik, kueri, dan filter yang sesuai, dimulai dari keputusan yang harus didukung dasbor tersebut.
controlling-costs
9.5kMembantu agen Anda menemukan data yang tidak terpakai di Axiom dan membangun dasbor serta monitor yang melacak dan memangkas biaya logging.
Skill serupa
api-connector-builder
280kMembuat agent Anda membangun koneksi API baru mengikuti pola yang sudah ada. Gunakan saat ingin menambah integrasi lagi tanpa membuat cara baru.
api-design
280kMembantu agent Anda merancang REST API sesuai praktik terbaik. Berguna untuk mengatur cara API berkomunikasi, menampilkan error, dan mengorganisasi data.
backend-patterns
280kMembantu agent Anda dengan pola arsitektur sisi server dan optimasi database. Berguna untuk membangun atau meninjau kode yang berjalan di server.