Phoenix Patterns & Architecture

•
95
•

Implements Elixir Phoenix Framework best practices for robust, maintainable web application architecture and design.

This skill equips Claude with the architectural wisdom required to build professional Phoenix Framework applications. It provides expert guidance on designing domain-specific Contexts, implementing thin Controllers with action fallbacks, and configuring sophisticated Plug pipelines for authentication and middleware. Whether you are bootstrapping a new Elixir project or refactoring an existing codebase, this skill ensures your application follows the 'Thin Controller, Fat Context' philosophy and adheres to idiomatic Elixir patterns for long-term scalability and maintainability.

主な機能

01Custom Plug pipeline development for authentication and authorization
02RESTful Controller patterns with centralized Fallback Controllers
03Standardized error handling and Ecto changeset management
04Secure and scalable routing configurations using scopes
05Domain-driven Context design and module organization
0695 GitHub stars

ユースケース

01Structuring the business logic and database layer of a new Elixir application
02Refactoring monolithic controllers into clean, organized Context modules
03Implementing a secure JSON REST API with custom bearer token authentication