Integration of Rules for AI (codeiumrules)
complete
Bernhard Zechmann (aizech)
I would like to request the addition of a “Rules of AI” feature in Codeium, similar to the
.cursorrules
functionality available in Cursor. This feature would allow users to define custom rules and guidelines for the AI to follow, enhancing the relevance and accuracy of AI-generated code suggestions.Features:
1. Custom Rule Definition:
Allow users to create a
.codeiumrules
file in their project directory where they can specify custom rules for the AI. These rules can include coding standards, preferred libraries, project-specific terminology, and architectural guidelines.2. Context Awareness:
Enable the AI to utilize the information in the
.codeiumrules
file to provide context-aware code suggestions. This includes understanding project structure, commonly used methods, and specific coding patterns.3. Consistency and Best Practices:
Ensure that the AI-generated code adheres to the defined coding standards and best practices outlined in the
.codeiumrules
file. This helps maintain consistency across the codebase and reduces the need for manual corrections.4. Project-Specific Customization:
Allow users to tailor the AI’s behavior to their specific project needs. This includes setting rules for handling particular file types, coding styles, and project dependencies.
5. Team Collaboration:
Support shared
.codeiumrules
files for team projects, ensuring that all team members receive consistent AI assistance. This promotes cohesion in coding practices and improves overall productivity.Benefits:
- Enhanced relevance and accuracy of AI-generated code suggestions.
- Improved consistency and adherence to coding standards.
- Increased productivity through reduced manual corrections.
- Better alignment with project-specific requirements and team collaboration.
Examples from Cursor:
There are several examples of rules for Cursor on the web, e.g.
And for or inside GitHub projects
sool
Epic delivery, thanks Team Windsurf!
Rohan Phadte
complete
Now included in Windsurf 1.1.0!
m
moltra
Rohan Phadte cannot wait to try this thought or tomorrow.
Bernhard Zechmann (aizech)
Rohan PhadteThank you very much Codeium Dev Team for Wave 1 today 🙏 Perfect implementation 🚀
하
하은 정
I love it! I really really want this feature :)
Levi DeHaan
I like this idea, however since this is a staged setup, would you consider adding the stages in the file, or an .windsurfrc file where we could pre-or-append some text to each stage, such as review README.md or FILECHANGES.md etc.. so that in each stage we can specify the document we want it to review before doing any actions in that project?
Bernhard Zechmann (aizech)
Levi DeHaan
To address this for Windsurf I made a feature request „Persistant Context for Windsurf“.
Please vote for it, if you like 👍🏼
V
Vermont Forest
It has been my experience that .cursorrules are ignored by Cursor. For instance, a rule explicitly instructing the AI to not swap out the database from PostgreSQL to sqlite is broken on a regular basis.
Also, other rules to not swap out LLM models is also ignored.
When implementing rules for Cascade, please ensure that Cascade follows the rules before publishing this feature.
S
Sunil Warrier
As a workaround now I will add a line
Please follow the instructions in INSTRUCTIONS.md and update cascade_tracking.md accordingly.
in my all prompts in cascade, so it will read all my INSTRUCTIONS.md details and it will add all changes in cascade_tracking.md
My instructions.md is like
Application Development Instructions
## Required Actions for Every Cascade Session
- Update Cascade Tracking
- Open and read
cascade_tracking.md
- Add new entry for each cascade with:
- Date and time
- Feature/component being worked on
- Number of iterations
- Success/failure status
- Any blockers encountered
- Update Development Log
- Record all major changes in
development_log.md
- Include new prompts used
- Update current status
- List next steps
- Update Project Status
- Keep
project_status.md
current- Mark completed items
- Add new pending items
- Update progress percentages
## File Locations
- /cascade_tracking.md- Tracks all cascade interactions
- /development_log.md- Records development progress
- /project_status.md- Current project status
- /App folder/- Main application code
## Important Requirements
- Always maintain educational content
- Focus on accessibility
- Keep mobile-first approach
- Maintain PWA capabilities
- Follow brand guidelines
## Note to Future Cascades
Please read this file at the start of each session and follow the instructions meticulously. The user should include this file in their prompt by referencing:
"Please follow the instructions in INSTRUCTIONS.md"
Bernhard Zechmann (aizech)
Sunil Warrier
To address this for Windsurf I made a feature request „Persistant Context for Windsurf“.
Please vote for it, if you like 👍🏼
Aaron Peters
ask it best practices and it will give those would be nice to have a ai flake8
Convcha
I want to use this feature in Windsurf!
Bernhard Zechmann (aizech)
Convcha
To address this for Windsurf I made a feature request „Persistant Context for Windsurf“.
Please vote for it, if you like 👍🏼
r
rutthawit
Yeah, I want this feature too.
Simone
This is super important!
Load More
→