
swift-formatstyle
Formats and parses locale-aware numbers, decimals, currencies, percentages
by dpearson2699Free
Description
Swift FormatStyle is an agent skill that teaches an AI assistant to format and parse locale-aware values in Swift using Foundation's type-safe FormatStyle APIs. It covers numbers, decimals, currencies, percentages, dates, durations, measurements, names, lists, byte counts and URLs. FormatStyle is for user-facing display, while ParseableFormatStyle is for the cases where the same convention has to accept input, so a value a user types can be read back with the same rules. The skill has sections on selection and availability, parsing, SwiftUI integration, custom FormatStyle types, common mistakes and a review checklist. It also sets the boundaries of the work. String Catalogs, plurals, localized copy, bundles and right-to-left layout belong to a separate ios-localization skill. The skill adds that formatting still needs a locale review even when no text is translated. It is for iOS and macOS developers who want formatted values that follow the user's locale and stay consistent between what is shown and what is accepted. The skill is published in the swift-ios-skills repository on GitHub.…
Highlights
- Locale-aware numbers, currencies, dates and measurements
- ParseableFormatStyle for input that matches display
- SwiftUI integration and custom FormatStyle types
- Review checklist and common mistakes
Ratings & Reviews
No ratings yet
Be the first to rate swift-formatstyle.
People also visit
swift-formatstyle FAQ
What does the skill cover?
Formatting and parsing numbers, currencies, percentages, dates, durations, measurements, names, lists, byte counts and URLs with Foundation's FormatStyle APIs.
Does it handle translations?
No. The skill sends String Catalogs, plurals, localized copy and right-to-left layout to a separate ios-localization skill.
How do I install it?
Run npx skills add https://github.com/dpearson2699/swift-ios-skills --skill swift-formatstyle in your project.
Is it free and open source?
Yes. It is published in the public swift-ios-skills repository on GitHub.
What do the security audits say?
skills.sh lists Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Pass for this skill.
What are the best swift-formatstyle alternatives?
Popular alternatives to swift-formatstyle include TheoBrigitte/mcp-time, ZeparHyfar/mcp-datetime and openai/spreadsheet. See all swift-formatstyle alternatives











