update_swiftui_uikit_for_dynamic_type_support
Skill by Automattic
Guides an AI assistant through Dynamic Type support in Pocket Casts iOS code written in Swift, UIKit and SwiftUI. Covers fonts, labels, buttons, images, WebViews, stack views and table views.
Install update_swiftui_uikit_for_dynamic_type_support
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Automattic/pocket-casts-ios /tmp/pocket-casts-ios && mkdir -p ~/.claude/skills && cp -r /tmp/pocket-casts-ios/.agents/skills/update_swiftui_uikit_for_dynamic_type_support ~/.claude/skills/update-swiftui-uikit-for-dynamic-type-suRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install update_swiftui_uikit_for_dynamic_type_support in Claude Code
git clone --depth 1 https://github.com/Automattic/pocket-casts-ios /tmp/pocket-casts-ios && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/pocket-casts-ios/.agents/skills/update_swiftui_uikit_for_dynamic_type_support ~/.gemini/antigravity-cli/skills/update-swiftui-uikit-for-dynamic-type-suAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install update_swiftui_uikit_for_dynamic_type_support in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant guidance on Dynamic Type for Pocket Casts iOS development in Swift, UIKit and SwiftUI. It covers fonts, labels, buttons, images, WebViews, stack views and table views, so text and UI elements respond to the user's preferred text size. It recommends standard Apple text styles and, for custom sizes, custom font APIs that scale with UIFontMetrics, capped at accessibilityExtraExtraExtraLarge by default.
For UIKit, the skill shows settings such as numberOfLines, adjustsFontForContentSizeCategory and self-sizing table rows. For SwiftUI, it shows the fixedSize modifier, @ScaledMetric and a button font helper. It is intended for developers working on the Pocket Casts iOS app who ask about content size categories, accessibility text size or font scaling.
Written from the project's SKILL.md and checked against it.
What it can do
- Custom font sizingExplains how to scale a custom font size with the user's preferred text size in UIKit and SwiftUI.
- Label setupCovers multi-line wrapping, auto-scaling and flexible layout for UILabel and SwiftUI Text.
- Button text scalingShows how to apply dynamic fonts to UIButton title labels and SwiftUI Button text.
- Image scalingDescribes scaling images with UIFontMetrics in UIKit and @ScaledMetric in SwiftUI.
- WebView text scalingShows CSS that uses the Apple dynamic body font so relative sizes scale.
- Table and cell layoutCovers self-sizing table rows and embedding SwiftUI content in cells with UIHostingConfiguration.
What you need
- Pocket Casts iOS codebase
- Swift
- UIKit and SwiftUI
Try asking
- How do I make a UILabel respond to Dynamic Type in UIKit?
- Show me how to scale an SF Symbol image in SwiftUI with @ScaledMetric
- How should a table view cell with SwiftUI content size itself?
Good to know
- Custom font APIs cap scaling at accessibilityExtraExtraExtraLarge by default.
- Examples use project-specific helpers such as @ScaledMetricWithMaxSize and applyButtonFont.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/update_swiftui_uikit_for_dynamic_type_support/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to update_swiftui_uikit_for_dynamic_type_support
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
update_swiftui_uikit_for_dynamic_type_support: common questions
What is Dynamic Type in iOS?
Dynamic Type lets users choose a preferred text size, and this skill explains how app text and UI elements should adapt to that setting. It applies to Pocket Casts iOS development in Swift, UIKit and SwiftUI.
Should I use a standard text style or a custom font size?
The skill recommends standard Apple text styles where they fit, using Large as the reference size. For a custom size, it says to pick the closest scaling style and use the custom font APIs.
How do I make a SwiftUI Text wrap to multiple lines?
The skill says to apply fixedSize(horizontal: false, vertical: true) to any Text that should wrap, so it expands vertically instead of truncating.
How do I install update_swiftui_uikit_for_dynamic_type_support?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is update_swiftui_uikit_for_dynamic_type_support free?
The code is published under the MPL-2.0 licence. The service it connects to may have its own pricing.
Is update_swiftui_uikit_for_dynamic_type_support safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to update_swiftui_uikit_for_dynamic_type_support?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
