|
I'm sharing the exact methods I use as an AI engineer to build production systems - techniques so effective they work even in niche languages like Elixir. Get the complete playbook delivered to your inbox 👇
Hooks Hooks are another feedback mechanism we can use in Claude code.They run arbitrary commands after certain lifecycle events.There’s one hook I lean on heavily “Stop”.It’s called when Claude has finished generating code. Which maps really nicely to my normal workflow where I would run commands like compile, lint, prettier, etc. to check the code is in a good state before continuing.These commands are generally fast to run and when they fail the error is fed back to the LLM and continue to...
Sub Agents I’ve been playing around with Claude Code sub-agents a lot recently and only just cracked how to get them working reliably. At first I thought they’d just work automatically. After all, the docs do say just prompt Claude with ALWAYS USE and it’ll magically select the right agent. But that never worked for me.Instead I found tagging the agent with @sub-agent-name forced Claude to select it. This feels a bit broken but I guess its messy tool selection and thats a tricky problem. I...