LLMs Rules
Use these rules for Cursor and Windsurf to generate the best possible context for your LLMs | Next.js & PostgresSQL
The following content is a guideline for Cursor and Windsurf to help you generate the best possible context for your LLMs. It should also work well for other coding tools.
- Cursor: create a
.cursorrules
file in your project root and paste the rules below. - Windsurf: create a
.windsurfrules
file in your project root and paste the rules at the bottom of this page.
Please Remember: These tools are brilliant, but not perfect. Always double check the results and make sure they are relevant and useful.
Cursor Rules for The Boring Template
Cursor doesn't have a specified limit, so we recommend using the following content:
MARKDOWN
Windsurf Rules
For Windsurf, you can use the same rules as above in your .windsurfrules
file.
How to use these rules effectively
- Replace the
<INSERT_HERE_YOUR_APPLICATION_SCOPE_HERE>
placeholder with a brief description of your specific application - Update the project structure section if you've modified the default template structure
- Add any additional project-specific guidelines that might be helpful for your LLM assistant
MARKDOWN