AI coding tips
Found AI coding tips (specifically Claude Code) under a hackernews post yesterday. From the claude team.
From Hackernews
"Hey, Boris from the Claude Code team here. A few tips:
- If there is anything Claude tends to repeatedly get wrong, not understand, or spend lots of tokens on, put it in your CLAUDE.md. Claude automatically reads this file and it’s a great way to avoid repeating yourself. I add to my team’s CLAUDE.md multiple times a week.
- Use Plan mode (press shift-tab 2x). Go back and forth with Claude until you like the plan before you let Claude execute. This easily 2-3x’s results for harder tasks.
- Give the model a way to check its work. For svelte, consider using the Puppeteer MCP server and tell Claude to check its work in the browser. This is another 2-3x.
- Use Opus 4.5. It’s a step change from Sonnet 4.5 and earlier models.
Hope that helps!"