A Matriz de Priorização de Technical Debt

Porque é que este prompt importa
High-debt organizations spend 40% more on maintenance and ship features 25-50% slower than peers, and technical debt costs US companies over $2.4 trillion annually — the cost of not prioritizing isn't just slower engineering, it's a compounding tax on every future feature the team ships.
Para que o usamos
Your team has a scattered list of known technical debt items sitting in a backlog nobody has prioritized, and you need a defensible remediation plan before the next quarterly planning meeting with product and finance stakeholders.
Prompt
Act as an engineering leader who needs to defend a technical debt remediation roadmap to a CFO and a VP of Product in the same meeting. CONTEXT: - Our team's available capacity for debt remediation next quarter: [E.G. "1 engineer, 20% time" OR "2 sprints total"] - Current business priority: [GROWTH / STABILITY / COST-CUTTING] - Raw list of known technical debt items: [PASTE YOUR LIST — one item per line, however informal] TASK: For each debt item, score it 1-5 on each of these four dimensions: 1. Delivery drag — how much does this slow down future feature work in the affected area? 2. Incident risk — how often is this implicated in production issues, outages, or urgent fixes? 3. Revenue/customer exposure — does this affect paying customers, SLAs, or revenue-generating flows directly? 4. Remediation cost — how much effort would fixing this actually take (5 = very cheap, 1 = very expensive)? Then compute a priority score and rank all items. CONSTRAINTS: - Do not recommend more remediation work than the stated capacity allows — sequence items into what actually fits. - Do not treat all debt as equally urgent — explicitly deprioritize items that score low on both delivery drag and incident risk, even if they're technically embarrassing. - Justify the top 3 items in plain English a non-engineer could read and approve without a glossary. OUTPUT FORMAT: 1. Scored Table: Item | Delivery Drag | Incident Risk | Revenue Exposure | Remediation Cost | Priority Score 2. Recommended Sequence: which items fit in the stated capacity, in order 3. Plain-English Justification: 1 paragraph per top-3 item, written for a non-technical stakeholder
Resultado
Scored Table:
| Item | Delivery Drag | Incident Risk | Revenue Exposure | Remediation Cost | Priority Score |
|---|---|---|---|---|---|
| Auth tokens don't expire | 2 | 5 | 5 | 4 | 16 |
| No test coverage on checkout service | 4 | 4 | 5 | 2 | 15 |
| Deploy script has 3 manual steps | 3 | 3 | 2 | 5 | 13 |
| Reporting dashboard queries primary DB directly | 2 | 2 | 1 | 3 | 8 |
Recommended Sequence (fits 20% time / 1 engineer for the quarter):
- Fix auth token expiration first — highest incident risk and direct revenue/compliance exposure, and at remediation cost 4 it's genuinely cheap to fix. This alone likely consumes 2-3 weeks of the available capacity.
- Add test coverage to checkout service next — this is the most expensive item on the list (cost 2), so it should be scoped to the highest-risk checkout paths only this quarter, not full coverage. Partial coverage of the payment and cart-abandonment flows is achievable in the remaining capacity.
- Deploy script and dashboard query issues are explicitly deferred to next quarter — both score below the auth and checkout items, and capacity is fully allocated after the above two.
Plain-English Justification:
Auth tokens don't expire: Right now, if someone's login session is ever compromised, whoever has that token can access their account indefinitely — there's no automatic cutoff. This is both a security exposure and, depending on our contracts, could put us in breach of customer data-handling commitments. It's also a relatively fast fix, which is why it's first.
No test coverage on checkout: Every time we change anything near checkout, we're relying on manual QA and hope to catch payment bugs before customers do. Given checkout is where we make money, a bug slipping through here has a direct and immediate revenue impact — but building full test coverage is a genuinely large effort, so we're scoping this to the highest-traffic paths first rather than promising full coverage this quarter.
Deploy script manual steps: This one is annoying and occasionally causes a bad deploy, but it doesn't touch customers directly or put revenue at risk the way the other two do — it's a real problem, just not this quarter's problem given our capacity.
Os backlogs de technical debt costumam morrer de duas formas: ou cada item é marcado como "crítico" pelo engenheiro mais irritado com ele, ou a lista é ignorada por completo porque ninguém consegue traduzir "esse módulo não tem cobertura de testes" em algo que um gerente de produto ou um CFO vá financiar. Este prompt força uma etapa de pontuação por impacto nos negócios antes de qualquer sequenciamento de remediação, de modo que o plano resultante sobrevive a uma conversa de roadmap com pessoas que não são da área técnica na sala.
Por que cada seção do prompt existe
Papel: O prompt atribui à AI a perspectiva de um líder de engenharia que precisa defender um roadmap de remediação para um CFO e um VP de Produto na mesma reunião — e não apenas de um engenheiro sênior revisando qualidade de código. Esse enquadramento importa porque um revisor puramente técnico vai classificar os itens por elegância e correção; já um líder responsável tanto pelo orçamento quanto pela entrega os classifica pelo que de fato prejudica o negócio.
Contexto: O prompt solicita a capacidade atual do sprint do seu time e as prioridades atuais do negócio (crescimento, estabilidade, redução de custos) porque o mesmo item de technical debt tem classificações diferentes dependendo do que a organização está otimizando no momento. Uma startup em fase de escala e uma empresa em um trimestre de estabilidade não deveriam receber o mesmo resultado de priorização a partir da mesma lista de débitos.
Tarefa: Cada item de technical debt é pontuado em quatro dimensões — arrasto na entrega (o quanto ele atrasa trabalhos futuros de funcionalidades), risco de incidente (com que frequência ele está implicado em problemas em produção), exposição de receita/clientes e custo de remediação — em vez de uma única avaliação vaga de "severidade", porque uma pontuação única colapsa tradeoffs distintos em um número com o qual ninguém consegue concordar ou discordar.
Restrições: O prompt proíbe explicitamente "é só fazer refactor em tudo" como resultado e exige que o plano respeite a capacidade de sprint declarada, porque um exercício de priorização que recomenda mais trabalho do que o time consegue absorver não é um plano — é uma lista de desejos.
Formato de saída: O resultado é uma tabela ranqueada (e não texto corrido), especificamente para que possa ser inserida em um deck de revisão de roadmap sem trabalho adicional de formatação, seguida de uma justificativa em linguagem simples, em um único parágrafo, para os 3 itens principais — algo que um stakeholder não técnico consiga de fato ler e aprovar.
O prompt
Act as an engineering leader who needs to defend a technical debt remediation roadmap to a CFO and a VP of Product in the same meeting.
CONTEXT:
- Our team's available capacity for debt remediation next quarter: [E.G. "1 engineer, 20% time" OR "2 sprints total"]
- Current business priority: [GROWTH / STABILITY / COST-CUTTING]
- Raw list of known technical debt items: [PASTE YOUR LIST — one item per line, however informal]
TASK:
For each debt item, score it 1-5 on each of these four dimensions:
1. Delivery drag — how much does this slow down future feature work in the affected area?
2. Incident risk — how often is this implicated in production issues, outages, or urgent fixes?
3. Revenue/customer exposure — does this affect paying customers, SLAs, or revenue-generating flows directly?
4. Remediation cost — how much effort would fixing this actually take (5 = very cheap, 1 = very expensive)?
Then compute a priority score and rank all items.
CONSTRAINTS:
- Do not recommend more remediation work than the stated capacity allows — sequence items into what actually fits.
- Do not treat all debt as equally urgent — explicitly deprioritize items that score low on both delivery drag and incident risk, even if they're technically embarrassing.
- Justify the top 3 items in plain English a non-engineer could read and approve without a glossary.
OUTPUT FORMAT:
1. Scored Table: Item | Delivery Drag | Incident Risk | Revenue Exposure | Remediation Cost | Priority Score
2. Recommended Sequence: which items fit in the stated capacity, in order
3. Plain-English Justification: 1 paragraph per top-3 item, written for a non-technical stakeholder
Como o resultado realmente se parece
Para um time com capacidade de "1 engenheiro, 20% do tempo" em um trimestre de CRESCIMENTO, dada uma lista bruta que inclui "sem cobertura de testes no serviço de checkout", "tokens de autenticação não expiram", "o dashboard de relatórios consulta diretamente o banco de dados primário" e "nosso script de deploy tem três etapas manuais que alguém sempre esquece", um resultado típico seria:
Conclusões práticas
- Execute este prompt antes do seu próximo ciclo de planejamento, não durante ele — a conversa de pontuação traz à tona divergências sobre prioridade de negócio que são mais bem resolvidas antes de a capacidade ser alocada, e não no meio de uma reunião acalorada de roadmap.
- Use as justificativas em linguagem simples literalmente ao solicitar orçamento ou headcount — elas foram construídas especificamente para sobreviver a um público não técnico sem que você precise traduzir na hora.
- Reexecute o prompt sempre que a prioridade declarada do negócio mudar (de crescimento para estabilidade, por exemplo) — a mesma lista de débitos deve produzir uma sequência significativamente diferente; se não produzir, os parâmetros de pontuação precisam ser revisados.
- Não pule a etapa de despriorização explícita — uma lista de débitos em que tudo é "importante" é a razão mais comum pela qual os roadmaps de remediação nunca sobrevivem ao contato com um sprint real.