FormatStyle is Swift's modern, type-safe replacement for the old Formatter classes, and this skill covers the full range: numbers, currency, percentages, dates, durations, measurements, person names, lists, byte counts, and URLs. The quick reference table alone will save you digging through documentation every time you need to format a currency or a relative date. What stands out is the focus on locale awareness as an i18n concern even in single-language apps, with a clear boundary drawn between FormatStyle mechanics and broader localization work. The custom FormatStyle section shows you how to build your own conformances when the built-in types don't fit. Duration formatting requires iOS 16+, but everything else works from iOS 15 onward.

skills.sh installs
2.8K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill swift-formatstyle --agent claude-code

Installs into .claude/skills of the current project.

Files

Swift FormatStyle

Use Foundation's type-safe FormatStyle APIs for user-facing display and ParseableFormatStyle when the same convention must accept input. Route String Catalogs, plurals, localized copy, bundles, and RTL layout to ios-localization; formatting still requires locale review even when no text is translated.

Contents

Workflow

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Testing & QA, Code Review & Quality, Mobile Development
First seen
Jun 3, 2026

More from dpearson2699/swift-ios-skills

All 98
1ar9av avatarskill-creatorar9av/obsidian-wikiCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an e2.8Kskills.sh installs
2web-infra-dev avatarcomputer-automationweb-infra-dev/midscene-skillsVision-driven desktop automation using Midscene. Control your local desktop (macOS, Windows, Linux) or a remote Windows desktop over RDP with natural language c2.8Kskills.sh installs
3anthropics avatarpeople-reportanthropics/knowledge-work-pluginsGenerate headcount, attrition, diversity, or org health reports. Use when pulling a headcount snapshot for leadership, analyzing turnover trends by team, prepar2.8Kskills.sh installs
4deanpeters avataracquisition-channel-advisordeanpeters/product-manager-skillsEvaluate acquisition channels using unit economics, customer quality, and scalability. Use when deciding whether to scale, test, or kill a growth channel.2.8Kskills.sh installs
5nvidia avatarcuopt-developernvidia/skillsModify, build, test, debug, and contribute to NVIDIA cuOpt (C++/CUDA, Python, server, CI). Use for solver internals, PRs, DCO, and code conventions.2.7Kskills.sh installs
6juliusbrussee avatarbuildjuliusbrussee/cavekitPlan-then-execute implementation against SPEC.md. Native single-thread loop, no sub-agents. On test or build failure, auto-invokes the backprop skill before ret2.7Kskills.sh installs