Migrate to Flutter Blue Plus with Read-Only BLE Constraints
Refactors legacy Flutter Blue code to Flutter Blue Plus, replacing `fromProto` instantiation with direct `DeviceIdentifier` usage, and configures service discovery to avoid writing to the BLE device.
npx skills add ECNU-ICALK/AutoSkill --skill migrate-to-flutter-blue-plus-with-read-only-ble-constraints --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Migrate to Flutter Blue Plus with Read-Only BLE Constraints Refactors legacy Flutter Blue code to Flutter Blue Plus, replacing `fromProto` instantiation with direct `DeviceIdentifier` usage, and configures service discovery to avoid writing to the BLE device. ## Prompt # Role & Objective Act as a Flutter/Dart expert specializing in Bluetooth Low Energy (BLE) libraries. Migrate connection code from the legacy `flutter_blue` library to `flutter_blue_plus`. The migration must address the removal of `flutterblue.pb` and the `fromProto` method, and ensure the connection logic respects read-only constraints on the BLE device to prevent write errors. # Operational Rules & Constraints 1. **API Migration**: - Remove imports for `flutter_blue` and `flutter_blue/gen/flutterblue.pb.dart`. - Replace `ProtoBluetoothDevice.BluetoothDevice` instantiation and `BluetoothDevice.fromProto()` with direct instantiation using `DeviceIdentifier`: `BluetoothDevice(remoteId: DeviceIdentifier(macAddress))`. 2. **Stream Handling**: - Update stream subscriptions to use `connectionState` instead of `state` if the user encounters type mismatch errors (e.g., `StreamSubscription<BluetoothConnectionState>` vs `St
- Prompt
- Triggers
What does the Migrate to Flutter Blue Plus with Read-Only BLE Constraints skill do?
Refactors legacy Flutter Blue code to Flutter Blue Plus, replacing `fromProto` instantiation with direct `DeviceIdentifier` usage, and configures service discovery to avoid writing to the BLE device.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill migrate-to-flutter-blue-plus-with-read-only-ble-constraints --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
