elixir

Guide Elixir and Phoenix LiveView development with architecture, state management, and ExUnit validation.

16|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/JCETools-Petra/JCE-Opencode-Tools --skill elixir-jcetools-petra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elixir
Source: https://github.com/JCETools-Petra/JCE-Opencode-Tools/tree/main/config/skills/elixir
Command: npx skills add https://github.com/JCETools-Petra/JCE-Opencode-Tools --skill elixir-jcetools-petra

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you implement, debug, and review Elixir codebases—especially Phoenix LiveView apps—by guiding architecture decisions, state management, modern language patterns, and verification-oriented workflows.

Core Features & Use Cases

  • Architecture guidance: Choose the right Elixir/Phoenix building blocks for web, background processing, distributed systems, and ML/Numerical workloads.
  • Production-grade patterns: Apply up-to-date Elixir (e.g., guards, types, sigils, dbg usage) and Phoenix LiveView techniques (streams, async, verified routes).
  • Concurrency and testing support: Use GenServer/Broadway patterns correctly and validate behavior with ExUnit, LiveView tests, and mocking.

Example use case: You’re adding a real-time “delete product” flow to a Phoenix LiveView screen and need correct event handling, efficient list updates, and a test plan that confirms the UI and backend behavior.

Quick Start

Ask the AI to help you implement and verify a Phoenix LiveView feature for the files currently open in your Elixir project, including the needed Elixir changes, LiveView updates, and corresponding tests.

Frequently Asked Questions about elixir

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

FAQPage Schema
How do I implement a real-time delete flow in Phoenix LiveView with correct event handling and list updates?

Phoenix LiveView real-time delete flows use stream patterns for efficient list updates and verified routes for safe navigation. You handle events in LiveView modules and validate UI synchronization with LiveView tests.

What is the correct way to structure GenServer processes with safety guardrails in Elixir?

Structuring GenServer processes in Elixir requires applying safety guardrails to manage state and message handling. You validate concurrent behavior and fault tolerance using ExUnit-based testing workflows.

How do I build and test Broadway pipelines for background processing in Elixir?

Building Broadway pipelines in Elixir involves implementing structured data ingestion patterns for background jobs. You verify pipeline throughput and message processing reliability using ExUnit-based validation.

What's the best way to choose Elixir architecture for distributed systems and background jobs?

Choosing Elixir architecture for distributed systems involves matching OTP building blocks like GenServer and Broadway to specific workload characteristics. You select components based on concurrency needs and verify integration with ExUnit.

Can I use async patterns and streams in Phoenix LiveView for efficient data rendering?

Yes, Phoenix LiveView supports async patterns and streams specifically for efficient data rendering. You implement these modern techniques to handle large datasets and concurrent operations without blocking the UI.

Why does my Elixir code need ExUnit-based validation for web features and state management?

ExUnit-based validation is needed for Elixir web features and state management to confirm correct behavior and prevent regressions. You verify GenServer safety, LiveView events, and backend logic through targeted tests.