with one click
code-hygiene-skills
code-hygiene-skills contains 3 collected skills from niuma996, with repository-level occupation coverage and site-owned skill detail pages.
Skills in this repository
Use when the user asks to clean up stale, outdated, low-value, or migration-era comments OR expired/deprecated/over-coupled test cases in a codebase. Triggers on phrases like "stale comments", "comment cleanup", "remove migration notes", "test cleanup", "delete test cases", "evaluate tests", "remove dead tests". Skip for adding new doc comments, improving test coverage, or auditing a single file manually.
Use when the user asks to audit, normalize, or consolidate import statements in a codebase. Triggers on phrases like "consolidate imports", "normalize imports", "check import style", "fix import paths", "unify alias usage", "audit imports". Produces a file-by-file report with diffs; does NOT auto-rewrite, because the target style is project-specific. Skip for: type re-exports, generated files, vendor code, or changing import behavior (this skill is style-only).
Use when the user asks to find duplicate or near-duplicate code in a codebase. Triggers on phrases like "find duplication", "deduplicate code", "merge similar code", "DRY violations", "repeated code", "clone code". Produces a cluster inventory of copy-paste families with merge strategies. Skip for: third-party/vendor code, generated files, or refactoring a single function.