This loads when you're writing Convex backend code and enforces their current function syntax with explicit args, returns, and handler properties. The key thing it hammers on is always using validators (even v.null() for void returns) and preferring withIndex() over filter() for queries. It covers the usual backend stuff like schemas, queries, mutations, and actions, plus some Convex-specific patterns around internal functions and the distinction between what can access ctx.db directly versus what needs runQuery. Mostly useful if you're already committed to Convex and want to avoid the common pitfalls around their TypeScript patterns and database access rules.

skills.sh installs
240
GitHub stars
1.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add cloudai-x/claude-workflow-v2 --skill convex-backend --agent claude-code

Installs into .claude/skills of the current project.

Files

Convex Backend Guidelines

When to Load

  • Trigger: Convex-specific development, writing Convex functions, schemas, queries, mutations, actions, or real-time subscriptions
  • Skip: Project does not use Convex as its backend

Comprehensive guide for building Convex backends with TypeScript. Covers function syntax, validators, schemas, queries, mutations, actions, scheduling, and file storage.

When to Apply

Reference these guidelines when:

  • Writing new Convex functions (queries, mutations, actions)
  • Defining database schemas and validators
  • Implementing real-time data fetching
  • Setting up cron jobs or scheduled functions
  • Working with file storage
  • Designing API structure

Rule Categories

Sponsors

Details

Repository
github.com/cloudai-x/claude-workflow-v2
Categories
Backend & APIs, Documentation, Automation & Workflows, Cloud & Infrastructure, Databases
License
MIT
First seen
Jun 3, 2026

More from cloudai-x/claude-workflow-v2

All 14
1davila7 avatarbrenda-databasedavila7/claude-code-templatesAccess BRENDA enzyme database via SOAP API. Retrieve kinetic parameters (Km, kcat), reaction equations, organism data, and substrate-specific enzyme information222skills.sh installs
2davila7 avatarcosmic-databasedavila7/claude-code-templatesAccess COSMIC cancer mutation database. Query somatic mutations, Cancer Gene Census, mutational signatures, gene fusions, for cancer research and precision onco217skills.sh installs
3get-convex avatarauth-setupget-convex/convex-agent-pluginsSet up Convex authentication with proper user management, identity mapping, and access control patterns. Use when implementing auth flows.214skills.sh installs
4harperaa avatarauthentication-authorization-clerkharperaa/secure-claude-skillsImplement secure authentication and authorization using Clerk. Use this skill when you need to authenticate users, protect routes, check permissions, implement 187skills.sh installs
5borghei avatarapi-design-reviewerborghei/claude-skillsReview REST API designs for quality, consistency, and breaking changes. Lints OpenAPI specs, generates scorecards, and detects breaking changes between versions163skills.sh installs
6cinience avataralicloud-platform-docs-api-review-testcinience/alicloud-skillsSmoke test for alicloud-platform-docs-api-review. Validate minimal authentication, API reachability, and one read-only query path.158skills.sh installs