elixir-desloper

Detect and refactor Elixir/Phoenix anti-patterns while preserving behavior.

2|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/dot-prompt/dotprompt --skill elixir-desloper
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: elixir-desloper
Source: https://github.com/dot-prompt/dotprompt/tree/main/.agent/skills/elixir-desloper
Command: npx skills add https://github.com/dot-prompt/dotprompt --skill elixir-desloper

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identifies Elixir anti-patterns and design smells in Phoenix apps, guiding idiomatic refactors that preserve behavior.

Core Features & Use Cases

  • Detects common AI-generated slop patterns and non-idiomatic constructs.
  • Recommends and applies refactors for Elixir syntax, pattern matching, and context boundaries.
  • Use Case: Clean up a mixed Elixir/Phoenix codebase to improve readability and maintainability.

Quick Start

Replace AI-generated anti-patterns in changed Elixir/Phoenix files with idiomatic Elixir, preserving behavior.

Frequently Asked Questions about elixir-desloper

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

FAQPage Schema
How do I refactor AI-generated Elixir code to be more idiomatic?▼

To refactor AI-generated Elixir code, you can use automated detection to identify anti-patterns and apply refactors that enforce idiomatic syntax and Phoenix context boundaries while preserving behavior.

What are common AI slop patterns in Phoenix LiveView applications?▼

Common AI slop patterns in Phoenix LiveView include non-idiomatic constructs and design smells that violate context boundary discipline, which can be detected and removed using a configurable cleanup ruleset.

How do I clean up Elixir anti-patterns without breaking functionality?▼

You can clean up Elixir anti-patterns without breaking functionality by guiding removals and applying refactors that strictly preserve behavior within the existing Phoenix architecture.

Can I automatically detect context boundary violations in a Phoenix codebase?▼

Yes, you can automatically detect context boundary violations in a Phoenix codebase by applying rulesets that enforce context boundary discipline alongside LiveView best practices.

Does this Elixir code cleanup approach work with mixed Phoenix application files?▼

Yes, this Elixir code cleanup approach works with mixed Phoenix application files, targeting changed files to improve readability and maintainability across the entire codebase.