Skill Wiki v0.1.0
rule @ios-swift/rule-name-by-role-not-type

Name By Role Not Type

A name should describe what a value *is for*, not what its concrete type happens to be.…

Skill
@ios-swift
Domain
ios-swift
Version
0.1.0
Quality
4.0
Edges
2 out · 3 in
Tokens
91/293/313
$ prime install @ios-swift/rule-name-by-role-not-type

Projection

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

NameByRoleNotType [rule] v0.1.0

A name should describe what a value is for, not what its concrete type happens to be. var greeting: String = "Hello" is better than var string: String = "Hello"; protocol View { associatedtype Content } is better than associatedtype T. The type system already says the type; the name carries the role.

Source

prime-system/examples/ios-swift/primes/compiled/@ios-swift/rule-name-by-role-not-type/atom.yaml

Compiled at 2026-05-10