Skip to main content
在 Manus 中运行任何 Skill
一键导入

reduce-complexity

星标1
分支0
更新时间2026年4月16日 22:13

Analyze code for complexity hotspots and suggest simplifications. Identifies functions exceeding evidence-based LOC and nesting thresholds, classifies complexity as essential (domain-inherent, leave alone) or accidental (reducible), and produces actionable reduction suggestions with safety annotations. Use PROACTIVELY when: reviewing files or modules for maintainability, before refactoring to find highest-ROI targets, triaging tech debt, when the user says "simplify", "reduce complexity", "find complex functions", "what should I refactor", "maintainability review", "this file is too complex", "hard to understand", or asks about code quality or readability of specific files. Also use when examining large functions (>100 lines) during code review. Works on any language with emphasis on Rust-specific patterns. Does NOT perform automated refactoring -- it detects, explains, and suggests.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
2 个文件
SKILL.md
readonly