Help! No matter where I put these rules or how many times I tell Claude, it forgets or skips things all together. What am I missing? - Uses npm instead of pnpm - Says it is "done" even though it hasn't run the linter or tests - Works on big changes instead of isolated features
@CodingGarden The only way to beat LLMs at their game is enforcing stuff on CI
@CodingGarden for the npm instead of pnpm issue you need to define a custom hook to resolve that
@CodingGarden The pnpm issue I solved putting it in claude.md As far as the other things, It comes do doing lots of planning. I tell it write and update the plans in a doc folder. I am also pre planing on a paper notebook :-).
@CodingGarden I mean the best I've gotten it is by using a rules file, aka custom instructions file. That keeps it _mostly_ on track, for the most part 😂 But honestly all the LLMs go off the rails at some point, seems like no matter what you do. Guess our jobs are safe after all 💖
@CodingGarden For the third one, are you giving it a whole set of tasks and telling it to implement just one? For me, I just paste whatever little I want it to implement. If it wants to do more I explicitly tell it no. And use plan mode to double check. Usually that works fine
@CodingGarden I don’t know the solution, but I get this with Claude much more than with ChatGPT. Says it fixed XYZ but didn’t really change anything.
@CodingGarden I've found planning and prototyping in Claude then moving to kiro for building the concept out further works well
@CodingGarden sudo use npm instead of pnpm