dpearson2699 avatar

Swift Api Design Guidelines

Enforces the official Swift API Design Guidelines with decision tables and concrete rules for argument labels, mutating/nonmutating pairs, and side-effect naming. You'll want this when you're stuck on whether to use `sorted()` or `sorting()`, when to omit the first argument label, or how to name a Boolean property so it reads like an assertion. The prepositional phrase rule and grammatical phrase rule are spelled out with examples, and there's a clear -ed/-ing suffix guide that explains why it's `sorted()` but `strippingNewlines()`. Targets Swift 6.3 and stays focused on naming conventions, routing type-system questions to other skills. Most useful during API design reviews or when refactoring for call-site clarity.

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

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill swift-api-design-guidelines --agent claude-code

Installs into .claude/skills of the current project.

Files

Swift API Design Guidelines

Apply the Swift API Design Guidelines to naming, labels, documentation, and call-site clarity. For mixed requests, handle the API-design portion here and route language/type-system work to swift-language, concurrency to swift-concurrency, and lint configuration to swiftlint.

Contents

Argument Label Rules

Argument labels determine how a call site reads. Apply the first matching row:

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Backend & APIs, Documentation, Code Review & Quality, Mobile Development, Design & UI/UX
First seen
Jun 3, 2026

More from dpearson2699/swift-ios-skills

All 98
1redis avatarredis-observabilityredis/agent-skillsRedis observability guidance — which metrics to monitor (memory, connections, hit ratio, ops/sec, rejected connections), which built-in commands to reach for du2.5Kskills.sh installs
2affaan-m avatarclaude-apiaffaan-m/everything-claude-codeclaude api2.4Kskills.sh installs
3google-deepmind avataralphafold-database-fetch-and-analyzegoogle-deepmind/science-skillsRetrieve and analyze AlphaFold predicted structures for a protein. Use when the user provides a specific UniProt Accession ID and wants structural confidence me2.3Kskills.sh installs
4dotnet avatarminimal-api-file-uploaddotnet/skillsFile upload endpoints in ASP.NET minimal APIs (.NET 8+)2.3Kskills.sh installs
5nvidia avatarcuopt-routing-api-pythonnvidia/skillsVehicle routing (VRP, TSP, PDP) with cuOpt — Python API only. Use when the user is building or solving routing in Python.2.3Kskills.sh installs
6mindrally avatarredis-best-practicesmindrally/skillsRedis development best practices for caching, data structures, and high-performance key-value operations2.3Kskills.sh installs