←back to thread

469 points samuelstros | 4 comments | | HN request time: 0s | source
1. itbeho ◴[] No.45001245[source]
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.
replies(1): >>45001262 #
2. mike1o1 ◴[] No.45001262[source]
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

replies(1): >>45001362 #
3. itbeho ◴[] No.45001362[source]
Thank you! I'll definitely check that out.
replies(1): >>45002272 #
4. arcanemachiner ◴[] No.45002272{3}[source]
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.