From b48f498c23ae8b5ba8a0ea37032a4d7797987fc8 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Tue, 30 Dec 2025 17:22:15 +0100 Subject: [PATCH] Add SwiftUI performance audit section to README Introduces a new section describing the SwiftUI Performance Audit feature, outlining its purpose, key features, and usage scenarios to help users diagnose and improve SwiftUI runtime performance. --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 388d08d..de8cee0 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,22 @@ Applies standardized ordering, Model-View (MV) patterns, and correct Observation --- +### 🚀 SwiftUI Performance Audit + +**Purpose**: Audit and improve SwiftUI runtime performance from code review and architecture. + +Focuses on identifying common SwiftUI performance pitfalls in view code and data flow, recommending targeted refactors, and guiding user-run Instruments profiling when code review is not enough. + +**Key Features**: +- Code-first review for slow rendering, janky scrolling, and excessive updates +- Targets common SwiftUI pitfalls (unstable identity, heavy `body`, layout thrash) +- Provides remediation guidance and refactor suggestions +- Offers a user-run Instruments workflow when needed + +**Use When**: You need to diagnose SwiftUI performance issues, improve view/update efficiency, or get guidance on profiling with Instruments. + +--- + ## Usage Each skill is self-contained with its own documentation. Refer to the `SKILL.md` file in each skill's directory for detailed workflows, guidelines, and examples.