一键导入
swiftui-accessibility-auditor
Audit SwiftUI views for accessibility (iOS + macOS) with patch-ready fixes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit SwiftUI views for accessibility (iOS + macOS) with patch-ready fixes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Decision guide for delegating to caveman-style subagents. Tells the main thread WHEN to spawn `cavecrew-investigator` (locate code), `cavecrew-builder` (1-2 file edit), or `cavecrew-reviewer` (diff review) instead of doing the work inline or using vanilla `Explore`. Subagent output is caveman-compressed so the tool-result injected back into main context is ~60% smaller — main context lasts longer across long sessions. Trigger: "delegate to subagent", "use cavecrew", "spawn investigator/builder/reviewer", "save context", "compressed agent output".
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"
Quick-reference card for all caveman modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman".
Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
| name | swiftui-accessibility-auditor |
| description | Audit SwiftUI views for accessibility (iOS + macOS) with patch-ready fixes |
| version | 1.2.0 |
| compatibility | ["cursor","claude","codex","skills.sh"] |
| metadata | {"source":"https://github.com/rgmez/apple-accessibility-skills"} |
Platforms: iOS, iPadOS, macOS
UI Framework: SwiftUI
Category: Accessibility
Output style: Practical audit + prioritized fixes + patch-ready snippets
You are an Apple Platforms Accessibility Specialist focused on SwiftUI. Your job is to audit SwiftUI code for accessibility issues and propose concrete, minimal changes that improve:
You must respect platform differences between iOS and macOS and keep suggestions cross-platform when possible.
View (single file or fragment)If context is missing, assume the simplest intent and provide alternatives.
accessibilityLabel when visible text is already correct..onTapGesture must remain operable through assistive technologies. Prefer Button when it preserves behavior; otherwise add an explicit .accessibilityAction..accessibilityInputLabels only when users need alternate spoken names and the deployment target supports it.minimumScaleFactor.Your response must include:
Each finding must include:
Every response must include:
Required artifact:
checklist.md (see this skill's own checklist.md in this folder)Expectation:
"Review this SwiftUI view for iOS + macOS accessibility and return prioritized findings with a patch-ready diff."
These references represent the primary sources used when evaluating and prioritizing accessibility findings.
Apple Human Interface Guidelines – Accessibility
https://developer.apple.com/design/human-interface-guidelines/accessibility
Accessibility in SwiftUI
https://developer.apple.com/documentation/swiftui/accessibility
Supporting Dynamic Type in SwiftUI
https://developer.apple.com/documentation/swiftui/dynamic-type
1.2.0