tech-debt
Skill1 starsChanged 7 months agoMITView on GitHub
Identify, categorize, and prioritize technical debt. Trigger with "tech debt", "technical debt audit", "what should we refactor", "code health", or when the user asks about code quality, refactoring priorities, or maintenance backlog.
36 other projects use a version of this, 4 of them edited.
Adopted by
Most recently taken up by
- dirien/yet-another-agent-harnesstheir own version, first seen Nov 8, 2026
- y-miyazaki/configtheir own version, first seen Nov 6, 2026
- striderZA/OpenCodeGameStudiostheir own version, first seen Nov 4, 2026
- dpleshakov/tfsclitheir own version, first seen Oct 20, 2026
- Donchitos/Claude-Code-Game-Studiostheir own version, first seen Oct 19, 2026
- venus2099/codex-game-studiostheir own version, first seen Oct 17, 2026
Used with
Projects with it also use playtest-report, soak-test and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CoralGameSkillplaytest-report
Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.
Also in 12 projects that use this
lilangMaxSkillsoak-test
Generate a soak test protocol for extended play sessions. Defines what to observe, measure, and log during long play sessions to surface slow leaks, fatigue effects, and edge cases that only appear after sustained play. Primarily used in Polish and Release phases.
Also in 9 projects that use this
lilangMaxSkillteam-live-ops
Orchestrate the live-ops team for post-launch content planning: coordinates live-ops-designer, economy-designer, analytics-engineer, community-manager, writer, and narrative-director to design and plan a season, event, or live content update.
Also in 9 projects that use this
CoralGameSkillteam-polish
Orchestrate the polish team: coordinates performance-analyst, technical-artist, sound-designer, and qa-tester to optimize, polish, and harden a feature or area for release quality.
Also in 14 projects that use this
- +5 more from lilangMax
- +3 more from CoralGame
Other versions36 projects use a version of this.
Word for word · 0
None found.
Edited · 4
- anthropics/knowledge-work-plugins★ 35k18% same
- edu6565/claude-skills★ 018% same
- InfiniteRoomLabs/agent-ops★ 018% same
- KevinReactiv8/claude-skills★ 018% same
Wrote their own version · 32
- Donchitos/Claude-Code-Game-Studios★ 27ksame name
- vm0-ai/vm0★ 1.2ksame name
- pixel-cellar/Claude-Code-Game-Studios★ 324same name
- striderZA/OpenCodeGameStudios★ 118same name
- tranhieutt/software_development_department★ 71same name
- cenconq25/claude-code-app-studio★ 40same name
- drafthq/draft★ 40same name
- fagemx/edda★ 36same name
- CoralGame/Claude-Code-Game-Studios★ 19same name
- dirien/yet-another-agent-harness★ 19same name
22 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository164 other files it gives its agents.
- instrument-data-to-allotropeSkill
- literature-reviewSkill
- nextflow-developmentSkill
- scientific-problem-selectionSkill
- scvi-toolsSkill
- single-cell-rna-qcSkill
- discover-brandSkill
- enforce-voiceSkill
- generate-guidelinesSkill
- csat-reportSkill
- customer-escalationSkill
- customer-researchSkill
- draft-responseSkill
- kb-articleSkill
- sentiment-analysisSkill
- ticket-triageSkill
- analyzeSkill
- build-dashboardSkill
- create-vizSkill
- data-context-extractorSkill
- data-modelingSkill
- data-pipelineSkill
- etl-designSkill
- explore-dataSkill
- sql-queriesSkill
- statistical-analysisSkill
- validate-dataSkill
- write-querySkill
- accessibility-reviewSkill
- component-librarySkill
- design-critiqueSkill
- design-handoffSkill
- design-systemSkill
- frontend-designSkill
- research-synthesisSkill
- user-researchSkill
- ux-copySkill
- wireframingSkill
- Agent DevelopmentSkill
- CLAUDE.md ManagementSkill
- MCP Server BuilderSkill
- Plugin DevelopmentSkill
- Prompt EngineeringSkill
- Skill CreatorSkill
- curriculum-designSkill
- lesson-planningSkill
- quiz-generatorSkill
- study-guideSkill
- tutoringSkill
- api-designSkill
- architectureSkill
- ci-cd-pipelineSkill
- code-reviewSkill
- database-migrationSkill
- debugSkill
- dependency-auditSkill
- deploy-checklistSkill
- documentationSkill
- error-handlingSkill
- git-workflowSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 29 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 131
Avoid for now (low impact, high effort) — revisit later.
- Distinctive: line 135
Create a phased plan that can be executed alongside feature work.
- Distinctive: line 223
Always tie debt to business impact.
“Common” is measured: kept by at least 6 in 10 of the 29 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Technical Debt Audit
Systematically identify, categorize, and prioritize technical debt. Produce an actionable refactoring roadmap with effort estimates and business impact.
Workflow
Step 1: Scan the Codebase
Analyze the project across multiple dimensions:
Dependency Health
# Check for outdated dependencies
npm outdated 2>/dev/null || pip list --outdated 2>/dev/null
# Check for known vulnerabilities
npm audit 2>/dev/null || pip-audit 2>/dev/null || safety check 2>/dev/null
# Check dependency count and tree depth
cat package.json | grep -c '"' 2>/dev/null
pip list --format=columns 2>/dev/null | wc -lCode Complexity
# Find large files (often a smell)
find . -name "*.ts" -o -name "*.js" -o -name "*.py" | xargs wc -l 2>/dev/null | sort -rn | head -20
# Find TODO/FIXME/HACK comments
grep -rn "TODO\|FIXME\|HACK\|XXX\|WORKAROUND" --include="*.ts" --include="*.js" --include="*.py" . | head -30
# Check for duplicate code patterns (rough heuristic)
grep -rn "function\|def \|class " --include="*.ts" --include="*.js" --include="*.py" . | wc -lTest Coverage
# Check for test files
find . -name "*test*" -o -name "*spec*" | grep -v node_modules | head -20
# Ratio of test files to source files
echo "Source files:" && find src -name "*.ts" -o -name "*.js" | wc -l
echo "Test files:" && find . -name "*.test.*" -o -name "*.spec.*" | grep -v node_modules | wc -lConfiguration and Build
# Check for lint config
ls .eslintrc* .prettierrc* .flake8 pyproject.toml tslint.json 2>/dev/null
# Check CI config
ls .github/workflows/* .gitlab-ci.yml Jenkinsfile .circleci/config.yml 2>/dev/null
# Check for Dockerfile optimization opportunities
cat Dockerfile 2>/dev/nullStep 2: Read and Analyze Key Files
Go beyond metrics. Read the actual code in high-traffic areas:
- Entry points (main files, route handlers, API controllers).
- Core business logic modules.
- Database access layer (ORM models, queries, migrations).
- Shared utilities and helper modules.
- Configuration and environment handling.
Look for:
- God classes/modules: Files doing too many things.
- Inconsistent patterns: Different approaches to the same problem in different places.
- Missing abstractions: Copy-pasted code that should be extracted.
- Leaky abstractions: Implementation details exposed across module boundaries.
- Dead code: Unused functions, unreachable branches, commented-out code.
- Hardcoded values: Magic numbers, hardcoded URLs, inline credentials.
- Missing error handling: Swallowed exceptions, unhandled promise rejections.
- Type safety gaps:
anytypes, missing null checks, implicit conversions.
Step 3: Categorize the Debt
Organize findings into categories:
| Category | Description | Risk Level |
| Security | Vulnerabilities, outdated deps with CVEs, auth gaps | Critical |
| Reliability | Missing error handling, no retries, silent failures | High |
| Scalability | N+1 queries, missing indexes, unbounded growth | High |
| Maintainability | Complex code, poor naming, missing docs, duplication | Medium |
| Testing | Low coverage, missing integration tests, flaky tests | Medium |
| Dependencies | Outdated packages, abandoned libraries, version conflicts | Medium |
| Build/CI | Slow builds, missing linting, no automated checks | Low |
| Style | Inconsistent formatting, mixed conventions | Low |
Step 4: Prioritize with Impact/Effort Matrix
Score each item on two axes:
- Impact (1-5): How much does fixing this improve reliability, velocity, or safety?
- Effort (1-5): How much time and risk is involved in fixing it?
Low Effort High Effort
High Impact | QUICK WINS | MAJOR PROJECTS |
Low Impact | FILL-INS | AVOID FOR NOW |Prioritize:
- Quick wins (high impact, low effort) — do these first.
- Major projects (high impact, high effort) — plan and schedule these.
- Fill-ins (low impact, low effort) — do during slack time.
- Avoid for now (low impact, high effort) — revisit later.
Step 5: Build the Roadmap
Create a phased plan that can be executed alongside feature work.
Output Format
# Technical Debt Audit: <Project Name>
**Date**: YYYY-MM-DD
**Scope**: <what was audited>
**Overall Health**: Good | Fair | Needs Attention | Critical
## Executive Summary
<2-3 sentences on the overall state and top priorities>
## Findings by Category
### Critical (fix immediately)
#### [TD-1] <Title>
**Category**: Security | Reliability
**Location**: <file(s) or area>
**Description**: <what the problem is>
**Impact**: <what could go wrong>
**Effort**: <estimated time>
**Recommendation**: <specific action>
### High Priority (plan for next quarter)
#### [TD-2] <Title>
...
### Medium Priority (schedule when possible)
#### [TD-3] <Title>
...
### Low Priority (opportunistic)
#### [TD-4] <Title>
...
## Metrics Summary
| Metric | Current | Target | Notes |
|-------------------------|---------|---------|--------------------------|
| Known vulnerabilities | 3 | 0 | 1 critical, 2 moderate |
| Outdated dependencies | 12 | < 5 | 3 major versions behind |
| Files > 500 lines | 8 | 0 | Largest: 1,200 lines |
| TODO/FIXME count | 47 | < 10 | 12 are > 6 months old |
| Test coverage | ~40% | > 70% | No integration tests |
## Refactoring Roadmap
### Phase 1: Quick Wins (1-2 weeks)
- [ ] Fix critical security vulnerabilities (TD-1)
- [ ] Remove dead code and unused dependencies (TD-8)
- [ ] Add missing error handling in payment flow (TD-3)
### Phase 2: Foundation (1-2 sprints)
- [ ] Extract shared utilities from duplicated code (TD-5)
- [ ] Add integration tests for core flows (TD-6)
- [ ] Update major dependency versions (TD-4)
### Phase 3: Architecture (1 quarter)
- [ ] Refactor god module into focused services (TD-2)
- [ ] Implement proper logging and observability (TD-7)
## Maintenance Recommendations
- <ongoing practice to prevent debt accumulation>
- <tooling or process change>Examples
User: "Audit the tech debt in this project" Action: Scan the codebase for dependency health, code complexity, test coverage, and patterns. Read key files. Produce a categorized, prioritized audit report with a phased roadmap.
User: "What should we refactor first?" Action: Identify the highest-impact, lowest-effort improvements. Focus on quick wins that unblock velocity or reduce risk.
User: "How's our code health?" Action: Produce a concise health assessment: dependency currency, test coverage, complexity hotspots, and a summary score.
Best Practices
- Tech debt is not inherently bad. It becomes a problem when it slows velocity or increases risk. Prioritize by impact, not by aesthetics.
- Always tie debt to business impact. "This module is messy" is not compelling. "This module causes 40% of our production incidents" is.
- Propose incremental improvements, not big-bang rewrites. Large rewrites fail more often than they succeed.
- Include debt reduction in regular sprint work (e.g., 20% of capacity). Debt-only sprints rarely get approved and signal a planning failure.
- Track debt over time. If the TODO count and vulnerability count grow every quarter, the process is not working.
- Distinguish between intentional debt (conscious trade-off for speed) and accidental debt (didn't know better). They require different responses.
- Quick wins build momentum and credibility. Start with those to demonstrate the value of debt reduction before proposing larger efforts.
- Automate detection where possible. Linting rules, dependency bots, and CI checks catch new debt before it accumulates.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

