feat: better .windsurfrules because IDE limitation
From the documentation Windsurf: .windsurfrules:
global_rules.md and .windsurfrules are limited to 6000 characters each. Any content above 6000 characters will be truncated and Cascade will not be aware of them.
Is this limitation have any impact in the windsurf workflow?
Proposed Solution
- Create a reduced version of the
.windsurfrulesthat contains less than 6000 characters.
Maybe just putting an instruction to .windsurfrules to read it from a different file would help? I am not super sure about what count into 6000 char limit.
Maybe just putting an instruction to .windsurfrules to read it from a different file would help? I am not super sure about what count into 6000 char limit.
Do you know if windsurf rules support interlinking?
.windsurfrules also seem outdated and not synced: lots of references to old syntax, which seems to take up unnecessary space, and maybe even cause confusion (lots of references to scripts/dev.js)
initializing the project still created .cursor folder with various files (seems redundant)
would be nice to find a more "common" way to manage all this stuff, as i sometimes use windsurf, switch to vs code, and maybe run roo/cline
Maybe just putting an instruction to .windsurfrules to read it from a different file would help? I am not super sure about what count into 6000 char limit.
Do you know if windsurf rules support interlinking?
I asked in their discord, and they said no, but you can tell it to read other files ..though not as efficient
Windsurf 1.8.2 enhanced the Rules feature quite a bit, so that might help. Released may 6.
File-Based Rules You can create granular rules files that are always on, @mention-able, requested by Cascade, or attached to file globs Rules files are saved in the workspace, under .windsurf/rules
Rules Docs: https://docs.windsurf.com/windsurf/cascade/memories#rules
Changelog: https://windsurf.com/changelog