phoenix-expert

Guide Elixir developers through Phoenix architecture patterns and module layouts.

2|1|Updated Feb 8, 2021
One-click install
npx skills add https://github.com/jstoobz/dotfiles --skill phoenix-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phoenix-expert
Source: https://github.com/jstoobz/dotfiles/tree/main/claude/skills/elixir/phoenix-expert
Command: npx skills add https://github.com/jstoobz/dotfiles --skill phoenix-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Phoenix architecture and patterns guidance helps teams structure Elixir apps consistently, reducing onboarding time and architectural drift.

Core Features & Use Cases

  • Request flow guidance (plugs, router pipelines, and controllers) for reliable web request handling.
  • Module patterns for contexts, schemas, controllers, and channels to promote clean separation of concerns.
  • Use Case: design a scalable API with JSON endpoints and live features using Phoenix Channels.

Quick Start

Create a new Phoenix project and align modules (Router, Endpoint, Controllers, Contexts, and Channels) with the documented architecture.

Frequently Asked Questions about phoenix-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure contexts and controllers in a Phoenix application?

Structure contexts and controllers in a Phoenix application by aligning modules with documented architecture patterns, ensuring clean separation of concerns between web interfaces and business logic. This promotes consistent module layouts and reduces architectural drift.

What is the request flow through Phoenix routers and plugs?

The request flow through Phoenix routers and plugs passes through defined router pipelines before reaching controllers for reliable web request handling. This documented structure guides how endpoints process incoming HTTP requests systematically.

How do I design a scalable API with JSON endpoints and Phoenix Channels?

Design a scalable API with JSON endpoints and Phoenix Channels by aligning Router, Endpoint, Controllers, Contexts, and Channels modules with the documented architecture. This layout supports robust APIs with real-time live features.

Does Phoenix architecture guidance help reduce Elixir onboarding time?

Phoenix architecture guidance helps reduce Elixir onboarding time by crystallizing structural decisions and recommended module patterns into actionable principles. Teams structure applications consistently, preventing architectural drift across typical Phoenix projects.

What are the recommended module patterns for Phoenix schemas and channels?

Recommended module patterns for Phoenix schemas and channels promote clean separation of concerns across typical applications. These documented structural decisions guide module layouts for contexts, schemas, controllers, and channels to be easily applied.