swift-api-design-guidelines
Use whenever you write, name, or review any public (or internal-but-API-shaped) Swift declaration in this repo — a method, function, initializer, property, protocol, or parameter — and especially before opening a PR that adds or renames public API. Covers naming clarity, argument labels, factory/initializer conventions, boolean and…
Full publisher description
Use whenever you write, name, or review any public (or internal-but-API-shaped) Swift declaration in this repo — a method, function, initializer, property, protocol, or parameter — and especially before opening a PR that adds or renames public API. Covers naming clarity, argument labels, factory/initializer conventions, boolean and mutating/nonmutating naming, and terms of art, per https://www.swift.org/documentation/api-design-guidelines/. Also use when reviewing a PR's diff for naming issues, or when the user asks "does this read well", "what should I call this", or "is this the Swift-y name". This is the naming/clarity layer; CODE_STYLE.md's "Enum-like Values" and "Codable Conformance" sections cover the structural rules (RawRepresentable vs enum, which protocols to conform to) — use both together when a change touches an enum-like value's shape.
Source details
Read SKILL.md ↗ · Browse skill folder ↗
supabase/supabase-swift
.claude/skills/swift-api-design-guidelines/SKILL.mdPinned revision 01b4f8dc5cbe488345f04c42f8ce2258e30bf273
Source checked
Reviewed licence: MIT
repository
Reviewed publisher revision ↗ · 2026-11-22
This indexed source has a different revision. Verify its applicable terms before use.
This skill page is available in English. Publisher instructions stay in their original language.