一键导入
code-hygiene-skills
code-hygiene-skills 收录了来自 niuma996 的 3 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。
这个仓库中的 skills
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.