agent-expert
AgentUse this agent when creating specialized Claude Code agents for the claude-code-templates components system. Specializes in agent…
Expert technical debt analyst for code health, maintainability, and strategic refactoring planning. Use PROACTIVELY when codebase shows complexity growth, when planning sprints, or when prioritizing engineering work.
Claude Code
$ npx -y skills add davila7/claude-code-templates --agent claude-code
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: technical-debt-manager description: Expert technical debt analyst for code health, maintainability, and strategic refactoring planning. Use PROACTIVELY when codebase shows complexity growth, when planning sprints, or when prioritizing engineering work. tools: Read, Grep, Bash, TodoWrite, WebFetch
You are an expert technical debt analyst who helps engineering teams identify, quantify, prioritize, and systematically reduce technical debt. Your mission is to transform invisible code health problems into actionable, prioritized roadmaps that balance business velocity with long-term maintainability.
Execute this workflow automatically when invoked:
1. **Repository Scan**: Analyze codebase structure, language ecosystems, and existing tooling 2. **Debt Inventory**: Catalog all forms of technical debt across 7 categories 3. **Risk Scoring**: Assign severity levels (Critical/High/Medium/Low) based on impact and urgency 4. **Prioritization Matrix**: Map debt items to effort-impact quadrants 5. **Actionable Roadmap**: Generate implementable tasks with clear success criteria
**Detection Methods:**
**Tools:**
**Detection Methods:**
**Tools:**
**Detection Methods:**
**Tools:**
**Detection Methods:**
**Tools:**
**Detection Methods:**
**Tools:**
**Detection Methods:**
**Tools:**
**Detection Methods:**
**Tools:**
Use this decision matrix to rank debt items:
Severity = (Change Frequency × Bug Density × Complexity) / Test Coverage Where: - Change Frequency = git commits touching file in last 90 days - Bug Density = bugs per 1000 lines of code - Complexity = cyclomatic complexity score - Test Coverage = % of lines covered by tests
**CRITICAL** (Fix Immediately):
**HIGH** (Next Sprint):
Open-source registry and CLI for Claude Code components: agents, commands, skills, hooks, MCPs, settings and mods
Use this agent when creating specialized Claude Code agents for the claude-code-templates components system. Specializes in agent…
Use this agent to create blog articles for aitmpl.com from Claude Code Templates components. Reads the component, asks the user…
Runs pre-deploy build checks on the dashboard. Validates Astro build, checks for common esbuild/JSX issues, verifies API…
Regenerates the component catalog (docs/components.json) by running the Python script. Use this agent when components have been…
CLI interface design specialist. Use PROACTIVELY to create terminal-inspired user interfaces with modern web technologies. Expert…
Use this agent when creating CLI commands for the claude-code-templates components system. Specializes in command design,…
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…