n0an

Swift FormatStyle Agent Skill — AI skill for Claude Code

AI community

Swift FormatStyle agent skill for Claude Code, Codex, Cursor, and other AI coding agents.

How to install Swift FormatStyle Agent Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open n0an/Swift-FormatStyle-Agent-Skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Swift FormatStyle Agent Skill does

Swift FormatStyle agent skill for Claude Code, Codex, Cursor, and other AI coding agents.

Alternatives in AI

  • AI Guide — 程序员鱼皮的 AI 资源大全 + Vibe Coding 零基础教程,分享 OpenClaw 保姆级教程、大模型玩法(DeepSeek / GPT / Gemini / Claude)、最新 AI 资讯、Prompt 提 11.8k ★
  • Codeburn — Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Code 9.7k ★
  • Osaurus — Own your AI. The native macOS harness for AI agents -- any model, persistent memory, autonomous execution, cry 5.1k ★

README

Swift FormatStyle Agent Skill

iOS 15+ Swift 5.7+ MIT License Agent Skills Compatible

An agent skill that helps AI coding agents like Claude Code, Codex, Cursor, and Gemini write modern Swift formatting code using `FormatStyle` and `.formatted()` APIs instead of legacy `Formatter` subclasses and C-style `String(format:)`.

It uses the [Agent Skills](https://agentskills.io/home) format, so it works smoothly with Claude Code, Codex, Gemini, Cursor, and more.

What It Covers

  • Number, Percent, Currency - precision, rounding, sign, notation, scale, grouping, locale
  • Date/Time - compositing, presets, ISO 8601, relative, anchored relative, verbatim, HTTP
  • Date Ranges - interval and components styles
  • Duration - time patterns (HH:MM:SS) and units (human-readable)
  • Measurement - locale-aware unit conversion for length, mass, temperature, speed, etc.
  • List - array-to-text with "and"/"or" joining
  • Person Name - locale-aware name ordering
  • Byte Count - file/memory size display
  • URL - component-level formatting and parsing
  • Custom FormatStyle - creating your own
  • Anti-patterns - catches String(format:), DateFormatter, NumberFormatter, and other legacy code

Installing

You can install this skill into Claude Code, Codex, Gemini, Cursor, and more by using `npx`:

npx skills add https://github.com/n0an/Swift-FormatStyle-Agent-Skill --skill swift-format-style

If you get the error `npx: command not found`, it means you don't currently have Node installed. You need to run this command to in