claude-task-master icon indicating copy to clipboard operation
claude-task-master copied to clipboard

feat: better .windsurfrules because IDE limitation

Open soloidx opened this issue 8 months ago • 5 comments

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 .windsurfrules that contains less than 6000 characters.

soloidx avatar Apr 26 '25 01:04 soloidx

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.

VilemP avatar Apr 28 '25 06:04 VilemP

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?

eyaltoledano avatar Apr 28 '25 14:04 eyaltoledano

.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

robert-hoffmann avatar Apr 29 '25 08:04 robert-hoffmann

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

robert-hoffmann avatar Apr 29 '25 10:04 robert-hoffmann

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

tonydehnke avatar May 22 '25 06:05 tonydehnke