corebluetooth
БесплатноБез исполняемых скриптовНе проверенApple Core Bluetooth framework for BLE and Bluetooth Classic. Use for central/peripheral workflows, scanning, connecting, advertising, GATT…
Об этом скилле
Core Bluetooth
What to open
- Use
corebluetooth/AboutCoreBluetooth.mdandcorebluetooth/CoreBluetoothOverview.mdfor concepts and role orientation. - Use
corebluetooth/PerformingCommonCentralRoleTasks.mdfor step-by-step central workflows. - Use
corebluetooth/PerformingCommonPeripheralRoleTasks.mdfor step-by-step peripheral workflows. - Use
corebluetooth/BestPracticesforInteractingwithaRemotePeripheralDevice.mdandcorebluetooth/BestPracticesforSettingUpYourLocalDeviceasaPeripheral.mdfor pitfalls and best practices. - Use
corebluetooth/CoreBluetoothBackgroundProcessingforiOSApps.mdfor background modes and lifecycle constraints. - Use
corebluetooth/BluetoothStateRestorationAppReaunchRules.mdfor state restoration app relaunch rules. - Use
corebluetooth/corebluetooth.mdfor API quick maps and symbol lookup.
Workflow
- Identify whether the app acts as a central, a peripheral, or both.
- Wait for the manager state to be
poweredOnbefore issuing BLE operations. - Follow the role checklist to keep discovery and connection order correct.
- Open the role task guide and best practices first; use the API reference for exact signatures.
Central checklist
- Create a
CBCentralManagerwith a delegate and queue. - Handle
centralManagerDidUpdateState(_:)and gate scanning on.poweredOn. - Scan with
scanForPeripherals(withServices:options:)and stop when the target is found. - Connect, set the
CBPeripheraldelegate, and discover services and characteristics. - Read, write, or subscribe to characteristic notifications as needed.
Peripheral checklist
- Create a
CBPeripheralManagerwith a delegate and queue. - Wait for the state to become
.poweredOn. - Define services and characteristics, then add them to the manager.
- Start advertising with service UUIDs and optional local name.
- Respond to read and write requests; publish updates to subscribed centrals.
Reminders
- Retain discovered
CBPeripheralinstances to keep them alive. - Use notifications for streaming data; use write-without-response only when
canSendWriteWithoutResponseis true. - Use L2CAP only for use cases that do not fit GATT characteristics.
Установить corebluetooth в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл corebluetooth?
Apple Core Bluetooth framework for BLE and Bluetooth Classic. Use for central/peripheral workflows, scanning, connecting, advertising, GATT services/characteristics, read/write/notify, L2CAP, background processing or state restoration, and error handling across Apple platforms.
Как установить скилл corebluetooth?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл corebluetooth запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic