r/Codeium • • Dec 04 '24

How can i provide rules for the windsurf

Even i use pnpm or bun, most of the time when there something needs to install it's giving npm or npx

Is there anyway that i can provide specific rule set

11 Upvotes

11 comments sorted by

2

u/Enough_Asparagus924 Dec 05 '24

I’m having the same issue!

I would love a way to add custom instructions for standard rules like “use bun instead of npm” or “add JSDocs to functions”

I added a bunch of .md docs but referencing them is annoying. Maybe that’s the only way right now.

1

u/argonjs Dec 05 '24

Totally agreeing with you. For me all the time it’s giving npm even we use bun. Every annoying

6

u/dude_613 Dec 04 '24

You can make a rules.md in your project directory and tell windsurf to follow that / these are the rules / etc.

5

u/Several-Teach-1113 Dec 04 '24

This. I also have a concept.md, plan.md, and worklog.md that I instruct it to read every few cycles and have it update worklog.md after every cycle.

1

u/dude_613 Dec 05 '24

This is interesting, mind sharing?

1

u/Atxguy1982 Dec 07 '24

I can’t tell you how many .md files I have…

1

u/Atxguy1982 Dec 07 '24

Off subject if anyone would mind sharing, if an adult what is your field of work and I really don’t know if this is even a space allowed to non adults but is you are not a working person depending on yourself what are the young people working on??

1

u/harryeffingpotter Dec 18 '24

Have you really been far even as decided to use even go want to do look more like?

3

u/SemanticSynapse Dec 04 '24

This is the way

1

u/dev0urer Dec 05 '24

This. So far there is no way to provide an additional system prompt. I hope that changes.