Phoenix Thinking
Enforces advanced architectural patterns and performance optimizations for Elixir and Phoenix LiveView applications.
Phoenix Thinking is a specialized Claude Code skill that guides developers through high-performance Elixir development by enforcing industry-standard patterns and Phoenix core team insights. It primary focuses on the 'Iron Law' of avoiding database queries in mount/3 to prevent duplicate execution, while providing deep architectural guidance on multi-tenant security scopes, async data loading, and real-time PubSub communication. This skill is essential for building production-ready LiveView applications that are secure, scalable, and free from common lifecycle pitfalls.
主要功能
01Prevents data leaks through strictly scoped PubSub topics
02Enforces the 'No Database Queries in mount' rule for optimal performance
03Guides async data loading patterns using assign_async/3
04Provides expert solutions for LiveView termination and stale socket states
05Implements security-first scoping for multi-tenant data protection
0676 GitHub stars
使用场景
01Debugging complex WebSocket and Channel communication issues
02Building high-performance Phoenix LiveView pages with real-time updates
03Implementing secure multi-tenant architectures in Elixir applications