swift-review
Installation
SKILL.md
Swift Code Review
Review Swift code against industry best practices drawn from Google's Swift Style Guide, Apple's API Design Guidelines, Apple's performance and memory documentation, and real-world patterns from Apple's open-source projects.
Determine Review Scope
Figure out what to review based on the user's request:
| Request | How to get the code |
|---|---|
| "Review this PR" / PR URL | gh pr diff <number> or read the diff |
| "Review my changes" | git diff (unstaged) and git diff --cached (staged) |
| "Review this file" / path | Read the file(s) directly |
| "Review the codebase" | Glob for **/*.swift files, prioritize by size/complexity |
| Xcode project review | Also check *.xcodeproj, Package.swift, build settings |