ln-512-tech-debt-cleaner

仓库创建 2025年10月24日最近提交 3 天前SkillHot 收录 21 天前
▸ 精选理由

适合大规模安全清理,节省人工审查成本。

▸ 风险提示

会自动修改代码,建议在分支/CI 中运行并审阅变更。

这个 Skill 做什么

自动识别并安全修复低风险技术债务,如未使用导入与死代码。

自动把低风险的技术债务清理掉,比如未使用的 import、明显的死代码或被注释掉的废代码,只有在置信度高时才做修改。适合在代码审计后或 CI 流程里做安全的批量清理,减少人工去处理重复小改动。特点是严格筛选可自动修复项,保留有争议的改动给人工复核,风险可控。

▸ 展开 SKILL.md 英文原文

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

开发编程技术债务代码清理安全修复通用
522
Stars
74
Forks
18
仓库内 Skill
+10
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/plugins/agile-workflow/skills/ln-512-tech-debt-cleaner/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/plugins/agile-workflow/skills/ln-512-tech-debt-cleaner/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
> **Paths:** File paths (`references/`, `../ln-*`) are relative to this skill directory.

# 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 unsupported aliases
- **Never touch** business logic, complex refactoring, or architectural changes
- **Create** single commit with structured summary of all changes
- Invocable from ln
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有