#cursor component rules

3 messages · Page 1 of 1 (latest)

night plaza
#

<@&1228088700710293556> has anyone posted cursor component rules

thorny moatBOT
#

Hi @night plaza. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

There isn’t anything in the provided knowledge that looks like a published, official “Cursor component rules” file specifically for Convex components.

What is documented:

  • Convex maintains general Cursor rules you can add under .cursor/rules (these are not component‑specific): [Using Cursor].
    You can grab them here and drop into your project:
    <https://convex.link/convex_rules.mdc>
    
  • The Convex team strongly recommends installing those rules and, optionally, adding Convex docs as a custom doc source in Cursor so the agent can reference up‑to‑date Convex documentation. [Using Cursor; AI Code Generation]
  • Several Stack posts mention people adding their own project‑specific Cursor rules (including for Convex components), but they don’t publish a reusable “component rules” file in the snippets we have. [6 tips; Shop Talk]

So, based on the current sources:

  • There are official general Convex Cursor rules (convex_rules.mdc).
  • The knowledge here does not show any shared, community “Cursor component rules” file you can copy.

If you’re looking for something more specific (e.g. rules for generating React components that use useQuery, usePaginatedQuery, etc.), you’d likely need to build that on top of convex_rules.mdc yourself or ask in Discord for someone’s personal rules file.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: