Toolverse
All skills

axiom-swiftui-layout-ref

by CharlesWiltgen

Reference — Complete SwiftUI adaptive layout API guide covering ViewThatFits, AnyLayout, Layout protocol, onGeometryChange, GeometryReader, size classes, and iOS 26 window APIs

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Mobile

About this skill

Reference — Complete SwiftUI adaptive layout API guide covering ViewThatFits, AnyLayout, Layout protocol, onGeometryChange, GeometryReader, size classes, and iOS 26 window APIs

How to use

  1. Zainstaluj skill axiom-swiftui-layout-ref w swoim projekcie Claude/Codex. Skill działa jako referencja offline do wszystkich API layoutów SwiftUI dostępnych od iOS 16 wzwyż.

  2. Gdy pracujesz nad adaptacyjnym interfejsem, poproś AI o konkretny API — na przykład "Jak użyć ViewThatFits do wyświetlenia HStack na szerokim ekranie i VStack na wąskim?". Skill dostarczy przykład kodu z wyjaśnieniem działania.

  3. Dla prostych wariantów layoutu użyj ViewThatFits — skill pokazuje, jak ocenia widoki w kolejności i zwraca pierwszy, który się zmieści. Pamiętaj, że nie ujawnia wybranego wariantu ani nie animuje przejść między nimi.

  4. Jeśli potrzebujesz animowanego przełączania między layoutami, skonsultuj się z dokumentacją AnyLayout w skilu — to typ-erased wrapper pozwalający na płynne animacje między różnymi strukturami.

  5. Do bardziej zaawansowanych przypadków zapoznaj się z Layout protocol (iOS 16+) do tworzenia niestandardowych algorytmów layoutu lub onGeometryChange do efektywnego odczytu wymiarów bez blokowania fazy layoutu.

  6. Skill zawiera również informacje o Safe Area Padding, klasach rozmiaru do adaptacji opartej na cechach urządzenia oraz iOS 26 Window APIs do okien wolnokształtnych i menu bar — wybierz odpowiedni API w zależności od wymagań projektu.

Related skills

ios-simulator-skill

by conorluddy

21 production-ready scripts for iOS app testing, building, and automation. Provides semantic UI navigation, build automation, accessibility testing, and simulator lifecycle management. Optimized for AI agents with minimal token output.

Mobile
19154

flutter-expert

by sickn33

Master Flutter development with Dart 3, advanced widgets, and multi-platform deployment. Handles state management, animations, testing, and performance optimization for mobile, web, desktop, and embedded platforms. Use PROACTIVELY for Flutter architecture, UI implementation, or

Mobile
54112

garmin-connect

by openclaw

Syncs daily health and fitness data from Garmin Connect into markdown files. Provides sleep, activity, heart rate, stress, body battery, HRV, SpO2, and weight data.

Mobile
37119

sequential-thinking

by mrgoonie

Use when complex problems require systematic step-by-step reasoning with ability to revise thoughts, branch into alternative approaches, or dynamically adjust scope. Ideal for multi-stage analysis, design planning, problem decomposition, or tasks with initially unclear scope.

Mobile
60238

liquid-glass-developer

by anyproto

Context-aware routing to iOS 26 Liquid Glass implementation patterns. Use when working with glass effects, GlassEffectContainer, morphing transitions, or iOS 26 visual effects.

Mobile
2061

senior-architect

by alirezarezvani

Comprehensive software architecture skill for designing scalable, maintainable systems using ReactJS, NextJS, NodeJS, Express, React Native, Swift, Kotlin, Flutter, Postgres, GraphQL, Go, Python. Includes architecture diagram generation, system design patterns, tech stack

Mobile
184296