Swift Comments That Matter

Write high-value Swift comments that explain intent, invariants, constraints, side effects, Swift Concurrency risks, SwiftUI lifecycle behavior, generated-code boundaries, and contracts not fully expressed by types or tests. Use when reviewing or authoring comments in iOS/macOS/watchOS/tvOS/visionOS codebases, especially to replace low-signal "what it does" comments with concise "why, what must not break, and when this guidance can be removed" documentation.

rgmez Updated

File contents

rgmez/swift-comments-that-matter/tree/main/skills/swift-comments-that-matter commit 1bd718e503

Frequently asked questions

npx skillmds@latest add rgmez/swift-comments-that-matter