Due to lacking documentation:
Wave 8 and beyond
Now, Rules are defined in markdown (.md) files within the repository’s root folder of .windsurf/rules. After creating a Rules file with a descriptive name (just like with Workflows), the user will be greeted with a GUI wrapper around the Markdown file.
for more information check the official blog post
Before Wave 8
At the root of your project, create a file .windsurfrules
Add appropriate rules for you project in the following format:
1. My build system is Bazel
2. My testing framework is pytest
3. Don't modify any files in ...
4. Don't use these APIs ...
For more rule files examples, check out the official docs: https://codeium.com/windsurf/directory
Top comments (0)