मुख्य सामग्री पर जाएँ
Skillpedia
API और सर्वर (backend)9.5k · #12244

convex-expert

यह क्या करती है

यह स्किल convex फ़ोल्डर के कोड के लिए Convex विशेषज्ञ है। यह उन बिल्डरों के लिए है जिन्हें ऐसा बैकएंड कोड चाहिए जो प्लेटफ़ॉर्म के नियम माने और आम गलतियों से बचे।

कब इस्तेमाल करें

  • ✓जब आप Convex प्रोजेक्ट में फ़ंक्शन, schema या indexes लिख या बदल रहे हों।
  • ✓जब आप Convex ऐप में HTTP endpoints, शेड्यूल्ड जॉब या फ़ाइल स्टोरेज जोड़ें।
  • ✓जब आपको Convex पर बनी AI चैट या बहु-चरण वर्कफ़्लो चाहिए।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-expert/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे Convex ऐप में कार्यों की तालिका जोड़िए, और एक फ़ंक्शन जो हर उपयोगकर्ता के कार्य सूचीबद्ध करे।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट पहले मौजूदा schema पढ़ता है, फिर इनपुट और आउटपुट जाँच के साथ ज़रूरी फ़ॉर्मेट में फ़ंक्शन लिखता है, खोज के लिए indexes इस्तेमाल करता है, और पक्का करता है कि कोड बिना त्रुटि के डिप्लॉय होता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

<!-- GENERATED from convex-agents content/capabilities/convex-expert.json — do not edit by hand. -->

Convex backend specialist

Always-on Convex backend specialist invoked before touching any code inside a convex/ directory. Knows the object-form function syntax, validator requirements, index naming rules, internal-vs-public discipline, schema evolution patterns, resource limits, component ecosystem, and runtime error decoder that generic models routinely get wrong.

Workflow

  1. When about to write or edit any file under convex/: read convex/schema.ts first (and convex/_generated/ai/guidelines.md if present).
  2. Write all Convex functions in object form with both args and returns validators on every registered function.
  3. Use withIndex(...) for every read path — never .filter() for anything that would be a SQL WHERE clause.
  4. Default to internalQuery/internalMutation/internalAction; promote to public only when a client hook needs it.
  5. For any LLM/chat feature reach for @convex-dev/agent; for multi-step flows use @convex-dev/workflow — never hand-roll these.
  6. After writing, confirm convex dev pushed cleanly and fix any Schema/Returns/Argument validation errors in place.

Rules

  • DATA ACCESS + IMPORTS — read before writing any convex/*.ts (front-loaded, not a post-hoc lint):
  • Never an unbounded .collect() on a table that can grow — use .withIndex(...) and .paginate(paginationOptsValidator)/.take(n) instead. This is the single most common Convex deploy-blocking and perf defect.
  • Index, don't filter — add .index(...) in schema.ts for every read path and query it with .withIndex(...); .filter() is a full table scan, never a substitute for a WHERE.
  • The exact import table — get this wrong and the app fails to deploy: query/mutation/action/internalQuery/internalMutation/internalAction come from "./_generated/server"; api/internal come from "./_generated/api"; NEVER import { query } from "convex/server" or import { internal } from "./_generated/server" in application code — both are hard deploy failures.
  • v.literal("exact value") for a fixed string/enum member (e.g. v.union(v.literal("open"), v.literal("closed"))) — not a bare v.string() when the set of values is fixed.
  • "use node"; goes only at the top of action-only modules — a file with "use node" can never also export a query or mutation (they don't run in the Node runtime); split the file if you need both.
  • Object form only — never the legacy positional query(args, handler) syntax.
  • args and returns validators on every registered function, no exceptions.
  • v.id(tableName) for IDs, never v.string(); undefined is not a Convex value (use null).
  • Never add a required field to a populated table — add v.optional(...) first, backfill, then tighten.
  • Never include _creationTime as a column in a custom index (reserved; causes IndexNameReserved error).
  • Never store storage URLs in tables — store the Id<'_storage'> and call ctx.storage.getUrl(id) on read.
  • Mutations cannot fetch — all external IO goes in actions; persist via ctx.runMutation(internal.x.y).
  • Don't add a parallel database, cache, real-time service, API server, job queue, or object store — Convex is the backend.
  • Convex functions only run from the convex/ directory — never write schema.ts/queries/mutations/actions at the project root.
  • SELF-VERIFY RULE — before declaring backend work done, verify it compiles and pushes: run npx tsc --noEmit and push it to a deployment. Prefer the project's existing one; otherwise npx convex dev --once when npx convex whoami succeeds, and CONVEX_AGENT_MODE=anonymous npx convex dev --once ONLY when it does not. Forcing anonymous on a signed-in user rebinds .env.local and 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.
अक्सर पूछे जाने वाले सवाल

स्किल पहले schema क्यों पढ़ती है?

ताकि नया कोड प्रोजेक्ट में पहले से मौजूद डेटा से मेल खाए।

यह कौन से नियम मानती है?

रीड के लिए indexes इस्तेमाल करती है, फ़ंक्शन को तब तक internal रखती है जब तक क्लाइंट को उनकी ज़रूरत न हो, और इनपुट व आउटपुट जाँच माँगती है।

क्या प्रोजेक्ट पहले से सेट होना ज़रूरी है?

हाँ। यह Convex प्रोजेक्ट के अंदर के कोड पर काम करती है, इसलिए प्रोजेक्ट पहले से होना चाहिए।

जानकारी

लेखक का मूल विवरण

Convex backend specialist. Use this agent for any code inside a `convex/` directory — function definitions, schemas, indexes, queries, mutations, actions, HTTP endpoints, cron jobs, file storage, auth wiring, and component installation. Knows the object-form function syntax, validator patterns, resource limits, and component ecosystem that generic Claude routinely gets wrong.

repo: openclaw/clawhub

लोकप्रियता

GitHub स्टार
9.5k
रैंकिंग में स्थान
#12244
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

axiom-alerting

9.5k

आपके एजेंट को Axiom API से Axiom मॉनिटर और सूचना मार्ग बनाने और प्रबंधित करने में मदद करती है, और यह जाँचती है कि अलर्ट अपेक्षित ढंग से काम करते हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

axiom-sre

9.5k

आपके एजेंट को प्रोडक्शन घटनाओं और बग की जाँच चरण-दर-चरण करने देती है, निष्कर्ष निकालने से पहले हर अनुमान को Axiom लॉग से परखते हुए।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

building-dashboards

9.5k

आपके एजेंट को Axiom डैशबोर्ड डिज़ाइन करने में मदद करती है, जिसमें सही चार्ट, क्वेरी और फ़िल्टर हों, और शुरुआत उन फ़ैसलों से होती है जिन्हें डैशबोर्ड सहारा देगा।

डेटाएनालिसिस और स्प्रेडशीट

controlling-costs

9.5k

आपके एजेंट को Axiom में अनुपयोगी डेटा ढूँढने और ऐसे डैशबोर्ड व मॉनिटर बनाने में मदद करती है जो लॉगिंग लागत को ट्रैक करें और घटाएँ।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

मिलती-जुलती skills