elixir-expert by 404kidwiz/claude-supercode-skills
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill elixir-expert提供 Elixir 开发、Phoenix 框架和 OTP 模式的专业知识。涵盖并发编程、使用 LiveView 的实时功能,以及在 BEAM 虚拟机上构建容错分布式系统。
在以下情况下调用此技能:
在以下情况下请勿调用:
Concurrency Pattern:
├── Stateful process → GenServer
├── Async work → Task
├── Background job → Oban or Task.Supervisor
├── Event streaming → GenStage / Broadway
├── Real-time UI → Phoenix LiveView
└── External service → Retry with exponential backoff
Supervision Strategy:
├── Process can crash independently → one_for_one
├── Processes depend on each other → one_for_all
├── Ordered restart needed → rest_for_one
└── Dynamic children → DynamicSupervisor
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
async: true 测试并发代码| 反模式 | 问题 | 正确方法 |
|---|---|---|
| 大型 GenServer 状态 | 内存和序列化问题 | 外部存储,ETS |
| 防御性编码 | 隐藏错误 | 让它崩溃,使用监督 |
| 阻塞 GenServer | 进程瓶颈 | 对 I/O 使用异步任务 |
| 无监督 | 不可恢复的崩溃 | 正确的监督树 |
| 可变思维 | 错误和竞态条件 | 拥抱不可变性 |
每周安装量
158
代码仓库
GitHub 星标数
42
首次出现时间
2026年1月24日
安全审计
安装于
opencode131
codex124
gemini-cli122
github-copilot112
claude-code100
cursor97
Provides expertise in Elixir development, Phoenix Framework, and OTP patterns. Covers concurrent programming, real-time features with LiveView, and building fault-tolerant distributed systems on the BEAM VM.
Invoke this skill when:
Do NOT invoke when:
Concurrency Pattern:
├── Stateful process → GenServer
├── Async work → Task
├── Background job → Oban or Task.Supervisor
├── Event streaming → GenStage / Broadway
├── Real-time UI → Phoenix LiveView
└── External service → Retry with exponential backoff
Supervision Strategy:
├── Process can crash independently → one_for_one
├── Processes depend on each other → one_for_all
├── Ordered restart needed → rest_for_one
└── Dynamic children → DynamicSupervisor
| Anti-Pattern | Problem | Correct Approach |
|---|---|---|
| Large GenServer state | Memory and serialization | External storage, ETS |
| Defensive coding | Hides bugs | Let it crash, supervise |
| Blocking GenServer | Process bottleneck | Async tasks for I/O |
| No supervision | Unrecoverable crashes | Proper supervision tree |
| Mutable mindset | Bugs and race conditions | Embrace immutability |
Weekly Installs
158
Repository
GitHub Stars
42
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode131
codex124
gemini-cli122
github-copilot112
claude-code100
cursor97
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
109,600 周安装