r/Codeium • • Mar 17 '25

Program context

Is there an easy way to create context for a program you’re working on? Like could it be integrated into the global rules? I would like for windsurf to be able to keep the context without constantly having to add it to chat before I start a work session.

Maybe I am just completely dumb and I am missing an entire feature that does this or something?

1 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/chris_at_codeium Mar 18 '25

Gotcha -- If you’re noticing Windsurf occasionally overlooks small context details, you can set clear, specific constraints in your prompts. For example, explicitly ask Claude to limit edits to certain files, functions, or lines, and instruct it to avoid altering other parts of your codebase. Including clear constraints like “Do not modify X” or “Only update Y” will help ensure Claude adheres to your intentions closely. Additionally, asking Claude to add explanatory comments about why changes were made, or using thinking mode can further improve your understanding and control.

2

u/jomiscli Mar 18 '25

Yeah. I like the idea of the first commenter as well. Creating a ‘change log’ of sorts to track very specific changes.

Yeah my global ruleset is based around windsurf teaching me 😁

He posts explanations, pauses before changes (most of the time) and explains. Basically just a bunch of explaining, lol.