swiftui-review

Identify performance, accessibility, and architectural issues in SwiftUI views.

Updated Dec 22, 2025
One-click install
npx skills add https://github.com/miyakawa2449/KiroBookmark --skill swiftui-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-review
Source: https://github.com/miyakawa2449/KiroBookmark/tree/main/.claude/skills/swiftui-review
Command: npx skills add https://github.com/miyakawa2449/KiroBookmark --skill swiftui-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SwiftUI codebases often struggle with performance, accessibility, and architectural clarity. This skill provides structured code reviews based on best practices to help teams ship more reliable SwiftUI views.

Core Features & Use Cases

  • Performance checks: identify unnecessary state, excessive re-renders, and expensive layout passes.
  • Accessibility checks: verify labels, hints, and Dynamic Type support.
  • Architecture checks: ensure MVVM separation and modular, maintainable view structure.
  • Use Case: Imagine you have a complex SwiftUI screen; use this skill to get actionable feedback to improve performance and accessibility.

Quick Start

Review a SwiftUI View by asking the AI to assess performance, accessibility, and architecture and propose concrete refactors.

Frequently Asked Questions about swiftui-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review SwiftUI code for performance and architecture issues?

Review SwiftUI code for performance and architecture by analyzing View lifecycle, layout passes, and MVVM separation to identify unnecessary state and code smells. This process evaluates view files to detect excessive re-renders and propose concrete refactors.

What causes excessive re-renders in SwiftUI views?

Excessive re-renders in SwiftUI views are caused by unnecessary state and expensive layout passes. A targeted code review identifies these performance bottlenecks by analyzing the View lifecycle and recommends concrete refactors to optimize state management.

How do I check accessibility labels in SwiftUI?

Check accessibility in SwiftUI by verifying labels, hints, and Dynamic Type support within view files. A structured review evaluates these elements to ensure dynamic content adapts correctly and provides actionable recommendations for compliance.

Can I use this to enforce MVVM separation in SwiftUI projects?

Yes, you can enforce MVVM separation in SwiftUI projects by applying a structured review to view files. The review identifies architectural issues where view and logic layers mix, proposing modular refactors to maintain a clear separation of concerns.

What is the best way to refactor a complex SwiftUI screen?

The best way to refactor a complex SwiftUI screen is to assess performance, accessibility, and architecture comprehensively. Apply a structured code review to detect code smells, verify MVVM structure, and generate concrete improvement recommendations.

When should I run a SwiftUI code review?

Run a SwiftUI code review when complex screens experience performance drops or lack accessibility support. Apply the review to view files to identify architectural issues, unnecessary state, and missing labels before proposing actionable refactors.