convex-docs
ما الذي تفعله
تتأكد هذه المهارة من أن الوكيل يستخدم وثائق Convex التي تطابق إصدار مشروعك. وهي مخصصة للبناة الذين يريدون شيفرة دقيقة لا تخمينات من أمثلة قديمة.
متى تستخدمها
- ✓عندما يوشك وكيلك على كتابة شيفرة Convex تستخدم ميزة لا يعرفها جيدًا.
- ✓عندما حُدّث مشروعك مؤخرًا وتوقفت الشيفرة عن العمل كما هو متوقع.
- ✓عندما تريد أن تطابق شيفرة Convex الإصدار الدقيق الذي يستخدمه تطبيقك.
رابط المهارة
https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-docs/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“تحقق من وثائق Convex الحالية لإصداري قبل أن تكتب شيفرة الاستعلام هذه.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرأ الوكيل إصدار Convex الذي يستخدمه مشروعك، ثم يبحث عن الوثائق المطابقة، ولا يلجأ إلى مصادر أخرى إلا إذا فشل ذلك.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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
- PIN the version: read the installed
convexversion (node -p "require('./node_modules/convex/package.json').version"orpackage.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. - FRESHNESS HIERARCHY (cheapest-correct first, the Supabase-taught order):
(a) if a served docs tool / MCP
search_convex_docsis available, use it (it returns version-scoped, reranked answers sized to the context window); (b) else fetch the specific docs page as MARKDOWN — requestdocs.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. - VERIFY against the installed package when it matters: for a component export you're unsure exists, check
node_modules/@convex-dev/<x>/(itspackage.jsonexports, its.d.ts) — the installed types are the ground truth for THIS version, more authoritative than any doc. - 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.
- 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.tsin 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.
الأسئلة الشائعة
لماذا يهم الإصدار؟
تتغير ميزات Convex بين الإصدارات، ووثائق إصدار مختلف قد تنتج شيفرة لا تعمل.
أين تبحث المهارة عن الوثائق؟
تستخدم أداة بحث في الوثائق إن توفرت، ثم تجلب صفحة الوثائق المطابقة.
أي مصدر تجربه أولًا؟
تجرب أولًا البحث في الوثائق المطابقة للإصدار، ثم صفحة الوثائق المطابقة، ولا تلجأ إلى مصادر أخرى إلا بعد ذلك.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 9.5k
- الترتيب
- #12242
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
axiom-alerting
9.5kيساعد وكيلك على إنشاء مراقبات Axiom ومسارات الإشعارات وإدارتها عبر Axiom API، والتحقق من أن التنبيهات تعمل كما هو متوقع.
axiom-sre
9.5kيساعد وكيلك على التحقيق في الحوادث والأخطاء الإنتاجية خطوة بخطوة، فيختبر كل تخمين مقابل سجلات Axiom قبل استخلاص أي نتيجة.
building-dashboards
9.5kيساعد وكيلك على تصميم لوحات Axiom بالمخططات والاستعلامات والفلاتر المناسبة، بدءًا من القرارات التي يجب أن تدعمها اللوحة.
controlling-costs
9.5kيساعد وكيلك على العثور على بيانات غير مستخدمة في Axiom، وبناء لوحات ومراقبات تتابع تكاليف الاستيعاب وتخفضها.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.