n0an/VivaDicta / .agents/skills/ios-simulator-skill
ios-simulator-skill
Verified21 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.
references/accessibility_checklist.md
View on GitHub# iOS Accessibility Checklist
## Critical Rules (Must Fix)
### 1. Interactive elements need labels
**Check:** `accessibilityLabel != nil`
**Fix:** Add descriptive label
### 2. Buttons need text
**Check:** `label || value != ""`
**Fix:** Set button title or accessibilityLabel
### 3. Images need descriptions
**Check:** `isImage && accessibilityLabel`
**Fix:** Add alt text via accessibilityLabel
## Warnings (Should Fix)
### 4. Complex controls need hints
**Check:** `accessibilityHint for custom controls`
**Fix:** Explain what happens on activation
### 5. Grouped elements need containers
**Check:** `isAccessibilityElement on containers`
**Fix:** Group related elements
### 6. Text fields need placeholders
**Check:** `placeholder || accessibilityLabel`
**Fix:** Add placeholder text
## Info (Nice to Have)
### 7. Automation identifiers
**Check:** `accessibilityIdentifier != nil`
**Fix:** Add for UI testing
### 8. Trait specification
**Check:** `accessibilityTraits set correctly`
**Fix:** Use .button, .link, .header appropriately
### 9. Frame size adequate
**Check:** `frame.width >= 44 && frame.height >= 44`
**Fix:** Minimum touch target 44x44pt
## Quick Audit Command
```bash
python scripts/accessibility_audit.py
```
## iOS Code Fixes
```swift
// Label
button.accessibilityLabel = "Submit form"
// Hint
slider.accessibilityHint = "Adjusts volume"
// Identifier
view.accessibilityIdentifier = "login-button"
// Traits
label.accessibilityTraits = .header
```Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |