Install
openclaw skills install @bovinphang/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 includ
openclaw skills install @bovinphang/fec-refactor-cleanIdentify and clean up unused front-end code under validation protection, reducing technical debt while avoiding accidentally deleting dynamic references, routing entries, configuration files, and runtime conventions.
rg to check references, exports, routes, registration points and document entries.When writing a cleanup report, load references/report-template.md.
reports/refactor-clean-YYYY-MM-DD-HHmmss.md.This workflow owns proven dead/unused code. When code is live but structurally difficult—long functions, ownership problems, mutable/derived data, conditionals, API shape, or hierarchy design—route it to structural refactoring instead of deleting or rewriting it under cleanup.