elixir-cyclic-deps

Community

Eliminate Elixir compile-time dependency cycles

Authormatteing
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Detects and helps remove compile-time cyclic dependencies in Elixir projects that cause mix xref failures and broken builds, focusing on minimal code changes to restore a clean compile graph.

Core Features & Use Cases

  • Accurate cycle detection using mix xref with both compile-connected and compile labels to find modules involved in cycles.
  • Minimal-change remediation strategies such as extracting helper modules, moving code, inverting dependencies, or splitting modules to break cycles with low churn.
  • Verification workflow that re-runs xref checks, compiles with warnings-as-errors, and runs tests or lint tasks to ensure the fix is safe for CI and local development.

Quick Start

Use the elixir-cyclic-deps skill to run mix xref cycle checks, propose a minimal code change to break any compile-time cycles, and verify the project compiles and tests pass.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: elixir-cyclic-deps
Download link: https://github.com/matteing/opal/archive/main.zip#elixir-cyclic-deps

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.