I have just complete as month long task of developing a highly complex library in C# (a parser that uses ANTLR) together with claude and cursor and it worked very well. For me trick was to do test driven development and write all the tests first. Then after each code change rerun the tests.
This made it very easy for claude to work out what to do and what needed to be corrected for things to work. Then you get your tests either to write debug statement to the terminal or json serialize something to disk you can paste into the claude chat that helps claude understand the flow of the code and where things goes wrong.
As an added bonus having all those test alse made it easy for claude to write the documentation.
I will not say it was fun because you are sitting doing copy paste all day but i couldn't have written this library without the assistance from clause. cursor just reduced the amount of copy paste actions since it can update the files.