Use when handling local, private, customer, production, or real-world data that may be uploaded, shared, pasted into an external service, used with remote tools, or included in prompts, logs, screenshots, files, examples, or analysis artifacts.
Restructure module boundaries, dependency directions, and responsibility assignments to improve system organization. Use this skill when splitting monoliths, extracting modules, reorganizing layers, inverting dependencies, separating concerns, or says things like '重新划分模块', '拆分这个大模块', '调整分层架构', '解耦这些模块', 'split this…
Perform clean refactoring on any codebase — remove dead code, simplify logic, improve naming, extract abstractions, and reduce complexity without changing behavior. Use this skill when the user asks to clean up code, refactor for readability, reduce complexity, remove unused code, simplify conditionals, flatten…
Migrate dependencies, frameworks, or runtime versions with minimal breakage. Use this skill when upgrading libraries, switching frameworks, replacing deprecated APIs, bumping language/runtime versions, or says things like '升级依赖', '迁移到新版本', '替换废弃 API', 'upgrade to v4', 'migrate from X to Y', 'replace deprecated calls'…
Modernize code by replacing legacy patterns with current language features and idiomatic conventions. Use this skill when rewriting old-style code to use modern syntax, adopting new language features, replacing callbacks with async/await, using pattern matching instead of switch, applying modern iteration, or says…