swift-cognitive-complexity
swift-cognitive-complexity is a Refactoring & code quality skill for AI agents, published by levabond in the iOS-clean-code-skills repository on GitHub. Skillspace rates swift-cognitive-complexity D (68/100) and it passed the safety scan; the rating is based on static analysis only.
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.
- Grade
- D
- Quality
- 68 / 100
- Safety
- Passed
- GitHub stars
- 25
Unproven: rated by static analysis only, not yet compared head-to-head.
This rating describes the version of the repository we crawled; it may have changed since, so go by its current files.
Our review
- Architecture
- 100 / 100
- Maturity
- Basic: a single SKILL.md
- Security scan
- No issues found
- License
- Not declared. Check the repository before reusing it.
- Adoption
- Adopted by 0 other repositories, in 0 collections
Not checked yet
- Not judged on the rubric yet (not a contender in its category)
- No blind task eval yet
- Scope (portable / vendor / repo-internal) not assessed; only the top of each category is read for scope
- Sibling files (scripts, references) not fetched; security scan covers SKILL.md only
Skillspace indexes and rates this skill; it does not host or endorse it. Run third-party skills at your own risk.