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

34

Quality

30%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/antigravity-awesome-skills/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 is a comprehensive but overly verbose consulting-style template for technical debt analysis. It reads more like a generic playbook than a targeted skill for Claude, explaining many concepts Claude already understands and using placeholder data rather than actionable tool commands. The monolithic structure with no supporting files and lack of validation checkpoints significantly reduce its effectiveness.

Suggestions

Reduce content by 60-70%: Remove explanations of well-known concepts (cyclomatic complexity, God classes, code duplication) and focus only on the specific workflow steps and decision criteria Claude needs.

Add concrete tool commands: Include actual CLI commands for analysis tools (e.g., `radon cc -a -nc src/`, `pylint --disable=all --enable=R src/`, `npx depcheck`) instead of generic descriptions.

Split into multiple files: Move the templates (stakeholder report, refactoring guide, metrics dashboard) into separate referenced files, keeping SKILL.md as a concise overview with navigation.

Add validation checkpoints: Include explicit verification steps like 'run test suite after each refactoring step' and 'compare metrics before/after to confirm improvement before proceeding.'

DimensionReasoningScore

Conciseness

Extremely verbose at ~300+ lines. Most content is generic consulting-style templates (cost calculations with made-up numbers, team allocation YAML, stakeholder reports) that Claude already knows how to produce. The skill explains basic concepts like what cyclomatic complexity is, what code duplication means, and what God classes are—all things Claude knows well. Very little here is novel or project-specific.

1 / 3

Actionability

Contains some concrete examples (Python facade pattern, YAML quality gates) but most guidance is template-based with placeholder numbers rather than executable against a real codebase. The code examples are illustrative rather than copy-paste ready—there are no actual commands to run analysis tools (e.g., sonarqube CLI, pylint, radon) or scripts to execute. The $ARGUMENTS placeholder is undefined.

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 steps like 'verify the refactoring didn't break tests before proceeding' or 'validate metrics improved after quick wins before moving to medium-term work.' For a skill involving potentially destructive refactoring operations, this is a significant gap.

2 / 3

Progressive Disclosure

Monolithic wall of text with no references to external files and no bundle files. All content—inventory checklists, impact templates, implementation strategies, communication plans—is inlined in a single massive document. Much of this (e.g., stakeholder report templates, developer documentation templates) should 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. Even the visible portion uses second person voice ('You are'), lacks a 'Use when...' clause, and while it identifies the technical debt domain, it doesn't provide sufficiently concrete actions or comprehensive trigger terms to reliably distinguish it from related code quality skills.

Suggestions

Fix the truncation and complete the description with full action items and a clear 'Use when...' clause listing triggers like 'technical debt', 'code quality audit', 'refactoring priorities', 'legacy code assessment'.

Switch from second person ('You are a technical debt expert') to third person voice ('Identifies, quantifies, and prioritizes technical debt in software projects').

Add specific concrete deliverables such as 'generates debt inventory reports, estimates remediation effort, produces prioritized refactoring plans' to increase specificity.

DimensionReasoningScore

Specificity

The description names the domain (technical debt) and some actions (identifying, quantifying, prioritizing, analyzing, assessing impact), but these are somewhat generic and not as concrete as listing specific deliverables or techniques. Also uses second person framing ('You are') which is problematic.

2 / 3

Completeness

The description appears truncated (cuts off at 'create acti'), and even before truncation there is no explicit 'Use when...' clause or equivalent trigger guidance. The 'when' is entirely missing, which per the rubric should cap completeness at 2, but the truncation makes it even worse.

1 / 3

Trigger Term Quality

Includes relevant terms like 'technical debt', 'codebase', 'prioritizing', but misses common user variations like 'code quality', 'refactoring', 'legacy code', 'code smell', 'maintainability'. The terms present are reasonable but not comprehensive.

2 / 3

Distinctiveness Conflict Risk

The focus on 'technical debt' is somewhat distinctive, but terms like 'analyze the codebase' and 'assess impact' are generic enough to overlap with code review, code quality, or refactoring skills.

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.

Validation — 10 / 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
popey/claude-code-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.