swift-code-review
CommunityEnhance Swift code quality and safety.
Authorjavierhbr
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers identify and fix common mistakes, concurrency issues, and potential bugs in Swift code, leading to more robust and maintainable applications.
Core Features & Use Cases
- Concurrency Safety: Reviews code for correct use of async/await, actors, and Sendable conformance.
- Error Handling: Checks for proper error propagation, logging, and use of
LocalizedError. - Memory Management: Identifies potential retain cycles and incorrect delegate patterns.
- Common Mistakes: Flags force unwraps, unnecessary optionals, and unchecked collection access.
- Use Case: Before merging a new feature, run this Skill to ensure all new Swift code adheres to best practices for concurrency and error handling, preventing runtime crashes and improving code quality.
Quick Start
Use the swift-code-review skill to analyze the provided Swift file for potential issues.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: swift-code-review Download link: https://github.com/javierhbr/random-poc/archive/main.zip#swift-code-review Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.