Swift & SwiftUI Progressive Discovery Router
Use this router whenever a pull request or local change modifies Swift or SwiftUI files across swift/ or Package.swift.
Evaluate Swift & SwiftUI Subskill Triggers
Inspect the Swift files in git diff main --stat and read the matching documents below:
1. Swift Architecture, Coding Standards, Testing & Verification
- Document:
coding-standards-and-testing.md - Activate if:
- Any
*.swiftfile orPackage.swiftis added, modified, or refactored. - Implementing features or modifying state logic in
A2UIJSON,A2UICore, orBasicCatalog. - Creating or updating SwiftUI views in
A2UISwiftUI,BasicCatalogSwiftUI, orA2UISampleClient. - Writing or updating unit tests using the Swift
Testingframework (@Test,#expect,try #require). - Running
swift-format,swift test, orswift build.
- Any
2. Swift Package Changelog (swift/CHANGELOG.md)
- Skill:
update-changelog - Activate if:
swift/CHANGELOG.mdorPackage.swiftproducts, dependencies, or platform minimums are modified.- Any
publicAPI or consumer-observable behavior changes inA2UIJSON,A2UICore,BasicCatalog,A2UISwiftUI, orBasicCatalogSwiftUI(exclude changes confined toswift/sample/or test targets).