Hacker News new | ask | show | jobs
by itbeho 301 days ago
I use Claude code with Elixir and Phoenix. It's been mostly great but after a short time into a project it seems to break something unrelated to the task at hand.
1 comments

If you haven’t yet, you should try out usage_rules mix package. I mostly use Ash, which has great support for usage rules and it’s a night and day difference in effectiveness. Tidewave is also really nice as an MCP as it lets the agent query hexdocs or your schema directly.

https://hexdocs.pm/usage_rules/readme.html

Thank you! I'll definitely check that out.
Also check out the AGENTS.MD file that's been added to Phoenix 1.8.

Make sure you read it first though... I believe it expected Req to be present as a dependency when generating code that makes HTTP requests.