Claude Code Plugins

Community-maintained marketplace

Feedback

phoenix-framework

@forest/dotfiles
4
0

Phoenix framework guidelines for router configuration and deprecated modules. Use when writing Phoenix router files, adding routes, or configuring scopes. Prevents duplicate module prefix bugs from scope aliasing and use of deprecated Phoenix.View.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name phoenix-framework
description Phoenix framework guidelines for router configuration and deprecated modules. Use when writing Phoenix router files, adding routes, or configuring scopes. Prevents duplicate module prefix bugs from scope aliasing and use of deprecated Phoenix.View.

Phoenix Framework Guidelines

Router Scope Aliasing

Router scope blocks include an optional alias that is automatically prefixed to all routes within the scope.

Never create your own alias for route definitions—the scope provides it:

scope "/admin", AppWeb.Admin do
  pipe_through :browser

  live "/users", UserLive, :index
end

The UserLive route points to AppWeb.Admin.UserLive automatically.

Always be mindful of this when creating routes to avoid duplicate module prefixes like AppWeb.Admin.Admin.UserLive.

Deprecated Modules

  • Never use Phoenix.View - it is no longer included with Phoenix