ios-storyboard

📁 pproenca/dot-skills 📅 5 days ago
25
总安装量
4
周安装量
#14588
全站排名
安装命令
npx skills add https://github.com/pproenca/dot-skills --skill ios-storyboard

Agent 安装分布

claude-code 4
amp 3
gemini-cli 3
github-copilot 3
codex 3
kimi-cli 3

Skill 文档

iOS Storyboard Best Practices

Comprehensive UI design and architecture guide for Xcode Storyboard and Interface Builder, focused on building maintainable, adaptive, and accessible iOS interfaces. Contains 45 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Creating or modifying Storyboard scenes in Xcode Interface Builder
  • Setting up Auto Layout constraints for adaptive layouts
  • Designing navigation flows with segues and storyboard references
  • Configuring size classes and trait variations for universal apps
  • Reviewing storyboard XML diffs and resolving merge conflicts

Rule Categories by Priority

Priority Category Impact Prefix
1 Storyboard Architecture CRITICAL arch-
2 Auto Layout Constraints CRITICAL layout-
3 Navigation & Segues HIGH nav-
4 Adaptive Layout & Size Classes HIGH adapt-
5 View Hierarchy & Stack Views MEDIUM-HIGH view-
6 Accessibility & VoiceOver MEDIUM ally-
7 Version Control & Collaboration MEDIUM vcs-
8 Debugging & Inspection LOW-MEDIUM debug-

Quick Reference

1. Storyboard Architecture (CRITICAL)

2. Auto Layout Constraints (CRITICAL)

3. Navigation & Segues (HIGH)

4. Adaptive Layout & Size Classes (HIGH)

5. View Hierarchy & Stack Views (MEDIUM-HIGH)

6. Accessibility & VoiceOver (MEDIUM)

7. Version Control & Collaboration (MEDIUM)

8. Debugging & Inspection (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

File Description
references/_sections.md Category definitions and ordering
assets/templates/_template.md Template for new rules
metadata.json Version and reference information