Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

swiftui-wcag-accessibility-auditorswiftui WCAG 无障碍 auditor

Agent Skill

用于辅助无障碍访问检查、页面可用性审计和前端可访问性改进。它适合让 Agent 检查语义标签、键盘操作、颜色对比、ARIA 属性和自动化检测结果。使用时需要结合真实页面和浏览器验证,不应只依赖静态文本判断;涉及修复建议时,应兼顾设计系统、组件复用和 WCAG 等通用无障碍规范。

总安装

353

周安装

15

GitHub Stars

12

下载量

124
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:swiftui-wcag-accessibility-auditor(swiftui WCAG 无障碍 auditor)
来源仓库:https://github.com/ramzesenok/ios-accessibility-audit-skill
仓库路径:skills/swiftui-wcag-accessibility-auditor
安装命令:
npx skills add https://github.com/ramzesenok/ios-accessibility-audit-skill --skill swiftui-wcag-accessibility-auditor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ramzesenok/ios-accessibility-audit-skill --skill swiftui-wcag-accessibility-auditor

简介

SwiftUI WCAG 无障碍 auditor 用于辅助无障碍访问检查和页面可用性审计,适合可访问性改进。

  • 它能检查语义标签、键盘操作、颜色对比和 ARIA 属性,需要结合真实页面验证结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 了解具体用法。
  • 涉及修复建议时应兼顾设计系统和 WCAG 通用规范,避免只依赖静态文本判断。
  • swiftui-wcag-accessibility-auditor 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

SwiftUI WCAG Accessibility Auditor

Overview

Audit SwiftUI iOS features with a dual mode:

  • WCAG-driven coverage and evidence (what fails / what is uncertain / why)
  • SwiftUI patch-ready remediation (what to change with minimal code edits)

Treat this as a code audit. Do not run the app. If a result cannot be proven from source, mark it as Needs user verification and add a concrete user follow-up check.

When to Use This Skill vs Nearby Skills

Use this merged skill when you need both:

  • WCAG 2.2 mapping / traceability, and
  • SwiftUI-specific fixes/snippets

Prefer the other skills when:

  • mobile-accessibility-audit: feature may include UIKit or you only need standards-first audit coverage
  • swiftui-accessibility-auditor: you want a fast SwiftUI-only heuristic review without WCAG traceability

Load Order

  1. Read references/ios-audit-workflow.md for code-only audit process, statuses, evidence rules, and baseline report format.
  2. Read references/ios-audit-checklist.md for WCAG SC coverage priorities and code signals.
  3. Read references/wcag2mobile-ios-reference.md when interpreting mobile-specific applicability or draft maturity of a criterion.
  4. Read references/ios-accessibility-api-examples.md, starting with the SwiftUI sections only.
  5. Read references/swiftui-remediation-guide.md for patch strategy, non-goals, priority model, and SwiftUI fix patterns.
  6. Use references/swiftui-manual-checklist.md only when generating user follow-up checks or a final manual validation list.

Scope Rules

  • Audit native iOS SwiftUI code only.
  • Audit UIViewRepresentable / UIViewControllerRepresentable bridges only to the extent they affect the SwiftUI feature.
  • If the feature delegates core behavior to UIKit, say so and either narrow the audit or recommend using mobile-accessibility-audit.
  • Do not broaden scope to macOS, watchOS, web, or non-SwiftUI implementations.

Audit Execution (Merged Workflow)

  1. Define the scoped feature flow and in-scope screens/states.
  2. Identify the SwiftUI entry views and related subviews for the feature.
  3. Run the WCAG checklist (ios-audit-checklist.md) and record evidence with statuses.
  4. Use the SwiftUI API examples to avoid false positives and identify missing semantics.
  5. Generate patch-ready fix suggestions using swiftui-remediation-guide.md.
  6. Produce a Markdown report with:

- prioritized findings (P0, P1, P2) - WCAG SC mapping for each finding - patch-ready snippet embedded in each finding - user follow-up checks (only for code-indeterminate items)

Output Format (Strict, Concise)

Be concise. Use the following structure exactly.

Rules:

  • Group findings by priority using top-level headings: # Findings - P0, # Findings - P1, # Findings - P2
  • Omit empty priority groups.
  • Put the code snippet in the same finding section (not in a separate snippets section).
  • Omit the WCAG coverage matrix unless the user explicitly asks for it.
  • Add # Scope / Assumptions only if ambiguity materially affects the audit.
  • Add # User Follow-Up Checks only if there are Needs user verification items.

Template for each finding:

# Findings - P1

## 1. <Problem name>
- **What**: <problem description with code evidence>
- **Where**: <file path + line(s)>
- **Fix suggestion**: <suggested fix in words>
- **WCAG**: <SC # - Title (Level)>

// patch-ready snippet

Notes:

  • Include Confidence inside *What* when useful (for example: Likely issue (confidence: medium)).
  • Keep snippets minimal and directly applicable to the cited code path.
  • If no code snippet is appropriate, state why in *Fix suggestion* (rare).

Practical Search Guidance (SwiftUI-first)

Start in the feature path and prefer SwiftUI symbols first:

rg --files | rg '\\.(swift)$'
rg -n "struct .*View: View|body: some View|NavigationStack|sheet\\(|fullScreenCover\\(" .
rg -n "accessibility(Label|Hint|Value|Hidden)|accessibility(AddTraits|RemoveTraits)|accessibilityElement\\(|accessibilityFocused\\(" .
rg -n "@AccessibilityFocusState|onTapGesture|DragGesture|lineLimit\\(|minimumScaleFactor|dynamicTypeSize" .

Then consult references/ios-accessibility-api-examples.md for pattern interpretation.

Example Requests

  • Use $swiftui-wcag-accessibility-auditor to audit this SwiftUI checkout feature against WCAG 2.2 and return prioritized findings with patch-ready fixes in the strict finding format.
  • Use $swiftui-wcag-accessibility-auditor to review this SwiftUI login + OTP flow for accessible authentication (3.3.8) and suggest minimal code changes.
  • Use $swiftui-wcag-accessibility-auditor to audit this settings screen and produce user follow-up checks only for contrast, target size, and VoiceOver announcement timing.

Resources

  • references/ios-audit-workflow.md: code-only audit process, statuses, evidence quality rules, and report structure.
  • references/ios-audit-checklist.md: iOS WCAG checklist and SC coverage priorities.
  • references/wcag2mobile-ios-reference.md: cleaned mobile interpretation reference (WCAG2Mobile/WCAG2ICT distilled for iOS audits).
  • references/ios-accessibility-api-examples.md: SwiftUI + UIKit API examples (use SwiftUI sections first in this skill).
  • references/swiftui-remediation-guide.md: SwiftUI patch strategy, non-goals, priorities, and fix patterns.
  • references/swiftui-manual-checklist.md: compact user manual validation checklist for follow-up checks.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.19%
按下载量换算46

Claude

28.79%
按下载量换算36

Cursor

20.22%
按下载量换算25

Gemini CLI

10.25%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills