Harness Component — Command
Techdebt
Find and report technical debt in the codebase
Runtimeclaude-code
Intentbuild
Definition
Tech Debt Scanner
Scan the codebase for common Elixir/Phoenix tech debt patterns.
Check for
- Dead code: Unused functions, modules, aliases
mix xref unreachable- Grep for
# TODO,# FIXME,# HACK
- Duplicated code: Similar function bodies across modules
- Missing typespecs: Public functions without
@spec - Large modules: Files > 300 lines
- Missing tests: Modules in
lib/without correspondingtest/files - Deprecated patterns: Old Phoenix/Ecto patterns
- Credo issues:
mix credo --strict --format json
Output format
Priority-sorted list with file:line references and suggested fixes.