convex-suggest

โดย get-convex

แนะนำ Convex component ที่ตรงกันเมื่อผู้ใช้สร้าง pattern ขึ้นมาเองซึ่งมันมีวิธีแก้ไขอยู่แล้ว (crons, sharded-counter, rate-limiter, storage, search, presence, workflow, RAG, prosemirror-sync) แบบ passive — แนะนำหลังจากทำงานเสร็จ ไม่ขัดจังหวะ ไม่ติดตั้งโดยไม่ได้รับความยินยอม

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

Proactively suggest the right Convex component

When you see code or intent that duplicates what a Convex component already does, surface a targeted suggestion: ONE component, WHY (anchored in the user's own code or ask), and a concrete install hint. Never install without explicit consent. Never suggest more than one component at a time unless the user asks.

Workflow

  1. Observe the codeSnippets and userAsk passively — never block the current task to suggest.
  2. Match against the detector rules (see generators/suggest-detector.mjs): email/SMTP → resend; push notifications → expo-push; setInterval/cron → @convex-dev/crons; shared counter increments → @convex-dev/sharded-counter; .collect().length scans → @convex-dev/aggregate; multi-step/long-running actions → @convex-dev/workflow; bounded concurrency → @convex-dev/workpool; rate-limit counters in DB → @convex-dev/rate-limiter; fs.write/S3 uploads → Convex Storage; Elasticsearch/Algolia → built-in full-text search; presence/typing → @convex-dev/presence; Pinecone/external vector DB → @convex-dev/rag; collaborative editing → @convex-dev/prosemirror-sync.
  3. After finishing the current task, offer ONE suggestion: name the component, quote the specific code or phrase that triggered it, explain why the component fits better.
  4. If the user says yes: run /add <component> or follow the installHint from the detector.
  5. If the user says no or ignores it: drop it. Do not repeat the same suggestion.

Rules

  • Passive — never interrupt the current task; surface the suggestion AFTER completing what the user asked.
  • One at a time — pick the highest-priority match; do not dump a list of five components.
  • Cite WHY from the user's own code or ask — 'I noticed you wrote post.likes + 1 in a mutation that many users call concurrently; that causes OCC conflicts at scale.'
  • Never install without explicit consent — suggest, explain, wait for a yes.
  • Do not suggest a component the user has already installed.
  • Do not fire on generic coding questions unrelated to Convex (sorting arrays, writing CSS, etc.).

Skills เพิ่มเติมจาก get-convex

convex-performance-audit
get-convex
ตรวจสอบประสิทธิภาพของ Convex สำหรับการอ่าน การสมัครรับข้อมูล การแข่งขันในการเขียน และข้อจำกัดของฟังก์ชัน ใช้สำหรับฟีเจอร์ที่ช้า การค้นหาข้อมูลเชิงลึก ความขัดแย้งของ OCC หรือการขยายการอ่าน
developmentdatabasedata-analysis
convex
get-convex
กำหนดเส้นทางคำขอ Convex ทั่วไปไปยังทักษะโปรเจกต์ที่ถูกต้อง ใช้เมื่อผู้ใช้ถามว่าควรใช้ทักษะ Convex ใดหรือให้งานแอป Convex ที่ไม่ระบุรายละเอียดชัดเจน
developmentdatabase
convex-setup-auth
get-convex
ตั้งค่า Convex auth, การแมปข้อมูลประจำตัว และการควบคุมการเข้าถึง ใช้สำหรับการเข้าสู่ระบบ ผู้ให้บริการ auth ตารางผู้ใช้ ฟังก์ชันที่ได้รับการป้องกัน หรือบทบาทในแอป Convex
developmentdatabaseapi
convex-quickstart
get-convex
สร้างหรือเพิ่ม Convex ลงในแอป ใช้สำหรับโปรเจกต์ Convex ใหม่, npm create convex@latest, การตั้งค่าฟร้อนท์เอนด์, ตัวแปรสภาพแวดล้อม, หรือการรัน 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
ไมเกรต schema และเติมข้อมูลย้อนหลังบนแอป Convex ที่ใช้งานแล้วโดยใช้ @convex-dev/migrations
developmentdatabase
convex-optimize
get-convex
ตรวจสอบและเพิ่มประสิทธิภาพแอป Convex ที่มีอยู่: ความปลอดภัย การปรับขนาด การอัปเกรด การสังเกตการณ์