Technical Debt Assessment

Technical Debt Assessment

Helps an AI agent find, measure and prioritise technical debt with scoring by severity, effort and impact, plus a code quality scanner and debt calculator.

Skill files4 files

references/

templates/

SKILL.md91 lines
1
---
2
name: technical-debt-assessment
3
description: >
4
Assess, quantify, and prioritize technical debt using code analysis, metrics,
5
and impact analysis. Use when planning refactoring, evaluating codebases, or
6
making architectural decisions.
7
---
8
9
# Technical Debt Assessment
10
11
## Table of Contents
12
13
- [Overview](#overview)
14
- [When to Use](#when-to-use)
15
- [Quick Start](#quick-start)
16
- [Reference Guides](#reference-guides)
17
- [Best Practices](#best-practices)
18
19
## Overview
20
21
Systematically identify, measure, and manage technical debt to make informed decisions about code quality investments.
22
23
## When to Use
24
25
- Legacy code evaluation
26
- Refactoring prioritization
27
- Sprint planning
28
- Code quality initiatives
29
- Acquisition due diligence
30
- Architectural decisions
31
32
## Quick Start
33
34
Minimal working example:
35
36
```typescript
37
interface DebtItem {
38
id: string;
39
title: string;
40
description: string;
41
category: "code" | "architecture" | "test" | "documentation" | "security";
42
severity: "low" | "medium" | "high" | "critical";
43
effort: number; // hours
44
impact: number; // 1-10 scale
45
interest: number; // cost per sprint if not fixed
46
}
47
48
class TechnicalDebtAssessment {
49
private items: DebtItem[] = [];
50
51
addDebtItem(item: DebtItem): void {
52
this.items.push(item);
53
}
54
55
calculatePriority(item: DebtItem): number {
56
const severityWeight = {
57
low: 1,
58
medium: 2,
59
high: 3,
60
critical: 4,
61
};
62
// ... (see reference guides for full implementation)
63
```
64
65
## Reference Guides
66
67
Detailed implementations in the `references/` directory:
68
69
| Guide | Contents |
70
|---|---|
71
| [Technical Debt Calculator](references/technical-debt-calculator.md) | Technical Debt Calculator |
72
| [Code Quality Scanner](references/code-quality-scanner.md) | Code Quality Scanner |
73
74
## Best Practices
75
76
### ✅ DO
77
78
- Quantify debt impact
79
- Prioritize by ROI
80
- Track debt over time
81
- Include debt in sprints
82
- Document debt decisions
83
- Set quality gates
84
85
### ❌ DON'T
86
87
- Ignore technical debt
88
- Fix everything at once
89
- Skip impact analysis
90
- Make emotional decisions
91

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 13,701 prompts

More by @OpenSourceBuffGuy

See all
Anime candy hero character sheet with turnarounds prompt image

Anime candy hero character sheet with turnarounds

Lays out a 16:9 anime hero-shooter character sheet for a candy-themed armored defender, with turnarounds, equipment panels and a colour palette.

video-prompt, character-sheet, character-design, anime, concept-art, game-assets, video-games, sci-fi, robots, white-background, multi-panel, vibrant-colors, kawaii, character-consistency, structured-output, text-rendering, widescreen, long-form, for-artists, for-designers, game-development, futuristic

Girl rides a bicycle past a summer shop prompt image

Girl rides a bicycle past a summer shop

Directs a 10-second nostalgic hand-drawn animated clip of a young girl in a straw hat riding a red bicycle past a summer shop, with timed shots and one spoken line.

video-prompt, animation, anime, timed-beats, multi-shot, lip-sync, character-consistency, summer, illustration, guardrails, negative-prompt, widescreen, camera-movement, tracking-shot, vintage, cozy, storyboard, family-friendly, short-film, minimax

Zombie train cabin infection spreads through sleeper car prompt image

Zombie train cabin infection spreads through sleeper car

Lays out a 26-shot, 30-second horror video where an infection spreads through a night train sleeper car, with timed shots, framing and a reference image locking one character.

video-prompt, seedance, horror, multi-shot, timed-beats, handheld, slow-motion, cinematic, reference-image, image-to-video, character-consistency, face-reference, camera-movement, close-up, wide-shot, thriller, structured-output, night-scene, moody, advanced, long-form, for-filmmakers, action, visual-effects

Reviews

Loading reviews…

Discussion

Loading comments…