The following workflow has given me a solid starting point multiple times:
1. > Please ask clarifying questions about {thing you want to implement} and write those into planning.md
2. > Please answer those questions with your best guesses / suggestions.
3. Review and correct the answers from Claude from step 3
3a Repeat 1-3 if needed with follow-up questions.
4. > Go ahead and implement the thing.
In step 3 you can, of course, answer the questions yourself, but letting Claude answer sometimes gives you surprising answers that broaden your vision on the problem a bit.
I am sure you could further automate this with hooks, slash commands, agents, etc., but so far I didn't bother.
Also I have heard great things about Serena-MCP but I haven't tried it myself yet.