一键导入
iOS-clean-code-skills
iOS-clean-code-skills 收录了来自 levabond 的 8 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。
这个仓库中的 skills
Model-invoked skill that automatically guides Clean Code principles when writing or reviewing Swift code. Activates when creating new Swift files, implementing Swift functions or types, or when the user mentions clean code, SOLID, refactoring, or code quality in a Swift context.
Review Swift error handling based on Clean Code principles. Use when the user asks to check error handling, review optionals usage, improve throws/Result/async patterns, or audit nil handling in Swift code.
Review and refactor Swift functions based on Clean Code principles. Use when the user asks to check function design, split large functions, reduce function arguments, review closures, or improve function structure in Swift code.
Review and fix Swift naming conventions based on Clean Code principles. Use when the user asks to check names, review identifiers, rename variables/functions/types, or improve readability of Swift code.
Full Clean Code audit of Swift code covering all principles. Use when the user asks for a complete clean code review, full audit, or comprehensive refactoring of a Swift file or module.
Review Swift unit tests based on Clean Code principles. Use when the user asks to check test quality, apply FIRST principles, review XCTest/Swift Testing structure, improve test naming, or audit test coverage strategy in Swift.
Review Swift classes, structs, enums, and protocols based on Clean Code principles. Use when the user asks to check class design, apply SRP, review protocol conformances, refactor types, or improve Swift architecture.
Measure and reduce Cognitive Complexity in Swift code based on "Cognitive Complexity — A new way of measuring understandability" by G. Ann Campbell (SonarSource). Use when the user asks to check cognitive complexity, reduce nesting, simplify control flow, untangle complex conditions, or make Swift functions easier to understand.