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

swift-code-cleanup

星标1
分支0
更新时间2026年6月11日 18:06

Measure and reduce technical debt in Swift / iOS code — Cognitive Complexity scoring, Clean Code audits (names, functions, types, error handling, tests), and concrete extract-refactor fixes for the Swift 6 / iOS 26 era. Use when the user asks to "clean up Swift code", "reduce cognitive complexity", "lower nesting", "untangle this function", "audit clean code", "refactor this ViewModel", "review naming / function design / error handling / tests", "split a massive view controller", "run a clean code review", or "find code smells" in a Swift codebase.

安装

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

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