matiastripode

ios-code-reviewer

0
0
# Install this skill:
npx skills add matiastripode/ios-agent-skills --skill "ios-code-reviewer"

Install specific skill from multi-skill repository

# Description

Reviews iOS/Swift code for quality, memory management, performance, accessibility, and App Store readiness

# SKILL.md


name: ios-code-reviewer
description: Reviews iOS/Swift code for quality, memory management, performance, accessibility, and App Store readiness


iOS Code Reviewer

An agent skill for reviewing iOS/Swift code for quality, correctness, and App Store readiness.

When to Activate

  • User asks to review iOS/Swift code
  • User asks to check code before a PR or submission
  • User runs /ios-review
  • Files being reviewed are .swift, .xib, .storyboard, Info.plist, or Xcode project files

Decision Tree

Is the code Swift?
β”œβ”€β”€ YES
β”‚   β”œβ”€β”€ Does it involve UI? β†’ Check references/performance-checklist.md (main thread, cell reuse)
β”‚   β”‚                        β†’ Check references/accessibility.md (VoiceOver, Dynamic Type)
β”‚   β”œβ”€β”€ Does it use closures, delegates, or timers? β†’ Check references/memory-management.md
β”‚   β”œβ”€β”€ Is it a public API or protocol? β†’ Check references/api-design.md
β”‚   β”œβ”€β”€ Is it preparing for App Store submission? β†’ Check references/app-store-rejection.md
β”‚   └── General review β†’ Check all references as applicable
β”œβ”€β”€ NO (Info.plist, project files, storyboards)
β”‚   └── Check references/app-store-rejection.md for missing keys/configurations

Review Output Format

For each finding, report:

### [Severity] Category: Brief Description
- **File:** path/to/file.swift:line
- **Issue:** What is wrong
- **Fix:** How to fix it
- **Reference:** Which reference doc covers this

Severity levels: CRITICAL, WARNING, SUGGESTION

Reference Documents

  • references/memory-management.md - Retain cycles, ARC, delegate patterns
  • references/api-design.md - Swift naming, protocols, error handling
  • references/performance-checklist.md - Main thread, cell reuse, image caching
  • references/app-store-rejection.md - Common rejection reasons and fixes
  • references/accessibility.md - VoiceOver, Dynamic Type, tap targets

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.