Ios ui navigation
Skill ComeOnOliver/skillshub/skills/HoangNguyen0403/agent-skills-standard/ios-ui-navigation
🧠The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.
npx -y skills add ComeOnOliver/skillshub --skill ios-ui-navigationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Standards for UIKit, Auto Layout, and Apple Human Interface Guidelines. Use when implementing UIKit navigation, Auto Layout constraints, or HIG compliance. (triggers: **/*View.swift, **/*.xib, **/*.storyboard, NSLayoutConstraint, UIStackView, SnapKit, layoutSubviews)
SKILL.md
1.6 KB, 291 tokens by cl100k_base, as published. Nobody here has run it
iOS UI & Layout Standards
Priority: P0
Implementation Guidelines
Auto Layout
- Code-Based Layout: Prefer programmatic layout using
NSLayoutAnchoror SnapKit over Storyboards for better source control. - Safe Area: Always respect
view.safeAreaLayoutGuide. - UIStackView: Use for linear layouts to reduce constraint complexity.
UIKit Best Practices
- View Lifecycle: Perform layout adjustments in
viewWillLayoutSubviewsorupdateConstraints. - Reusable Views: Extract complex UI into custom
UIViewsubclasses. - Image Optimization: Use SF Symbols for icons. Preferred vector (PDF/SVG) for custom assets.
- SwiftUI Bridge: Use
UIViewRepresentableorUIViewControllerRepresentableto host UIKit in SwiftUI.
Human Interface Guidelines (HIG)
- Accessibility: Support Dynamic Type and provide meaningful
accessibilityLabel. - Feedback: Use
UINotificationFeedbackGeneratorfor haptic feedback on actions. - Margins: Follow standard system margins (typically 16-20pt).
Anti-Patterns
- No CGRect(x:y:w:h): Use Auto Layout.
- No complex constraint logic in VC: Use UIStackView or custom views.
- No Blank Screens: Use skeleton views or UIActivityIndicatorView.
References
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.