convex-optimize

द्वारा get-convex

Audit and optimize an existing Convex app: security, scale, upgrades, observability.

npx skills add https://github.com/get-convex/agent-skills --skill convex-optimize

Audit and optimize an existing Convex app

The remediation WORKFLOW for an existing app: open with a scored assessment, then act on it — upgrade stale components and set up observability — plan-then-confirm-then-apply. The assessment itself is delegated to launch-readiness (the findings-bus scorer); optimize's distinct value is the actions it takes on the result.

Workflow

  1. Detect the app: a convex/ directory, the schema, and whether it's an anonymous or cloud deployment.
  2. ASSESS via launch-readiness — one scored, deduped report across authz/reviewer/advisor/insights with an ordered fix plan. Do not re-run those passes by hand; optimize consumes launch-readiness's report rather than re-implementing the audit.
  3. UPGRADE: run check-updates against the pinned @convex-dev/* components and fold stale-component (staleness-class) findings into the same plan.
  4. OBSERVABILITY: if the readiness report flagged an observability gap (no prod error capture), offer to install sentinel.
  5. Present the combined prioritized plan — the launch-readiness score + the fix plan + upgrades + observability, security/data-loss first — and apply only on explicit confirmation, dispatching each fix to its fixCapability.
  6. After applying, re-run the launch-readiness assessment and show the score delta.

Rules

  • Read-only first. Present a plan and CONFIRM before changing any file.
  • Delegate the audit to launch-readiness (the findings-bus scorer); don't re-implement reviewer/advisor/insights inline — optimize's job is acting on the report (upgrades + observability), not re-scoring.
  • Prioritize security and data-loss risks above style, following launch-readiness's ordering.
  • Never auto-land changes on someone's existing prod app; re-assess after applying and show the score moved.

get-convex की और Skills

convex-performance-audit
get-convex
कॉन्वेक्स प्रदर्शन का ऑडिट करता है: रीड, सब्सक्रिप्शन, राइट कंटेंशन और फंक्शन सीमाएँ। धीमी सुविधाओं, इनसाइट्स निष्कर्षों, OCC विरोधों या रीड एम्प्लीफिकेशन के लिए उपयोग करें।
developmentdatabasedata-analysis
convex
get-convex
सामान्य Convex अनुरोधों को सही प्रोजेक्ट कौशल पर रूट करता है। इसका उपयोग तब करें जब उपयोगकर्ता पूछता है कि किस Convex कौशल का उपयोग करना है या कोई अपर्याप्त रूप से निर्दिष्ट Convex ऐप कार्य देता है।
developmentdatabase
convex-setup-auth
get-convex
Convex प्रमाणीकरण, पहचान मैपिंग और पहुँच नियंत्रण सेट करता है। Convex ऐप में लॉगिन, प्रमाणीकरण प्रदाताओं, उपयोगकर्ता तालिकाओं, संरक्षित फ़ंक्शन या भूमिकाओं के लिए उपयोग करें।
developmentdatabaseapi
convex-quickstart
get-convex
एप्लिकेशन में Convex बनाता या जोड़ता है। नए Convex प्रोजेक्ट्स, npm create convex@latest, फ्रंटएंड सेटअप, env वेरिएबल्स, या पहली npx convex dev रन के लिए उपयोग करें।
developmentdatabase
convex-migration-helper
get-convex
Convex स्कीमा और डेटा माइग्रेशन की योजना widen-migrate-narrow और @convex-dev/migrations के साथ बनाता है। ब्रेकिंग स्कीमा परिवर्तनों, बैकफिल, टेबल रीशेपिंग या जीरो-डाउनटाइम रोलआउट के लिए उपयोग करें।
developmentdatabase
convex-create-component
get-convex
पुन: प्रयोग करने योग्य Convex घटकों का निर्माण करता है जिनमें पृथक तालिकाएँ और ऐप-मुखी API होते हैं। नए घटकों, पुन: प्रयोग करने योग्य बैकएंड मॉड्यूल, एकीकरण या घटक सीमा कार्य के लिए उपयोग करें।
developmentdatabase
convex-migrate
get-convex
तैनात Convex ऐप पर @convex-dev/migrations का उपयोग करके स्कीमा माइग्रेट करें और डेटा बैकफिल करें।
developmentdatabase
convex-env
get-convex
ऐप के लिए Convex डिप्लॉयमेंट env vars / secrets सेट और वायर करें।