一键导入
pebble
Search Pebble SDK docs
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search Pebble SDK docs
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | pebble |
| description | Search Pebble SDK docs |
Activate whenever writing code for Pebble smartwatches, including watchfaces, watchapps, or anything using the Pebble C SDK. Use it before writing any SDK call you aren't 100% certain of — the C API docs are not in your training data.
Primary base URL: https://developer.repebble.com
If a page is missing on the Core Devices / RePebble site, fall back to the community mirror at https://developer.rebble.io.
The C API lives at /docs/c/ and is organized as:
/docs/c/{Module}/{Submodule}/
Each submodule page contains all functions, types, structs, and enums for that submodule. Symbols are anchor-linked: /docs/c/{Module}/{Submodule}/#{SymbolName}
Always fetch the submodule page, not the symbol anchor directly. The full page contains context about related symbols you'll want.
The docs index is a little different between the two sites:
developer.rebble.io guide URLs still work on developer.repebble.com.Foundation/ App/ App_Communication/ App_Glance/ AppMessage/ AppSync/ AppWorker/ DataLogging/ DataStructures/ UUID/ Dictation/ Dictionary/ Event_Service/ AccelerometerService/ AppFocusService/ BatteryStateService/ CompassService/ ConnectionService/ HealthService/ TickTimerService/ TouchService/ Exit_Reason/ Internationalization/ Launch_Reason/ Logging/ Math/ Memory_Management/ Platform/ Resources/ File_Formats/ Rocky/ Storage/ Timer/ Wakeup/ Wall_Time/ WatchInfo/ Alloy/
Graphics/ Draw_Commands/ Drawing_Paths/ Drawing_Primitives/ Drawing_Text/ Fonts/ Graphics_Context/ Graphics_Types/ Color_Definitions/
User_Interface/ Animation/ PropertyAnimation/ Clicks/ Layers/ ActionBarLayer/ BitmapLayer/ MenuLayer/ RotBitmapLayer/ ScrollLayer/ SimpleMenuLayer/ StatusBarLayer/ TextLayer/ Light/ Preferences/ Speaker/ UnobstructedArea/ Vibes/ Window/ ActionMenu/ NumberWindow/ Window_Stack/ Worker/
Standard_C/ Format/ Locale/ Math/ Memory/ String/ Time/
Identify which submodule the symbol belongs to using the tree above.
Fetch the submodule page: https://developer.repebble.com/docs/c/{Module}/{Submodule}/
Read the full page. It will contain all typedefs, structs, enums, and function signatures with parameters and descriptions.
Q: What are the parameters for text_layer_set_text()? → Fetch: https://developer.repebble.com/docs/c/User_Interface/Layers/TextLayer/
Q: How does BatteryChargeState work? → Fetch: https://developer.repebble.com/docs/c/Foundation/Event_Service/BatteryStateService/
Q: What drawing functions are available? → Fetch: https://developer.repebble.com/docs/c/Graphics/Drawing_Primitives/ and: https://developer.repebble.com/docs/c/Graphics/Graphics_Context/
Q: How do I subscribe to tick events? → Fetch: https://developer.repebble.com/docs/c/Foundation/Event_Service/TickTimerService/
Guides (conceptual, tutorial-style): https://developer.repebble.com/guides/
JavaScript/Rocky (JS on watch): https://developer.repebble.com/docs/rockyjs/
PebbleKit JS (phone-side JS): https://developer.repebble.com/docs/pebblekit-js/
APP_LOG is the debug logger, not printf.