convex-functions 是做什麼的?
撰寫查詢、變更、動作和 HTTP 動作,並包含適當的參數驗證、錯誤處理、內部函數以及執行時期考量。
撰寫查詢、變更、動作和 HTTP 動作,並包含適當的參數驗證、錯誤處理、內部函數以及執行時期考量。
此技能「waynesutton/convex-functions」專注於幫助開發者在使用 Convex 平台時,正確且高效地撰寫 serverless 函數。它涵蓋了 Convex 中四種核心函數類型:查詢 (query)、變更 (mutation)、動作 (action) 與 HTTP 動作。此技能的重點在於引導開發者實作嚴謹的參數驗證(透過 schema 或 Schema Validation Library)、全面的錯誤處理(使用 try/catch 與自訂錯誤類型),以及善用內部函數來組織程式碼。此外,它也強調執行時期 (runtime) 考量,例如避免在查詢和變更中進行非同步操作(如 HTTP 請求),並在必要時使用動作 (action) 來執行長時間或非確定性任務。此技能支援所有 Convex 支援的平台與語言(TypeScript/JavaScript),並提供具體的程式碼範例,協助開發者建構健壯、可維護且安全的後端邏輯。
npx skills add https://github.com/waynesutton/convexskills/tree/main/skills/convex-functionsInstalled? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
撰寫查詢、變更、動作和 HTTP 動作,並包含適當的參數驗證、錯誤處理、內部函數以及執行時期考量。
This repo contains 13 individual skills — each has its own dedicated page.
Prevent feature creep when building software, apps, and AI-powered products. Use this skill when planning features, reviewing scope, building MVPs, managing backlogs, or when a user says "just one more feature." Helps developers and AI agents stay focused, ship faster, and avoid bloated products.
Umbrella skill for all Convex development patterns. Routes to specific skills like convex-functions, convex-realtime, convex-agents, etc.
Building AI agents with the Convex Agent component including thread management, tool integration, streaming responses, RAG patterns, and workflow orchestration
Guidelines for building production-ready Convex apps covering function organization, query patterns, validation, TypeScript usage, error handling, and the Zen of Convex design philosophy
How to create, structure, and publish self-contained Convex components with proper isolation, exports, and dependency management
Scheduled function patterns for background tasks including interval scheduling, cron expressions, job monitoring, retry strategies, and best practices for long-running tasks
Complete file handling including upload flows, serving files via URL, storing generated files from actions, deletion, and accessing file metadata from system tables
External API integration and webhook handling including HTTP endpoint routing, request/response handling, authentication, CORS configuration, and webhook signature validation
Schema migration strategies for evolving applications including adding new fields, backfilling data, removing deprecated fields, index migrations, and zero-downtime migration patterns
Patterns for building reactive apps including subscription management, optimistic updates, cache behavior, and paginated queries with cursor-based loading
Defining and validating database schemas with proper typing, index configuration, optional fields, unions, and migration strategies for schema changes
Deep security review patterns for authorization logic, data access boundaries, action isolation, rate limiting, and protecting sensitive operations
Quick security audit checklist covering authentication, function exposure, argument validation, row-level access control, and environment variable handling
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.