Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

review-ios

БесплатноБез исполняемых скриптовНе проверен

Performs comprehensive iOS, iPadOS, watchOS, and SwiftUI code reviews across Swift concurrency, Apple frameworks, testing, and animations. Use when reviewing…

existential-birdsот existential-birds★ 92 звезды на GitHub

Об этом скилле

iOS Code Review

Arguments

  • --parallel: If the agent supports subagents, dispatch one specialized subagent per technology area
  • Path: Target directory (default: current working directory)

Hard gates

Complete in order before writing Issues in the output (empty scope is allowed; fabricated findings are not).

  1. Scope gate: You have an explicit list of .swift paths under review (from Step 1 or a user-provided path). Pass: List captured in working notes or one line: No Swift files in scope — then stop with no Issues.
  2. Linter gate (style): Step 2 commands ran for this tree; if no .swiftlint.yml / .swiftlint.yaml, note that in one line. Pass: You do not report a style issue that SwiftLint would already enforce for that line when config exists and swiftlint succeeds.
  3. Protocol gate: Apply the review-verification-protocol skill (review-verification-protocol when sibling skills are installed; otherwise apply the verification rules in this file) before Step 6. Pass: If you report any Issues, at least one finding was checked against that checklist (name the item in Review Summary or on that Issue); if you report zero Issues, state Protocol applied; no issues in Review Summary.
  4. Evidence gate (Critical/Major): For each Critical or Major item, you re-read the file at FILE:LINE (full surrounding context, not only the diff hunk). Pass: The Issue text matches observable code at that location.

Do not begin Step 6 until Gates 1–3 are satisfied (skills load order stays Steps 4–5).

Step 1: Identify Changed Files

git diff --name-only $(git merge-base HEAD main)..HEAD | grep -E '\.swift$'

Step 2: Verify Linter Status

CRITICAL: Run SwiftLint BEFORE flagging any style issues.

# Check if SwiftLint config exists and run it
if [ -f ".swiftlint.yml" ] || [ -f ".swiftlint.yaml" ]; then
    swiftlint lint --quiet <changed_files>
fi

Rules:

  • If SwiftLint passes for a specific rule, DO NOT flag that issue manually
  • SwiftLint configuration is authoritative for style rules
  • Only flag issues that linters cannot detect (semantic issues, architectural problems)

Step 3: Detect Technologies

# SwiftUI (always load when SwiftUI is imported)
grep -r "import SwiftUI" --include="*.swift" -l | head -3

# SwiftData
grep -r "import SwiftData\|@Model\|@Query" --include="*.swift" -l | head -3

# Swift Testing
grep -r "import Testing\|@Test\|#expect" --include="*.swift" -l | head -3

# CloudKit
grep -r "import CloudKit\|CKContainer\|CKRecord\|CKSyncEngine" --include="*.swift" -l | head -3

# WidgetKit
grep -r "import WidgetKit\|TimelineProvider\|WidgetFamily\|ControlWidget" --include="*.swift" -l | head -3

# App Intents
grep -r "import AppIntents\|AppIntent\|AppEntity\|AppShortcutsProvider" --include="*.swift" -l | head -3

# HealthKit
grep -r "import HealthKit\|HKHealthStore\|HKQuery\|HKSampleQueryDescriptor" --include="*.swift" -l | head -3

# watchOS / WatchKit / WatchConnectivity
grep -r "import WatchKit\|import WatchConnectivity\|WKApplicationDelegate\|WKExtendedRuntimeSession\|WCSession\|os(watchOS)\|WKExtension\|WKInterfaceController" --include="*.swift" -l | head -3

# Animations (beyond basic withAnimation)
grep -r "PhaseAnimator\|KeyframeAnimator\|matchedGeometryEffect\|navigationTransition\|scrollTransition\|CABasicAnimation\|CASpringAnimation\|CAKeyframeAnimation\|UIViewPropertyAnimator\|UIDynamicAnimator\|\.symbolEffect\|\.contentTransition\|CustomAnimation\|MeshGradient" --include="*.swift" -l | head -3

# URLSession / legacy Combine (checked inline using subsections below)
grep -r "URLSession\|URLRequest\|URLCache\|import Combine\|AnyCancellable\|\.sink(" --include="*.swift" -l | head -3

Step 4: Load Verification Protocol

Load the review-verification-protocol skill (../review-verification-protocol/SKILL.md if installed) and keep its checklist in mind throughout the review.

Step 5: Load Skills

Load each applicable sibling skill below (read its SKILL.md if installed; if running single-skill --skill review-ios, apply the domain checks directly).

Always load:

Conditionally load based on detection:

Condition Skill
SwiftData detected swiftdata-code-review (../swiftdata-code-review/SKILL.md)
Swift Testing detected swift-testing-code-review (../swift-testing-code-review/SKILL.md)
CloudKit detected cloudkit-code-review (../cloudkit-code-review/SKILL.md)
WidgetKit detected widgetkit-code-review ([../widgetkit-code-review/SKILL.md](../widgetkit-code-re
Полный SKILL.md на GitHub

Установить review-ios в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл review-ios?

Performs comprehensive iOS, iPadOS, watchOS, and SwiftUI code reviews across Swift concurrency, Apple frameworks, testing, and animations. Use when reviewing Swift or Xcode projects, iOS pull requests, or SwiftUI/UIKit changes.

Как установить скилл review-ios?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл review-ios запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить review-ios с