Install
openclaw skills install fec-refactor-cleanUse when safely removing dead frontend code, unused exports, stale components, obsolete routes, unused dependencies, or cleanup targets found by tools such as knip, depcheck, ts-prune, TypeScript, ESLint, or manual review. Do not use for feature rewrites that change behavior; Chinese triggers include 死代码, 清理未使用, refactor clean, 依赖清理, 删除无用代码.
openclaw skills install fec-refactor-clean在验证保护下识别并清理无用前端代码,减少技术债,同时避免误删动态引用、路由入口、配置文件和运行时约定。
rg 检查引用、导出、路由、注册点和文档入口。撰写清理报告时,加载 references/report-template.md。
reports/refactor-clean-YYYY-MM-DD-HHmmss.md。