Maintenance in progress: we are indexing a large batch of new skills. Some pages may load slowly or briefly show no results. Nothing is lost, and everything is back to normal within the hour.

Phoenix Phoenix

Phoenix guidelines

majiayu000 d7f35cb 2 files · 1.4 KB Updated 567 repo stars

File contents

Phoenix guidelines

  • Remember Phoenix router scope blocks include an optional alias which is prefixed for all routes within the scope. Always be mindful of this when creating routes within a scope to avoid duplicate module prefixes.

  • You never need to create your own alias for route definitions! The scope provides the alias, ie:

    scope "/admin", AppWeb.Admin do
      pipe_through :browser
    
      live "/users", UserLive, :index
    end
    

    the UserLive route would point to the AppWeb.Admin.UserLive module

  • Phoenix.View no longer is needed or included with Phoenix, don't use it

majiayu000/claude-skill-registry-data/tree/main/data/phoenix-phoenix commit d7f35cbe10

Frequently asked questions

npx skillmds add majiayu000/phoenix-phoenix