CtrlK
BlogDocsLog inGet started
Tessl Logo

code-refactoring-tech-debt

You are a technical debt expert specializing in identifying, quantifying, and prioritizing technical debt in software projects. Analyze the codebase to uncover debt, assess its impact, and create acti

49

1.43x
Quality

30%

Does it follow best practices?

Impact

73%

1.43x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./skills/code-refactoring-tech-debt/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

27%Scale 1-3

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This skill reads more like a comprehensive technical debt textbook chapter than a concise, actionable skill file. It explains concepts Claude already knows (types of code smells, what test coverage is, basic refactoring patterns) and fills space with hypothetical placeholder examples. The content would benefit enormously from being reduced to a lean overview with references to detailed sub-files, and from focusing on what Claude specifically needs to know rather than general software engineering knowledge.

Suggestions

Cut the content by 70-80%: Remove explanations of well-known concepts (code smells, testing types, deployment issues) and keep only the specific workflow, thresholds, and output format that Claude needs.

Split into multiple files: Move the detailed debt inventory categories to DEBT_CATEGORIES.md, example calculations to IMPACT_TEMPLATES.md, and implementation patterns to REMEDIATION_PATTERNS.md, with clear one-level references from the main skill.

Add validation checkpoints: Include explicit verification steps such as 'Confirm debt inventory covers all 5 categories before proceeding to impact assessment' and 'Validate ROI calculations against actual team velocity data before presenting to stakeholders.'

Replace hypothetical examples with parameterized templates: Instead of fake $36,000 calculations, provide a formula template that Claude fills in with actual codebase data discovered during analysis.

DimensionReasoningScore

Conciseness

Extremely verbose at ~300+ lines. Most content is generic technical debt knowledge Claude already possesses (what cyclomatic complexity is, what code duplication means, what God classes are). The examples use hypothetical placeholder data ($36,000 cost calculations, React 16→18 upgrades) that aren't actionable for any specific codebase. Nearly every section could be cut by 80%.

1 / 3

Actionability

Contains some concrete code examples (PaymentFacade pattern, YAML configs) and specific thresholds (complexity >10, coverage targets), but most content is template/placeholder data rather than executable guidance. The examples are illustrative rather than copy-paste ready for actual analysis—they show what output should look like rather than how to produce it.

2 / 3

Workflow Clarity

The 8 numbered sections provide a clear sequence from inventory through remediation to prevention. However, there are no validation checkpoints or feedback loops—no guidance on verifying that the debt inventory is complete, that impact calculations are accurate, or that remediation actually reduced debt scores. For a process involving potentially destructive refactoring, this is a significant gap.

2 / 3

Progressive Disclosure

Monolithic wall of text with no references to external files. All content is inline despite being far too long for a SKILL.md overview. Categories like the detailed debt inventory, example calculations, implementation strategies, and communication templates should each be in separate referenced files.

1 / 3

Total

6

/

12

Passed

Description

32%Scale 1-3

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is truncated, which severely undermines its effectiveness. While it identifies the domain of technical debt analysis and lists some relevant actions, it lacks a 'Use when...' clause, uses second-person framing ('You are'), and doesn't provide enough natural trigger terms for reliable skill selection. The truncation also means the full scope of capabilities is unknown.

Suggestions

Complete the truncated description and add an explicit 'Use when...' clause with trigger phrases like 'Use when the user asks about technical debt, code quality issues, refactoring priorities, legacy code, or code smells.'

Rewrite in third person voice (e.g., 'Identifies, quantifies, and prioritizes technical debt...') instead of the current second person 'You are...' framing.

Add more natural trigger terms users would say, such as 'refactoring', 'code smell', 'legacy code', 'maintainability', 'code quality', and 'cleanup'.

DimensionReasoningScore

Specificity

Names the domain (technical debt) and some actions (identifying, quantifying, prioritizing, analyzing, assessing impact), but the description appears truncated and uses somewhat vague language like 'create acti...' (cut off). It lists actions but they remain at a moderate level of specificity.

2 / 3

Completeness

The description addresses 'what' (analyze codebase for technical debt) but has no explicit 'Use when...' clause or equivalent trigger guidance. Additionally, the description is truncated, further reducing completeness. Per rubric guidelines, missing 'Use when' caps completeness at 2, and the truncation pushes it to 1.

1 / 3

Trigger Term Quality

Includes relevant terms like 'technical debt', 'codebase', 'prioritizing', but misses common user variations such as 'code quality', 'refactoring', 'legacy code', 'code smell', or 'maintainability'. Coverage of natural trigger terms is incomplete.

2 / 3

Distinctiveness Conflict Risk

The focus on 'technical debt' is somewhat distinctive, but terms like 'analyze the codebase' and 'assess its impact' could overlap with general code review or code quality analysis skills. It's more specific than generic but not clearly carved into a unique niche.

2 / 3

Total

7

/

12

Passed

Validation

90%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.