apple-ui-accessibility-workflow
/apple-ui-accessibility-workflow
Prowadzi wdrażanie i przegląd dostępności interfejsu Apple w SwiftUI, z UIKit i AppKit, oraz planuje weryfikację dostępności i przekazanie testów.
- Autor
- gaelic-ghost ↗
- Repozytorium
- socket ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 26.08.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 9
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 26.08.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Prowadzi wdrażanie i przegląd dostępności interfejsu Apple w SwiftUI, z UIKit i AppKit, oraz planuje weryfikację dostępności i przekazanie testów.
Oryginalny opis (EN)
Guide Apple UI accessibility implementation and review for SwiftUI-first code, with UIKit and AppKit bridge guidance plus explicit verification expectations and testing handoffs. Use when the user wants help making Apple UI accessible, reviewing accessibility semantics, shaping the accessibility tree, or planning Apple-platform accessibility verification without collapsing the work into generic design review or Xcode test execution.
Jak działa
- Purpose
- When To Use
- Single-Path Workflow
- Inputs
- Outputs
- Guards and Stop Conditions
- Fallbacks and Handoffs
- Fixed Policy
- References
Podgląd SKILL.md
--- name: apple-ui-accessibility-workflow description: Guide Apple UI accessibility implementation and review for SwiftUI-first code, with UIKit and AppKit bridge guidance plus explicit verification expectations and testing handoffs. Use when the user wants help making Apple UI accessible, reviewing accessibility semantics, shaping the accessibility tree, or planning Apple-platform accessibility verification without collapsing the work into generic design review or Xcode test execution. --- # Apple UI Accessibility Workflow ## Purpose Provide a docs-first workflow for Apple UI accessibility implementation and review. Keep the first version SwiftUI-first while still covering the UIKit and AppKit bridge surface when SwiftUI code wraps platform-native views or when an accessibility behavior only makes sense in those underlying frameworks. It is not the Apple-docs router, not the SwiftUI app-structure workflow, and not the Xcode execution workflow. ## When To Use - Use this skill when the user wants help making a SwiftUI view, control, list, form, chart, or composite UI more accessible. - Use this skill when the user wants help reviewing Apple UI semantics such as labels, values, hints, roles, traits, actions, headings, or grouping behavior. - Use this skill when the user wants help deciding whether the default accessibility tree is sufficient or whether a view needs explicit accessibility modifiers. - Use this skill when the user wants help shaping the accessibility tree with `accessibilityElement(children:)`, `accessibilityChildren`, `accessibilityRepresentation`, hiding rules, or synthetic accessibility content. - Use this skill when the user wants help understanding where SwiftUI accessibility stops and UIKit or AppKit accessibility responsibilities begin. - Use this skill when the user wants accessibility-specific verification expectations for VoiceOver, focus order, Dynamic Type, contrast, reduced motion, or related Apple platform settings. - Recommend `explore-apple-swift-docs` when the user primarily needs Apple or Swift documentation lookup rather than accessibility guidance. - Recommend `xcode-testing-workflow` when the work becomes XCUITest execution, simulator or device automation, `.xctestplan` configuration, or runtime UI verification. - Recommend `swiftui-app-architecture-workflow` when the question is really about SwiftUI app structure, scene ownership, command ownership, or general data flow rather than accessibility semantics. ## Single-Path Workflow 1. Classify the request: - SwiftUI implementation - SwiftUI review - UIKit/AppKit bridge guidance - accessibility verification planning 2. Apply the Apple docs gate before recommending changes: - read the relevant Apple accessibility documentation first - state the documented behavior being relied on before giving accessibility guidance - if Apple docs and the current code disagree, stop and surface that conflict - if no relevant Apple docs can be found, say that explicitly before proceeding 3. Choose the accessibility surface: - default semantics are already sufficient - explicit description is needed - explicit traits or actions are needed - accessibility tree reshaping is needed - UIKit/AppKit bridge work is needed 4. Check the anti-patterns before finalizing guidance: - accessibility identifiers treated as if they solve user-facing accessibility - labels that redundantly repeat surrounding visible context - meaningful content hidden from accessibility without a replacement - custom controls that look interactive but do not expose the right role or action - visual order that does not produce a sane assistive-technology reading order - verification claims made without a runtime or manual accessibility pass 5. Return one recommendation path with: - the documented Apple behavior being relied on - the chosen accessibility surface - any SwiftUI versus UIKit/AppKit bridge warning when relevant - one verification expectation - one handoff when the next honest step is docs lookup, Xcode testing, or broader SwiftUI architecture work ## Inputs - `request`: optional free-text task description used to classify the accessibility question. - `scope`: optional explicit scope such as `swiftui-semantics`, `tree-shaping`, `bridge-guidance`, `review`, or `verification`. - `platform_context`: optional platform emphasis such as `ios`, `ipados`, `macos`, `watchos`, `tvos`, or `mixed-apple`. - `framework_context`: optional explicit framework emphasis such as `swiftui`, `uikit`, `appkit`, or `swiftui-with-bridge`. - Defaults: - docs-first guidance always applies - SwiftUI is the primary path in the first version - UIKit and AppKit stay in scope when they materially affect accessibility behavior or representable-wrapper correctness ## Outputs - `status` - `success`: the request belongs to this workflow and an accessibility recommendation is ready - `handoff`: the request belongs to another skill after accessibility-aware classification - `blocked`: the request lacks enough context to recommend an accessibility change honestly - `path_type` - `primary`: the recommendation comes from a directly supported accessibility path - `fallback`: the recommendation depends on limited framework or platform context because the request shape is underspecified - `output` - resolved request class - chosen accessibility surface - documented Apple behavior relied on - bridge findings when relevant - verification expectation - recommended skill when handing off - one concise next step ## Guards and Stop Conditions - Do not treat accessibility identifiers as the same thing as user-facing accessibility semantics. - Do not recommend accessibility modifiers that simply restate visible content unless the explicit semantic override is actually needed. - Do not hide meaningful content from accessibility without documenting what replaces that information. - Do not silently absorb XCUITest execution, simulator control, or `.xctestplan` work that belongs to `xcode-testing-workflow`. - Do not silently absorb broader SwiftUI app-structure work that belongs to `swiftui-app-architecture-workflow`. - Stop with `blocked` when the request is too vague to tell whether the problem is semantic content, tree shape, bridge behavior, or verification follow-through. ## Fallbacks and Handoffs - Prefer explicit scope and framework context when the user provides them. - Fall back to request-text inference when the platform or framework shape is unclear. - Recommend `explore-apple-swift-docs` when the real need is broader Apple or Swift docs lookup. - Recommend `xcode-testing-workflow` when the next honest step is runtime UI verification, XCUITest mechanics, simulator or device flow, XCUI interruption handling, screenshots, or `.xctestplan` orchestration. - Recommend `swiftui-app-architecture-workflow` when the next honest step is app, scene, command, focus, environment, or dependency-flow architecture rather than accessibility semantics. - Recommend `arkit-spatial-sensing-workflow` or `arkit-face-body-tracking-workflow` for ARKit sensing while keeping labels, alternatives, motion, audio/haptic cues, and nonvisual interaction with this accessibility workflow. ## Fixed Policy Keep the first release focused on the decision model, the documented accessibility boundary, and explicit verification expectations. If future iterations add a real deterministic need for runtime knobs, document them explicitly before letting runtime behavior depend on them. ## References ### Workflow References - `references/swiftui-accessibility-semantics.md` - `references/swiftui-accessibility-tree-shaping.md` - `references/framework-bridging-uikit-appkit.md` - `references/worked-swiftui-accessibility-examples.md` - `references/verification-expectations.md` - `references/common-accessibility-anti-patterns.md` ### Support References - Recommend `explore-apple-swift-docs` when the user needs direct Apple-docs lookup instead of accessibility guidance. - Recommend `references/snippets/apple-xcode-project-core.md` when the user needs reusable Apple-project baseline policy rather than a one-off accessibility recommendation. ### Script Inventory
Pliki w paczce (9)
- SKILL.md 8 KB
- agents/openai.yaml 1 KB
- references/common-accessibility-anti-patterns.md 1 KB
- references/framework-bridging-uikit-appkit.md 2 KB
- references/swiftui-accessibility-semantics.md 3 KB
- references/swiftui-accessibility-tree-shaping.md 3 KB
- references/verification-expectations.md 1 KB
- references/worked-swiftui-accessibility-examples.md 2 KB
- references/snippets/apple-xcode-project-core.md 26 KB
Wersje
W bazie nie ma innych skilli o nazwie apple-ui-accessibility-workflow.
Migawka bazy z 13.11.2026 · wersja paczki 22d9ff0cb9a0 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90apple-ui-audit
Sprawdza, czy istniejący interfejs w SwiftUI, UIKit, AppKit, web lub Figma zachowuje się jak natywna aplikacja Apple. - 100swift-accessibility-skill
Sprawdza i poprawia dostępność widoków SwiftUI, kontrolerów UIKit i AppKit: VoiceOver, Dynamic Type, redukcję ruchu i sterowanie głosem. - 90apple-developer
Buduje, debuguje i przegląda natywne aplikacje macOS, iPadOS i iOS w Swift, SwiftUI, UIKit i Xcode, także przy wysyłce do App Store. - 100review-ios-ui-apple-hig
Przegląda UI aplikacji iOS względem Apple Human Interface Guidelines: SwiftUI, UIKit, Dynamic Type, nawigację, układ, kolory i typografię, z uporządkowanymi ustaleniami. - 100swift-accessibility-pro
Dodaje dostępność do aplikacji SwiftUI i UIKit: etykiety VoiceOver, Dynamic Type, kontrast kolorów, redukcję ruchu i testy. - 86ios-design-guidelines
Stosuje wytyczne Apple HIG dla iPhone'a przy budowie i przeglądzie interfejsów SwiftUI i UIKit z dostępnością i Dark Mode.