phx:techdebt

Analyze Elixir/Phoenix projects for technical debt and duplicate code.

517|35|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill phx-techdebt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phx:techdebt
Source: https://github.com/oliver-kriska/claude-elixir-phoenix/tree/main/plugins/elixir-phoenix/skills/techdebt
Command: npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill phx-techdebt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps Elixir/Phoenix developers identify and address technical debt, including duplicate code, anti-patterns, and areas ripe for refactoring, leading to cleaner, more maintainable codebases.

Core Features & Use Cases

  • Automated Detection: Leverages tools like Credo to find design and consistency issues.
  • Pattern Identification: Scans for duplicated Ecto queries, validation logic, and controller actions.
  • Refactoring Guidance: Suggests solutions for identified duplication and provides a reporting format for prioritized fixes.
  • Use Case: When a project feels sluggish or difficult to modify, run this Skill to get a clear roadmap of where to focus refactoring efforts for maximum impact.

Quick Start

Run the phx:techdebt skill to analyze the project for technical debt.

Frequently Asked Questions about phx:techdebt

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

FAQPage Schema
How do I detect technical debt and duplicate code in an Elixir Phoenix project?

To detect technical debt in an Elixir Phoenix project, this Skill analyzes your codebase for duplicate Ecto queries, validation logic, and controller actions using command-line tools and grep, providing a structured report of locations and patterns.

What is the best way to find refactoring opportunities in Elixir code?

The best way to find refactoring opportunities in Elixir code is by scanning for repeated patterns and consistency issues using Credo, which identifies design flaws and suggests specific extractions to improve maintainability.

Does this technical debt analysis require any external dependencies to run?

No external dependencies are required to run this technical debt analysis, as it leverages built-in command-line tools and grep to scan your Elixir and Phoenix codebase directly without needing additional installed packages.

How do I get a prioritized roadmap for fixing duplicated Ecto queries?

You get a prioritized roadmap for fixing duplicated Ecto queries by running this analysis, which provides a structured report detailing identified patterns, suggested extractions, and the estimated effort required for remediation.

When should I scan my Phoenix codebase for technical debt?

You should scan your Phoenix codebase for technical debt when the project feels sluggish or difficult to modify, allowing you to get a clear roadmap of where to focus refactoring efforts for maximum impact.