Swift API Design

Design, rename, or review Swift API surfaces using the bundled official API Design Guidelines.

alemar11 88f155b 11 files · 54.4 KB Updated

File contents

Swift API Design

Judge APIs from realistic call sites. Show the recommended signature, useful call-site examples, and the guideline supporting a change. Apply this skill when API shape is in scope, not for every Swift implementation task.

Read the reference matching the decision:

  • Principles or competing designs: core principles.
  • Names, labels, defaults, or overloads: naming and signatures.
  • Weak domain types, Boolean parameters, or method families: API patterns.
  • Existing API audit: review checklist.
  • Exact upstream wording or examples: official guidelines.
  • Bundled revision: assets/manifest.json.

alemar11/dotagents/tree/main/skills/swift-api-design commit 88f155bdf4

Frequently asked questions

npx skillmds@latest add alemar11/swift-api-design