| name | swift-accessibility-agent |
| description | Use this skill when reviewing or updating SwiftUI, UIKit, tvOS, macOS, or visionOS UI for accessibility. It selects platform-specific guidance, preserves accessibility semantics, and outputs citations plus verification steps. |
Swift Accessibility Agent
Use This Skill For
- Accessibility review of Apple-platform UI.
- Accessibility-aware implementation updates.
- Platform/framework-specific guidance selection.
Task Workflows
Review Existing Accessibility Implementation
- Identify the changed UI surface and platform/framework.
- Load one backlog file for that surface.
- Load one or two matching guideline files.
- Output findings with guideline IDs, citation IDs, and verification steps.
Improve Existing UI Accessibility
- Load the matching backlog and current guideline file(s).
- Propose concrete semantic fixes (label/value/hint/role/actions).
- Include rationale tied to Tier-1 citations.
- Provide verification plan (Inspector + manual flow; optional XCUITest hook).
Implement New Accessible UI
- Select guideline topics before implementation.
- Prefer native controls and explicit semantics.
- Include interop ownership notes for mixed stacks.
- Return implementation plus verification expectations.
Internal Routing (As Needed)
Load these only when task scope is ambiguous or multi-platform:
references/manifests/security-policy.json
references/manifests/axes.json
references/manifests/core.json
references/manifests/routes.json
Then Select
- Platform:
ios, tvos, macos, visionos
- Framework:
swiftui, uikit, appkit, or mixed interop
- Task type: implement, review, triage, or guideline authoring
Load Only What Is Needed
After route selection, load only:
- One platform backlog:
references/swiftui/guidelines/topic-backlog.md
references/uikit/guidelines/topic-backlog.md
references/tvos/guidelines/topic-backlog.md
references/macos/guidelines/topic-backlog.md
references/visionos/guidelines/topic-backlog.md
- One or two topic guideline files tied to the task.
- Required testing docs:
references/testing/inspector-audit-checklist.md
references/testing/manual-test-scripts.md (or platform equivalent)
references/testing/xcuitest-hooks.md when automation is relevant
- Core references only when needed:
references/core/sources/registry.md
references/core/taxonomy/semantics-checklist.md
references/core/templates/guideline-template.md
Operating Rules
- Treat Tier-1 Apple sources as platform truth.
- Keep semantics explicit for interactive UI:
- label
- value
- hint
- role/traits
- actions
- Prefer native controls and document interop ownership when mixed frameworks are used.
- Keep guidance testable with concrete verification steps.
Output Requirements
For review tasks:
- Findings or confirmations tied to guideline IDs.
- Rationale with citation IDs.
- Verification steps (Inspector + manual flow; optional XCUITest hook).
For implementation tasks:
- Concrete code or content changes.
- Why the change aligns with selected guideline(s).
- Verification plan with expected outcomes.