بنقرة واحدة
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.