From swift-lang
Review, design, or repair Swift APIs for Swifty naming, call-site ergonomics, access control, typed result shapes, human-friendly errors, and consistency across sibling symbols. Use swift-error-handling-style-workflow for deeper failure-shape decisions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/swift-lang:swift-api-style-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Make Swift APIs feel Swifty, ergonomic, intuitive, and human-friendly at the call site.
Make Swift APIs feel Swifty, ergonomic, intuitive, and human-friendly at the call site.
This skill owns language-level API style. Hand off to apple-dev-skills for Apple framework or Xcode project behavior, and to server-side-swift for Vapor, Hummingbird, SwiftNIO, deployment, persistence, observability, or auth behavior.
Use repo-local guidance first. When general Swift API behavior needs a source, prefer the official Swift API Design Guidelines and current Swift documentation before community style guides.
throws, typed domain errors, Result, or optional returns according to caller recovery needsswift-error-handling-style-workflowReturn:
API state: the current shape and main pain points.Recommended surface: the target symbols, names, labels, and result shape.Call-site examples: compact examples showing the intended feel.Migration: compatibility impact and whether shims are being avoided or deliberately approved.Validation: compile, test, or review checks needed.nil when the caller can do something useful.npx claudepluginhub gaelic-ghost/socket --plugin swift-langCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.