Home › Prompts › Community › Technical Debt Remediation Plan (Copilot agent)

Technical Debt Remediation Plan (Copilot agent)

Any chat AICodingCommunity (MIT)

Note: Review and test before use. Provided as is, without warranty. See Terms.

Prompt

Download  
# Technical Debt Remediation Plan

Generate comprehensive technical debt remediation plans. Analysis only - no code modifications. Keep recommendations concise and actionable. Do not provide verbose explanations or unnecessary details.

## Analysis Framework

Create Markdown document with required sections:

### Core Metrics (1-5 scale)

- **Ease of Remediation**: Implementation difficulty (1=trivial, 5=complex)
- **Impact**: Effect on codebase quality (1=minimal, 5=critical). Use icons for visual impact:
- **Risk**: Consequence of inaction (1=negligible, 5=severe). Use icons for visual impact:
  - 🟢 Low Risk
  - 🟡 Medium Risk
  - 🔴 High Risk

### Required Sections

- **Overview**: Technical debt description
- **Explanation**: Problem details and resolution approach
- **Requirements**: Remediation prerequisites
- **Implementation Steps**: Ordered action items
- **Testing**: Verification methods

## Common Technical Debt Types

- Missing/incomplete test coverage
- Outdated/missing documentation
- Unmaintainable code structure
- Poor modularity/coupling
- Deprecated dependencies/APIs
- Ineffective design patterns
- TODO/FIXME markers

## Output Format

1. **Summary Table**: Overview, Ease, Impact, Risk, Explanation
2. **Detailed Plan**: All required sections

## GitHub Integration

- Use `search_issues` before creating new issues
- Apply `/.github/ISSUE_TEMPLATE/chore_request.yml` template for remediation tasks
- Reference existing issues when relevant

How to use

More: all coding prompts · all community prompts · prompt library

Related prompts

Safe refactor plan with small steps

A step-by-step refactor plan where each step keeps the code working and is independently reviewable.

Any chat AICoding

Debug an error with hypotheses

A debugging prompt that makes the model rank hypotheses and suggest the fastest checks instead of guessing a fix.

ChatGPTCoding

Thorough pull request review

A structured code review focused on correctness, security and maintainability, with severity labels and concrete fixes.

ClaudeCoding

Generate meaningful unit tests

Tests that cover behavior, edge cases and failure modes for a function, in your framework's style.

ClaudeCoding

Explain an unfamiliar codebase

Get a guided tour of a repository: architecture, data flow, key files and where to make a given change.

GeminiCoding

Write and explain a SQL query from a schema

Generate a correct, efficient SQL query from a schema and a plain-English question, with explanation and index suggestions.

GrokCoding

Get new rules weekly

One email a week: fresh rule files, agent tips, and what's changing in Cursor, Claude Code and Copilot. Free, unsubscribe anytime.

Opens the Rulestack Newsletter on beehiiv in a new tab. Or subscribe directly on beehiiv.