accessibility-generator
Skill by rshankras
Generates accessibility code for Swift apps, covering VoiceOver labels and hints, Dynamic Type, and Reduce Motion. Aimed at iOS developers adding accessibility support or auditing an app for compliance.
Install accessibility-generator
Built from the published package, never by AI.
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills /tmp/claude-code-apple-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-apple-skills/skills/generators/accessibility-generator ~/.claude/skills/accessibility-generatorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install accessibility-generator in Claude Code
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills /tmp/claude-code-apple-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-apple-skills/skills/generators/accessibility-generator ~/.gemini/antigravity-cli/skills/accessibility-generatorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install accessibility-generator in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The accessibility-generator skill helps an AI assistant add accessibility support to Swift apps. It covers VoiceOver labels and hints, Dynamic Type, Reduce Motion, and grouping views into single VoiceOver elements, with SwiftUI code examples. It also includes a reference table of contrast thresholds and accessibility APIs, such as UIAccessibility.shouldDifferentiateWithoutColor and isBoldTextEnabled.
Before generating code, the skill runs a grep for existing accessibility usage in the project. It names three files to create under Sources/Accessibility and ends with an audit checklist. Links to a separate patterns file cover custom rotors, custom actions, and Switch Control. It is aimed at developers who want to improve app accessibility or check an app against compliance criteria.
Written from the project's SKILL.md and checked against it.
What it can do
- Accessibility labelsAdds accessibility labels and hints to interactive elements, shown with a SwiftUI example.
- Dynamic Type supportShows text that scales with Dynamic Type and how to limit the maximum size.
- Reduce MotionGates animations on the accessibilityReduceMotion environment value.
- VoiceOver groupsCombines child views into one VoiceOver element using accessibilityElement.
- Visual accessibility referenceLists contrast thresholds and APIs for color, contrast, bold text, and transparency.
- Deep patterns referencePoints to accessibility-patterns.md for custom rotors, custom actions, and Switch Control.
- Audit checklistProvides a checklist covering labels, color, touch targets, Dynamic Type, and Reduce Motion.
- Generated filesCreates AccessibilityModifiers, AccessibilityHelpers, and AccessibilityStrings Swift files.
What you need
- A Swift project (SwiftUI or UIKit)
Try asking
- Add VoiceOver labels and hints to my SwiftUI settings screen
- Make the text in my onboarding views support Dynamic Type
- Audit my app's accessibility using the checklist
Good to know
- Automated audit and Nutrition Label evaluation are handled by the separate ios/accessibility-audit skill.
- Deep recipes are in a separate accessibility-patterns.md file.
Security check
B- Allowed to use Write, Edit, Bash without limitsIn
SKILL.md
Checked automatically: skills/generators/accessibility-generator/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditGlobGrepBashAskUserQuestion
Alternatives to accessibility-generator
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
accessibility-generator: common questions
Does this skill work with SwiftUI?
The code examples are written in SwiftUI. The reference also lists UIKit APIs such as UIAccessibility.shouldDifferentiateWithoutColor.
What contrast ratio does it recommend?
It gives 4.5:1 as the minimum for text and glyphs. It suggests about 7.5:1 for comfort on dark backgrounds.
Which files does it generate?
It generates AccessibilityModifiers.swift, AccessibilityHelpers.swift, and AccessibilityStrings.swift under Sources/Accessibility.
How do I install accessibility-generator?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is accessibility-generator free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is accessibility-generator safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit, bash without limits). Review the code before you install. How grades work.
What are alternatives to accessibility-generator?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
