AcademyRulesDevelopment

Convex guidelines

Development teams building on Convex who want the AI to write backend functions in the expected syntax.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/convex-cursorrules-prompt-file.mdc -o .cursor/rules/convex.mdc
convex.mdc

Loading the file...

What it does

A Cursor rules file for projects built on the Convex backend. It tells the AI to use the current function syntax with args, returns and handler, to define HTTP endpoints in convex/http.ts with httpAction, and to describe data with validators from convex/values.

Use cases

  1. 01Write queries and mutations in the current Convex syntax
  2. 02Add HTTP endpoints in convex/http.ts
  3. 03Define argument validators for backend functions

Questions about
Convex guidelines.

What is Convex guidelines used for?

Development teams building on Convex who want the AI to write backend functions in the expected syntax. A Cursor rules file for projects built on the Convex backend. It tells the AI to use the current function syntax with args, returns and handler, to define HTTP endpoints in convex/http.ts with httpAction, and to describe data with validators from convex/values.

How do I install Convex guidelines?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/convex-cursorrules-prompt-file.mdc -o .cursor/rules/convex.mdc

Is Convex guidelines open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is Convex guidelines safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.