Skip to content
Development
Command

/techdebt

Find and report technical debt in the codebase

From plugin
claude-elixir-phoenix
5532 skills30 agents2 commands
Install
> /plugin marketplace add oliver-kriska/claude-elixir-phoenix

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/techdebt

Context preview

What this command does when you run it.

Find and report technical debt in the codebase

Command definition

techdebt.md
name: techdebt
description: Find and report technical debt in the codebase

Tech Debt Scanner

Scan the codebase for common Elixir/Phoenix tech debt patterns.

Check for

1. **Dead code**: Unused functions, modules, aliases

  • `mix xref unreachable`
  • Grep for `# TODO`, `# FIXME`, `# HACK`

2. **Duplicated code**: Similar function bodies across modules 3. **Missing typespecs**: Public functions without `@spec` 4. **Large modules**: Files > 300 lines 5. **Missing tests**: Modules in `lib/` without corresponding `test/` files 6. **Deprecated patterns**: Old Phoenix/Ecto patterns 7. **Credo issues**: `mix credo --strict --format json`

Output format

Priority-sorted list with file:line references and suggested fixes.

Ships withclaude-elixir-phoenix

Docs: phxagents.dev -- install guides per runtime, the runtime compatibility matrix, all 26 Iron Laws, and a browsable skill and agent catalog. Claude Code is great.

Get the whole plugin

Other commands on claude-elixir-phoenix.