#What rules file to use for openai codex?

3 messages · Page 1 of 1 (latest)

warm agate
#

What rules file to use for openai codex?

honest lintelBOT
#

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

#

For OpenAI Codex (or similar background coding agents), you should use the Convex rules file to guide AI code generation for Convex projects. The recommended rules file is:

You should add this file to your project and refer to it when prompting Codex for changes. This helps ensure that the AI generates code that follows Convex best practices and avoids common pitfalls. The same file is recommended for all IDEs and agents that support custom rules or prompt engineering, including Codex, Cursor, Windsurf, and GitHub Copilot. For more details, see the official Convex AI documentation AI Code Generation and Convex Evals: LLM Guidelines.

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