ln-512-tech-debt-cleaner

Featured

Auto-fixes low-risk tech debt (unused imports, dead code, commented-out code) with >=90% confidence. Use when audit findings need safe automated cleanup.

AI & Automation 372 stars 55 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
86
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

> **Paths:** File paths (`shared/`, `references/`, `../ln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. If `shared/` is missing, fetch files via WebFetch from `https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}`. # Tech Debt Cleaner (L3 Worker) **Type:** L3 Worker Automated cleanup of safe, low-risk tech debt findings from codebase audits. ## Purpose & Scope - **Consume** audit findings from `docs/project/codebase_audit.md` (ln-620 output) or ln-511 code quality output - **Filter** to auto-fixable findings with confidence >=90% - **Apply** safe fixes: remove unused imports, delete dead code, clean commented-out blocks, remove deprecated aliases - **Never touch** business logic, complex refactoring, or architectural changes - **Create** single commit with structured summary of all changes - Invocable from ln-510 quality coordinator pipeline or standalone ## Auto-Fixable Categories | Category | Source Prefix | Risk | Auto-Fix Action | |----------|--------------|------|-----------------| | Unused imports | MNT-DC- | LOW | Delete import line | | Unused variables | MNT-DC- | LOW | Delete declaration | | Unused functions (unexported) | MNT-DC- | LOW | Delete function block | | Commented-out code (>5 lines) | MNT-DC- | LOW | Delete comment block | | Backward-compat shims (>6 months) | MNT-DC- | MEDIUM | Delete shim + update re-exports | | Deprecated aliases | M...

Details

Author
levnikolaevich
Repository
levnikolaevich/claude-code-skills
Created
7 months ago
Last Updated
1 months ago
Language
JavaScript
License
MIT

Integrates with

Related Skills