An agent skill that teaches
Claude how to build native C SDK watchapps and watchfaces for Pebble
smartwatches using the local pebble command-line SDK — the 2025 rePebble
revival (SDK 4.x, developer.repebble.com).
It packages the full development loop into a form Claude can use on demand:
scaffold a project, write C against the Pebble API, build a .pbw, run it in the
QEMU emulator or on a real watch, read logs, and publish to the appstore.
- The
pebbleCLI workflow — SDK install,new-project,build,install --emulator,logs,screenshot, emulator simulation (emu-button,emu-tap,emu-battery, …), andpublish. - The C UI & graphics APIs —
Window,Layer,TextLayer,BitmapLayer,MenuLayer,ActionBarLayer,ScrollLayer,ActionMenu, customLayerUpdateProcdrawing, fonts, colors, and PDC vector icons. - Input & navigation — buttons/clicks, the window stack, multi-window flows.
- Phone communication & data — AppMessage, PebbleKit JS, Clay config pages, web requests, persistent storage, timers/wakeups, and event services (battery / connection / health).
- Cross-platform & memory discipline — per-platform builds
(
aplite/basalt/chalk/diorite/emery/gabbro), thePBL_IF_*_ELSEmacros, memory limits, and the create/destroy + static-buffer rules that prevent almost all crashes.
Works across Claude Code, Cursor, Codex, and many other agents via the skills.sh ecosystem:
# Install for all detected agents (interactive)
npx skills add stefanoverna/pebble-watchapp-skill
# Or target a specific agent and install globally
npx skills add stefanoverna/pebble-watchapp-skill -a claude-code -gUpdate later with npx skills update pebble-watchapp.
Clone this repository directly into your Claude skills directory:
git clone https://github.com/stefanoverna/pebble-watchapp-skill.git \
~/.claude/skills/pebble-watchappUpdate later with git -C ~/.claude/skills/pebble-watchapp pull.
Either way, Claude loads the skill automatically whenever you ask about Pebble
app or watchface work (e.g. "scaffold a Pebble watchface", "pebble build",
"wire up an AppMessage handler").
| Path | Purpose |
|---|---|
SKILL.md |
Skill manifest + the core workflow Claude follows. |
references/cli-and-project.md |
pebble CLI reference, SDK install, project layout, package.json manifest. |
references/ui-and-graphics.md |
App lifecycle, windows, layers, drawing, text, fonts, bitmaps, time. |
references/interaction.md |
Buttons, menus, action bars, navigation, vibration, backlight. |
references/communication-and-data.md |
AppMessage, PebbleKit JS, Clay, storage, timers, services, logging. |
references/platforms-and-memory.md |
Per-platform specs, conditional compilation, memory limits, publishing. |
assets/watchapp-template/ |
A minimal, correct starter watchapp to copy and build on. |
The skill drives the local Pebble toolchain. To actually build and run apps you need the rePebble SDK installed:
brew install node
uv tool install pebble-tool
pebble sdk install latestSee references/cli-and-project.md for full
setup details (including Linux).
MIT © Stefano Verna. Pebble and rePebble are trademarks of their respective owners; this skill is an independent, unofficial resource.