Skip to main content
subagent

technical-debt-manager — Claude Code subagent: how to install

Scans codebases for architecture flaws and test gaps. Helps build a prioritized refactoring plan for sprint planning.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --agent development-tools/technical-debt-manager
Open on GitHub

What technical-debt-manager does

This subagent inspects codebases across seven debt categories. It tracks cyclomatic complexity alongside vulnerable dependencies. To rate issue urgency, it calculates an impact score comparing 90-day git churn against test coverage.

Operation relies on built-in tools like Bash, Read, Grep, TodoWrite, and WebFetch. Without local linters or parsers installed, the agent falls back to basic shell commands.

The resulting backlog groups findings into four distinct tiers. Every action item comes with clear risk criteria.

What it helps with

  • Detect code duplication and excessive cyclomatic complexity
  • Spot vulnerable or outdated package dependencies
  • Prioritize refactoring tasks using git commit churn and test metrics
  • Structure a backlog of technical debt for the upcoming sprint

Example prompts for the agent

  • Audit this repository and highlight modules with high git churn and low test coverage
  • Check project dependencies for deprecated packages and security vulnerabilities
  • Draft a refactoring plan for our core services before the next sprint

How to install technical-debt-manager

1claude-code-templates

npx claude-code-templates@latest --agent development-tools/technical-debt-manager

2Manually: put the files in place

.claude/agents/technical-debt-manager.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about technical-debt-manager

How to install technical-debt-manager in Claude Code?

Run npx claude-code-templates@latest --agent development-tools/technical-debt-manager in your terminal. The agent template will be placed in .claude/agents/technical-debt-manager.md.

What does technical-debt-manager do?

It catalogs technical debt across design, testing, code quality, and infrastructure, ranking findings to deliver a structured refactoring roadmap.

Which tools does this agent require?

It operates through Claude Code capabilities including Read, Grep, Bash, TodoWrite, and WebFetch. Local access to git and project linters will improve scan accuracy.

Similar subagents

All subagents for Code review and refactoring →

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor