executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
swift-languageApply Optionals, Protocols, Extensions, and Type Safety patterns in Swift. Use when working with Swift Optionals, Protocols, Extensions, or type-safe APIs.
Independent GitHub snapshot · Automated classification · Original documentation governs
value != nil instead of if let _ = value.Type!. Use proper Type?.extension MyType: MyProtocol { ... }. Use extensions for clean code organization, not storage ( not use extensions for stored properties).Any: Use generics or associated types instead for compile-time safety.case .success(let value):).class only when reference identity necessary or for inheritance. Structs copied; classes shared.When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
Default to struct
Never force unwrap
associated values
value types
Additional task-grounded exact anchors: extension MyType: MyProtocol; conformance