Make it run tests
The key to making magenta coating working is ultimately zooming in and having it make targeted changes.
It works sometimes with these grand sweeping things, but more often than not it gets a little bit confused. So it’s helpful to have it write modular and testable code.
If you get the test right, then you tell it to keep iterating on the code until the test pass.
If you get the code right, then you keep iterating on the tests in order to get the test passed.
But this gives you a feedback loop that it can use to understand how well it’s doing, and it can stay focused.
Ask it to first write tests, and then run them every time after to make it work
Always TDD
If you don’t have tests, first thing you should do is to say
Extract the code into modules and write tests for them. Make sure you run the tests after every change. Planning, brainstorming and idea development
Transform your rough concepts into detailed project specifications with this powerful prompting technique that guides you through an in-depth development process. By asking just one thoughtful question at a time, AI helps you create comprehensive, developer-ready plans that cover every essential detail.
Claude to write midjourney prompts
Transform your written content into compelling visual concepts by using Claude as an intelligent intermediary for Midjourney prompt creation. See how combining prompt libraries with AI analysis can help you explore multiple creative directions before settling on the perfect visual representation.
Adding Memory to Cursor
Transform your Cursor IDE into a more intelligent assistant by implementing a sophisticated memory system adapted from cline-memory-bank. This enhanced version includes TDD principles and integrates seamlessly with your prompt library, allowing your AI assistant to maintain context and remember important details across multiple coding sessions.