techdebt

Scan Git repositories for duplicated code, dead code, and stale comments.

2|1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/bongrealty/skillcraft --skill techdebt-bongrealty
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: techdebt
Source: https://github.com/bongrealty/skillcraft/tree/main/techdebt
Command: npx skills add https://github.com/bongrealty/skillcraft --skill techdebt-bongrealty

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps maintain code quality by automatically identifying and suggesting fixes for technical debt, such as duplicated code, dead code, and stale comments.

Core Features & Use Cases

  • Duplicated Code Detection: Finds copy-pasted logic that can be refactored into shared utilities.
  • Dead Code Identification: Locates unused functions, variables, and entire files.
  • Stale Comment Removal: Flags outdated TODOs and FIXMEs.
  • Use Case: Run this at the end of a coding session to clean up your codebase, prevent future issues, and ensure maintainability.

Quick Start

Run the techdebt skill to scan the current codebase for technical debt and suggest fixes.

Frequently Asked Questions about techdebt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify and remove technical debt like dead code and duplicated logic in my Git repository?

To identify technical debt in a Git repository, you can scan your codebase to detect dead code, duplicated logic, and stale comments using pattern matching tools. The process suggests targeted fixes and requires your confirmation before applying any changes to ensure code integrity.

What is the best way to find copy-pasted code and refactor it into shared utilities?

Finding copy-pasted code involves scanning the codebase to detect duplicated logic that can be refactored into shared utilities. This approach highlights redundant blocks and suggests consolidating them to reduce code bloat and improve overall maintainability.

Can I automatically clean up outdated TODOs and FIXME comments in my codebase?

Yes, you can clean up outdated TODOs and FIXMEs by scanning for stale comments within your repository. The tool flags these outdated annotations for review and removes them only after you explicitly confirm the proposed changes.

Does this technical debt scanning tool modify my codebase without supervision?

No, the technical debt scanning tool does not modify your codebase without supervision. It operates by identifying issues and offering user-confirmed fixes, ensuring you maintain control and verify all changes before they are applied to the repository.

When should I scan my codebase for unused functions and files to improve code quality?

You should scan your codebase for unused functions and files at the end of a coding session to clean up dead code. Running this process regularly helps prevent future maintenance issues and ensures long-term project maintainability.