Fähigkeiten Elixir Pro
📦

Elixir Pro

Sicher

Elixir Development Expert

Get expert-level Elixir code with OTP patterns, supervision trees, and Phoenix LiveView. The skill provides guidance on concurrency, fault tolerance, and distributed systems for production applications.

UnterstĂĽtzt: Claude Codex Code(CC)
🥉 73 Bronze
1

Die Skill-ZIP herunterladen

2

In Claude hochladen

Gehe zu Einstellungen → Fähigkeiten → Skills → Skill hochladen

3

Einschalten und loslegen

Teste es

Verwendung von "Elixir Pro". Create a GenServer for managing a todo list

Erwartetes Ergebnis:

A complete GenServer module with add, remove, complete, and list_todos operations. Includes state as a map, proper handle_call implementations, and example usage in the module documentation.

Verwendung von "Elixir Pro". Design a supervision strategy for a web socket handler

Erwartetes Ergebnis:

A Supervisor configuration with one_for_one strategy, child specifications for socket supervisors, and error handling patterns for connection management.

Sicherheitsaudit

Sicher
v1 • 2/24/2026

Prompt-only skill with no executable code. Provides guidance on Elixir best practices, OTP patterns, and Phoenix development. Static analysis found 0 files scanned (0 lines) with no suspicious patterns detected. This is a safe developer tool skill.

0
Gescannte Dateien
0
Analysierte Zeilen
0
befunde
1
Gesamtzahl Audits
Keine Sicherheitsprobleme gefunden
Auditiert von: claude

Qualitätsbewertung

38
Architektur
100
Wartbarkeit
87
Inhalt
50
Community
100
Sicherheit
83
Spezifikationskonformität

Was du bauen kannst

Build Production OTP Applications

Create robust Elixir applications with proper supervision trees and fault-tolerant design patterns

Refactor to Modern Elixir

Upgrade legacy Elixir code to use contemporary OTP patterns and best practices

Develop Real-time Phoenix Apps

Build interactive web applications with Phoenix LiveView and reactive interfaces

Probiere diese Prompts

Basic OTP Pattern
Create a GenServer that manages a simple counter with increment, decrement, and get functions. Include proper initialization and termination callbacks.
Supervision Tree Setup
Design a supervision tree for a worker pool application. Include a Supervisor, a dynamic supervisor for workers, and a registry for tracking worker processes.
Phoenix LiveView Integration
Create a Phoenix LiveView component for real-time form validation. Include proper LiveView lifecycle handling, form state management, and error display.
Distributed System with Nodes
Implement a distributed counter that syncs state across multiple BEAM nodes. Use Registry for node discovery and handle node disconnection gracefully.

Bewährte Verfahren

  • Prefer pattern matching over conditionals in function heads for cleaner, more expressive code
  • Embrace the 'let it crash' philosophy with proper supervision to handle failures gracefully
  • Use separate processes for isolation and concurrency instead of shared mutable state

Vermeiden

  • Avoid using GenServer for simple utility functions where plain module functions suffice
  • Do not skip supervision trees even for small applications to ensure fault tolerance
  • Avoid mutable state updates; use immutable data structures and functional updates

Häufig gestellte Fragen

What is OTP in Elixir?
OTP (Open Telecom Platform) is a set of libraries and design patterns in Elixir for building fault-tolerant, concurrent applications. It includes GenServer, Supervisor, and Application modules.
How does supervision work in Elixir?
Supervision is a fault-tolerance pattern where a Supervisor process monitors child processes. When a child crashes, the Supervisor can restart it according to configured strategies.
What is Phoenix LiveView?
Phoenix LiveView is a framework for building real-time web applications with Elixir. It enables server-rendered HTML with live updates over WebSockets without writing JavaScript.
Can this skill write complete Elixir projects?
This skill provides guidance, code snippets, and best practices. It generates example code and architectural guidance but does not create full project scaffolds.
How does the BEAM VM handle concurrency?
The BEAM VM uses lightweight processes (not OS threads) for concurrency. These processes communicate via message passing and share no mutable state, enabling massive concurrency with low overhead.
What testing frameworks work with Elixir?
ExUnit is the standard testing framework. Property-based testing can be done with StreamData. Mix is used for task automation and dependency management.

Entwicklerdetails

Dateistruktur

đź“„ SKILL.md