swiftui-best-practices
Installation
SKILL.md
CDS iOS — migrate RN → SwiftUI
Read packages/cds-ios/AGENTS.md before writing any Swift. That file is the API-boundary source of
truth (public theme only; components stay internal until they stabilize). This skill is the
migration workflow: take one RN component and produce the iOS equivalent without wrapping HIG
controls in a CDS view.
CDS SwiftUI Best Practices is the working reference (parallel to CDS Compose Best Practices). Read it before porting a component, and add new port learnings there, not here. It includes the full RN component → iOS map. If Linear is unavailable, rely on this file.
Also read:
- Native CDS: Rewrite Goals
- The component's Linear issue in Migrate CDS components to native
- RN source under
packages/mobile/(capability, not view tree)