swe-programming-elixir

Enforce idiomatic Elixir, Phoenix, and LiveView coding standards for AI-generated code.

3|1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/wahidyankf/ose-primer --skill swe-programming-elixir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swe-programming-elixir
Source: https://github.com/wahidyankf/ose-primer/tree/main/.claude/skills/swe-programming-elixir
Command: npx skills add https://github.com/wahidyankf/ose-primer --skill swe-programming-elixir

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the risk of AI agents generating inconsistent, non-idiomatic, or non-compliant Elixir, Phoenix Framework, and Phoenix LiveView code that fails to meet project best practices and governance requirements.

Core Features & Use Cases

  • Full Stack Standard Coverage: Provides comprehensive coding standards for the entire Elixir technology stack, including core Elixir language idioms, Phoenix Framework context/controller/routing patterns, Ecto data access, REST API design, and Phoenix LiveView lifecycle/component/real-time feature best practices.
  • Authoritative Source Alignment: All standards are derived from official project documentation, ensuring full compliance with organizational governance rules and industry-accepted Elixir ecosystem practices.
  • Use Case: When an AI agent is tasked with building a new Phoenix LiveView real-time dashboard, this Skill ensures the generated code follows proper state management, event handling, component reuse, and security patterns defined in the project's governance docs.

Quick Start

Instruct your AI agent to write a Phoenix LiveView component for a real-time user activity feed that adheres to the project's coding standards, and it will automatically apply all relevant Elixir, Phoenix, and LiveView rules from this Skill.

Frequently Asked Questions about swe-programming-elixir

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

FAQPage Schema
How do I enforce Elixir and Phoenix LiveView coding standards when using AI agents?

To enforce Elixir and Phoenix LiveView coding standards with AI agents, apply authoritative project-aligned rules that eliminate non-idiomatic generated code. This ensures AI-assisted development follows documented best practices for core language implementation, Phoenix context/controller routing, and LiveView component state management.

Why does AI generated Elixir code often fail project governance requirements?

AI generated Elixir code fails governance because it lacks alignment with authoritative project standards, often producing non-idiomatic patterns. Applying documented coding standards for Ecto data access and Phoenix LiveView lifecycle management ensures generated code meets organizational consistency, security, and maintainability requirements.

What is the best way to standardize AI-assisted Phoenix Framework REST API development?

The best way to standardize AI-assisted Phoenix Framework REST API development is by enforcing official project documentation rules. This approach ensures the generated code adheres to Elixir ecosystem best practices, avoiding antipatterns while satisfying organizational governance for secure and maintainable API design.

Can I use this to prevent non-idiomatic Ecto data access patterns in AI generated code?

Yes, you can prevent non-idiomatic Ecto data access patterns by applying authoritative coding standards to AI generated code. This ensures all AI-assisted Elixir development tasks follow documented best practices, antipattern avoidance, and testing standards required for consistent data access.

How do I ensure AI generated Phoenix LiveView components follow real-time best practices?

To ensure AI generated Phoenix LiveView components follow real-time best practices, enforce coding standards covering component reuse, state management, and event handling. This guarantees the generated LiveView code aligns with official project documentation and security patterns for real-time features.

Does this work for standardizing Phoenix context and controller routing patterns?

Yes, it works for standardizing Phoenix context and controller routing patterns by providing authoritative coding standards derived from official project documentation. This ensures AI-assisted development generates compliant code across the full Elixir web stack, satisfying organizational governance rules.