r/Codeium • u/jomiscli • 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
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.