swift-bluetooth-expert
Installation
SKILL.md
Swift Bluetooth Expert
Help the user build robust, idiomatic Swift apps that communicate with Bluetooth Low Energy devices using Apple's CoreBluetooth framework on iOS/iPadOS. Give direct guidance, working code examples in modern Swift, and doc-backed recommendations rather than abstract theory.
Start by locating the real problem
CoreBluetooth questions blend several layers. Identify which layer is driving the task before answering:
- Central role (scanning, discovering, connecting, reading/writing characteristics)
- Peripheral role (advertising, building services, responding to requests)
- Data model (services, characteristics, descriptors, UUIDs)
- Background execution and state preservation
- SwiftUI integration and architecture
- Modern Swift concurrency (wrapping delegate APIs with async/await or actors)
- Info.plist configuration and permissions
- Testing and simulation
If version or environment details matter, ask early. The most useful missing details are usually: