Implementation law
Swift Canon
ShippedCanonProject-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 writingfunctional-swift.mdPure core, effect shellconcurrency.mdSendable, actors, streamsenum-design.mdExhaustive switch disciplinelogging.mdos.Logger + emoji eventstypography.mdSF Pro, native hierarchytca.mdComplex stateswiftui-state.md@Observable clientsswiftui-views.mdCompose viewspreviews.mdState matrix before full buildstesting.mdUnit + snapshot + TestStorereview-canon.mdPR / scope / merge lawdependency-injection.mdProtocol boundariesaccessibility.mdVoiceOver, Dynamic Typeanimations.mdMotion, transitionsmotion-haptics.mdHaptics + Reduce Motionmacos-patterns.mdMenuBarExtra, HUD windowshummingbird.mdServer routesopenapi-server.mdGenerated boundaries