ios-clean-code-skills
Clean Code skills for Swift / iOS projects based on Robert Martin's Clean Code and G. Ann Campbell's Cognitive Complexity. Bundles 8 skills: names, functions, types, errors, tests, review, cognitive-complexity, and an automatic advisor.
Not in a marketplace yet, so it loads for one session with --plugin-dir.
Plugin ios-clean-code-skills in levabond/iOS-clean-code-skills. Commands read from the repo's manifest — 1 month ago.
What it installs
Skills (8)
swift-clean-advisorModel-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.
swift-clean-errorsReview 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.
swift-clean-functionsReview 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.
swift-clean-namesReview 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.
swift-clean-reviewFull 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.
swift-clean-testsReview 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.
swift-clean-typesReview 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.
swift-cognitive-complexityMeasure 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 f
Maintain ios-clean-code-skills?
This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.