Apply Phoenix Controller Conventions

Use when writing new controller code in Phoenix applications. Enforces consistent patterns for RESTful routing, plug pipeline ordering, action methods, strong parameters, content negotiation, fallback controllers, and error handling. Covers resource routing, controller plugs, conn.assigns, json/html rendering, and authentication plugs. Trigger words: phoenix controller conventions, controller patterns, phoenix router, plug pipeline, controller plugs, fallback controller, strong params, phoenix routes, action fallback.

igmarin 3b87925 9.4 KB Updated

File contents

igmarin/elixir-phoenix-skills/tree/main/skills/apply-phoenix-controller-conventions commit 3b87925e73

Frequently asked questions

npx skillmds@latest add igmarin/apply-phoenix-controller-conventions