swiftui-expert-skill

Review SwiftUI code for state management and performance best practices.

83|8|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/Eslzzyl/Pixiv-SwiftUI --skill swiftui-expert-skill-eslzzyl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-expert-skill
Source: https://github.com/Eslzzyl/Pixiv-SwiftUI/tree/main/.opencode/skills/swiftui-expert-skill
Command: npx skills add https://github.com/Eslzzyl/Pixiv-SwiftUI --skill swiftui-expert-skill-eslzzyl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers write, review, and improve SwiftUI code by providing best practices for state management, view composition, performance, and adopting modern platform-specific APIs like Liquid Glass.

Core Features & Use Cases

  • Code Writing: Implement new SwiftUI features following Apple's guidelines.
  • Code Review: Audit existing code for correctness, performance, and adherence to best practices.
  • Modernization: Adopt the latest SwiftUI patterns, APIs (like Liquid Glass on iOS 26+), and platform-specific features.
  • Use Case: A developer is building a complex list view and needs to ensure optimal performance and correct state management. They use this Skill to refactor their code, apply performance patterns, and ensure accessibility.

Quick Start

Review the provided SwiftUI code snippet for adherence to state management best practices.

Frequently Asked Questions about swiftui-expert-skill

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

FAQPage Schema
How do I review SwiftUI code for state management and performance best practices?

Reviewing SwiftUI code requires auditing state management and view composition to enforce best practices. This Skill evaluates your snippets for correctness, performance bottlenecks, and adherence to native API usage to ensure robust applications.

What is the best way to adopt modern SwiftUI patterns like Liquid Glass on iOS 26+?

Adopting modern SwiftUI patterns like Liquid Glass on iOS 26+ involves migrating existing views to native APIs. This Skill guides you through modernization to ensure your codebase utilizes platform-specific features correctly.

How do I optimize SwiftUI complex list views for performance and accessibility?

Optimizing complex SwiftUI list views requires applying specific performance patterns and ensuring correct state management. This Skill helps refactor your code to maintain smooth scrolling and robust accessibility compliance.

Can I use this to write and implement new SwiftUI features for macOS?

Yes, you can implement new SwiftUI features for macOS following Apple's guidelines. This Skill provides expert guidance on utilizing macOS-specific APIs and enforcing native best practices during development.

Why does my SwiftUI view composition cause performance issues?

SwiftUI view composition performance issues often stem from incorrect state management or non-native API usage. This Skill audits your code to identify structural flaws and recommends refactoring patterns for optimal performance.

When should I refactor existing SwiftUI code to improve state management?

You should refactor existing SwiftUI code when auditing reveals incorrect state management or poor performance. This Skill reviews your snippets to enforce best practices, ensuring your view composition and state logic remain robust.