Implementation law

Swift Canon

ShippedCanon

Project-agnostic Swift 6 craft: concurrency, enums, logging, SwiftUI, snapshots, TCA, Hummingbird, review discipline. References live next to the skill.

Compiler truth first. Native over ornamental. Generated code stays generated. Tests match the change. No merge with unresolved substantive review comments — including findings that live only in a review body, not a thread.

  • anti-patterns.mdRead before writing
  • functional-swift.mdPure core, effect shell
  • concurrency.mdSendable, actors, streams
  • enum-design.mdExhaustive switch discipline
  • logging.mdos.Logger + emoji events
  • typography.mdSF Pro, native hierarchy
  • tca.mdComplex state
  • swiftui-state.md@Observable clients
  • swiftui-views.mdCompose views
  • previews.mdState matrix before full builds
  • testing.mdUnit + snapshot + TestStore
  • review-canon.mdPR / scope / merge law
  • dependency-injection.mdProtocol boundaries
  • accessibility.mdVoiceOver, Dynamic Type
  • animations.mdMotion, transitions
  • motion-haptics.mdHaptics + Reduce Motion
  • macos-patterns.mdMenuBarExtra, HUD windows
  • hummingbird.mdServer routes
  • openapi-server.mdGenerated boundaries