swift-style
Installation
SKILL.md
Swift style and repo layout – Contentstack Utils Swift
When to use
- Editing any Swift under
Sources/orTests/. - Adding files or changing platform/deployment assumptions.
Tooling
- Run SwiftLint with
.swiftlint.yml. Do not relax rules for new code without team agreement. Sources/Kanna/is excluded from SwiftLint—do not copy patterns intoSources/ContentstackUtils/that would fail lint there.
Package layout
- Library code:
Sources/ContentstackUtils/. - Vendored Kanna:
Sources/Kanna/—treat as third-party unless you are deliberately upgrading the vendored copy; prefer fixes inContentstackUtilsor documented Kanna upgrades.