/swift-modern-dev:ios-accessibilityfrom swift-modern-dev
Provides patterns and checklists for implementing VoiceOver, Dynamic Type, and HIG accessibility baselines in SwiftUI iOS/macOS apps.
Ships in swift-modern-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Ship usable apps with VoiceOver, Dynamic Type, and HIG accessibility baselines.
| ALWAYS | NEVER |
|---|---|
Meaningful accessibilityLabel on icon-only controls | Icon-only buttons with no label |
| Support Dynamic Type (no fixed tiny text) | Rely on color alone for meaning |
| ≥ ~44pt touch targets for interactive controls | Trap focus / unreadable contrast |
| Test with VoiceOver on critical flows | Ship decorative noise as accessibility elements |
Button {
isFavorite.toggle()
} label: {
Image(systemName: isFavorite ? "star.fill" : "star")
}
.accessibilityLabel(isFavorite ? "Remove from favorites" : "Add to favorites")
.accessibilityAddTraits(isFavorite ? .isSelected : [])
Text(title)
.font(.body) // scales with Dynamic Type
.accessibilityHeading(.h2)
.accessibilityElement(children: .combine)
.accessibilityAction(named: "Delete") { delete() }
.accessibilityHidden(true)| When | Read |
|---|---|
| Deep examples | Claude legacy examples under old skill if needed; prefer keep this slim |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pstuart/pstuart --plugin swift-modern-dev7 skills in this plugin
/memory-leak-diagnosisUse when investigating memory growth, retain cycles, leaks in Instruments, Task cancellation issues, or ARC problems in Swift 6 apps./swift-anti-pattern-guardUse when reviewing Swift code for outdated patterns, modernizing a project, running architecture health checks, or grepping for ObservableObject, DispatchQueue.main, NavigationView, or Core Data./swift-app-scaffoldUse when starting a new iOS or macOS app, bootstrapping Package.swift, or scaffolding a modern SwiftUI architecture with Observation, SwiftData, NavigationStack, and Swift Testing.Other plugins' skills for the same job