Ask HN: What are your best practices for Claude Code?
32hubraumhugo28/3/2025, 2:49:31 PM
With the recent additions of /hooks and /agents, what does your current setup look like and are there any best practices you’d recommend?
Comments (2)
Imanari · 1h ago
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.
dr_kiszonka · 15h ago
Recently, someone recommended using Taskmaster. I haven't tried it yet but it seems to include many things that I have been incorporating into my vibe coding sessions.
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.
https://www.task-master.dev