Skill Wiki v0.1.0
principle @ios-swift/principle-clarity-at-call-site

Clarity At Call Site

Clarity at the point of use is your most important goal. Code is read far more often than it is written. Strive to make the call site of every API a grammatical English phrase that documents its own intent.…

Skill
@ios-swift
Domain
ios-swift
Version
0.1.0
Quality
4.0
Edges
5 out · 3 in
Tokens
204/325/325
$ prime install @ios-swift/principle-clarity-at-call-site

Projection

Always in _index.xml · the agent never has to ask for this.

ClarityAtCallSite [principle] v0.1.0

The thesis of the Swift API Design Guidelines: APIs are read more often than they are written, and Swift's type system, default-argument support, and argument-label syntax exist specifically to let you make every call site self-documenting. Optimise for the reader of the use site — not for the brevity of the declaration, not for symmetry with Objective-C, not for what feels easy to type.

Clarity at the point of use is your most important goal. Code is read far more often than it is written. Strive to make the call site of every API a grammatical English phrase that documents its own intent. When clarity and brevity conflict, choose clarity. When fluency at the use site requires a longer name or an extra label, the name and the label are correct.

Source

prime-system/examples/ios-swift/primes/compiled/@ios-swift/principle-clarity-at-call-site/atom.yaml

Compiled at 2026-05-10