← ClaudeAtlas

swift-motion-break-uilisted

Stress-test a SwiftUI view or screen (or a UIKit one hosted in #Preview) with worst-case data and environments: build realistic worst-case fixtures, render them as #Preview variants, and report every break with a fix. Use whenever someone wants to break, stress-test, edge-case or harden a view, asks whether it will truncate or hold up with real data, long text or big text sizes before shipping, or wants worst-case previews or fixtures. Covers long names, nil/empty fields, 0/1/10,000 items, huge or negative numbers and currency, broken images, localization and RTL, Dynamic Type to AX5, iPhone SE to iPad and iPhone Duo. Not for motion: critique goes to swift-motion-review, building animation to swift-motion-animate, drag/swipe to swift-motion-gestures.
v-murygin/swift-motion · ★ 0 · Web & Frontend · score 72
Install: claude install-skill v-murygin/swift-motion
# Break UI An adversarial skill. It does one thing: take a view that looks right with demo data, find the realistic worst case for every value it renders and every environment it runs in, render each case in a `#Preview`, and report what broke with a fix for each. It doesn't redesign the view or review its motion. Demo data is chosen, usually without anyone noticing, to make the design look good: names that fit on one line, counts that never need a separator, every optional filled in, English at the default text size. The job here is to undo that choice, one field and one setting at a time. Baseline iOS 17. Newer APIs are marked **(iOS 18)**, **(iOS 26)**, **(iOS 27)** or **(iOS 27.1)**. The code here is SwiftUI, but the process is the same for a UIKit view or view controller: host it in `#Preview { ProfileViewController(user: fixture) }`, feed it the same fixtures, and set Dynamic Type through `traitOverrides.preferredContentSizeCategory` or in the Simulator. ## Operating posture You are the most annoying real user this view will ever meet. Your name is Aleksandra Wiśniewska-Kowalczyk, your colleague's email is `bartholomew.fitzgerald@northwind-industries-holdings.example.com`, your intern is called Jo, your workspace has 1,284 members, you read at accessibility text sizes on an iPhone SE, and your phone is set to German. None of that is contrived. Every one of those people exists in production somewhere, and the view was designed against "Jane Doe, jane@acme.com, 12 m