axiom-analyze-swiftui-performance

Analyze SwiftUI view hierarchies to detect performance bottlenecks and anti-patterns.

34|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/DengNaichen/Stet --skill axiom-analyze-swiftui-performance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-analyze-swiftui-performance
Source: https://github.com/DengNaichen/Stet/tree/main/.agents/skills/axiom-analyze-swiftui-performance
Command: npx skills add https://github.com/DengNaichen/Stet --skill axiom-analyze-swiftui-performance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill identifies and resolves performance issues in SwiftUI applications, such as janky scrolling, slow animations, and excessive view updates, which are often caused by common anti-patterns.

Core Features & Use Cases

  • Automated Anti-Pattern Detection: Scans your codebase for expensive operations in view bodies, missing lazy loading, and inefficient collection dependencies.
  • Context-Aware Analysis: Evaluates performance based on where code runs, distinguishing between static settings screens and high-frequency scrolling contexts.
  • Performance Health Scoring: Provides a clear metric of your app's responsiveness and identifies specific hotspots that require immediate optimization.

Quick Start

Run the axiom-analyze-swiftui-performance skill to audit the current project for SwiftUI performance issues and generate a health report.

Frequently Asked Questions about axiom-analyze-swiftui-performance

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

FAQPage Schema
How do I fix janky scrolling in my SwiftUI application?

Analyze SwiftUI rendering contexts to detect main-thread blocking I/O and expensive formatters causing janky scrolling. The analysis targets scrolling containers to ensure smooth frame rates and provides actionable refactoring recommendations.

What causes excessive view updates in SwiftUI and how can I resolve them?

Excessive view updates are caused by inefficient collection dependencies and missing lazy loading. Scanning codebases for these common anti-patterns validates code against known issues and generates a performance health report to resolve them.

Can I evaluate SwiftUI performance differently for static screens versus high-frequency scrolling contexts?

Yes, context-aware analysis evaluates performance based on where code runs, distinguishing between static settings screens and high-frequency scrolling contexts. This validates rendering logic against specific contextual demands to ensure responsive UI interactions.

How do I detect SwiftUI anti-patterns in complex view trees?

Detect anti-patterns in complex view trees by analyzing SwiftUI view hierarchies for expensive operations in view bodies. The analysis identifies specific hotspots requiring immediate optimization and scores overall performance health.

What is the best way to audit an iOS project for SwiftUI rendering bottlenecks?

The best way to audit for SwiftUI rendering bottlenecks is to scan the codebase for expensive operations and missing lazy loading. A generated health report provides a clear metric of app responsiveness and identifies hotspots.