by kaydub · 2w ago · 0 comments
When building out a new feature or functionality I'm typically getting a ratio of 2:1 or 3:1 of refactoring to build out. So for every prompt of "let's build this feature" I have to do 2-3 prompts of "I noticed this in the code isn't following X/Y/Z pattern, check out this place where X/Y/Z is followed and refactor" or similar.
If you're expecting a single prompt to get you to perfection, it's just not going to happen.
Though I can't blame you for having that expectation with how people talk about this stuff. Lots of people seem to be frontloading a ton of work making "spec files" and then letting the ai go ham on their codebase and I don't agree with that approach.
I think there must be a more efficient way to direct Claude but I haven't figured out a way yet.
Keep your sessions as small as possible.
if i tell you some things at start of our conversation, and then after talking two hours, expecting you to remember everything is not going to lead to a good experience.
I depend on compaction too but I still like to keep session smaller (more like: no longer than neccessary).