
制作鹅卵石表盘的特工技能
概览
注意:请使用官方的 Core Devices 分支,它更有可能随时更新最新内容! https://github.com/coredevices/pebble-watchface-agent-skill 使用Claude代码生成完整且可组装的Pebble智能手表表面,包含完整的PBW伪影输出和QEMU模拟器测试。 本仓库包含一个可以将自然语言描述转换为功能齐全的Pebble表盘的工具。只需描述你想要的内容,Claude就会: 1. 表盘架构 2.所有源文件(C代码、package.json、脚本) 3.一个可立即安装的.pbw文件 4.在QEMU模拟器中 5.以视觉形式展示并附有截图 6.最终的应用图标和动画预览的痕迹 这些表盘是利用该代理技能生成的,现已在Rebble App Store上线: - 《剑士》- 动画版《波斯王子》剑斗场景- 《城堡骑士》- 动画中世纪城堡,骑士们进行比武 在使用这项技能之前,请确保你具备:
概述(AI 翻译)
注意:请使用官方的 Core Devices 分支,它更有可能随时更新最新内容!
https://github.com/coredevices/pebble-watchface-agent-skill
使用Claude代码生成完整且可组装的Pebble智能手表表面,包含完整的PBW伪影输出和QEMU模拟器测试。
这会带来什么
本仓库包含一项Claude代码技能,可将自然语言描述转化为功能齐全的Pebble表盘。只需描述你想要的内容,Claude会:
- 设计表盘架构
- 生成所有源文件(C代码、package.json、脚本)
- 构建一个可立即安装的
.pbw文件 - 测试在QEMU模拟器中
- **用截图进行视觉验证
- 通过应用图标和动画预览交付最终成果
表盘示例
这些表盘是利用该代理技能生成的,现已在Rebble App Store上线:
- 《剑士》——动画版波斯王子剑斗场景
- 城堡骑士 - 动画中世纪城堡,骑士们进行骑士竞技
先修条件
在使用这项技能之前,请确保你具备:
- Claude Code CLI 已安装并配置
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Pebble Watchface Generator Skill
Notice: Use the official Core Devices fork which is more likely to be kept updated with the latest!
https://github.com/coredevices/pebble-watchface-agent-skill
Generate complete, buildable Pebble smartwatch watchfaces using Claude Code with full PBW artifact output and QEMU emulator testing.
What This Does
This repository contains a Claude Code skill that transforms natural language descriptions into fully functional Pebble watchfaces. Simply describe what you want, and Claude will:
- Design the watchface architecture
- Generate all source files (C code, package.json, wscript)
- Build a ready-to-install
.pbwfile - Test in the QEMU emulator
- Verify visually with screenshots
- Deliver the final artifacts with app icons and animated previews
Sample Watchfaces
These watchfaces were generated using this agent skill and are live on the Rebble App Store:
- The Swordsmen - Animated Prince of Persia sword fighting scene
- Castle Knights - Animated medieval castle with jousting knights
Prerequisites
Before using this skill, ensure you have:
- Claude Code CLI installed and configured
- Pebble SDK Follow the instructions in the official documentation
- QEMU for emulator testing (bundled with Pebble SDK)
- Python 3 with Pillow (
pip install Pillow) for icon/GIF generation
Quick Start
1. Clone This Repository
git clone
cd pebble-wf-skill
2. Run Claude Code
claude
3. Ask for a Watchface
Simply describe what you want:
Create a retro digital watchface with a neon green display on black background
Or:
Make an animated watchface with floating bubbles and the time in the center
Claude will automatically invoke the pebble-watchface skill and handle everything from design to delivery.
How the Skill Works
Skill Location
.claude/skills/pebble-watchface/
├── SKILL.md # Main skill definition
├── reference/ # API documentation
│ ├── pebble-api-reference.md
│ ├── animation-patterns.md
│ └── drawing-guide.md
├── samples/ # Working example watchfaces
│ └── aqua-pbw/ # Animated aquarium watchface
├── scripts/ # Helper utilities
│ ├── create_app_icons.py
│ ├── create_preview_gif.py
│ ├── create_project.py
│ ├── generate_uuid.py
│ └── validate_project.py
└── templates/ # Code templates
├── animated-watchface.c
├── static-watchface.c
├── rocky-watchface.js
├── package.json.template
└── wscript.template
The 7-Phase Workflow
The skill follows a rigorous end-to-end workflow:
| Phase | What Happens |
|---|---|
| 1. Research | Gathers requirements, studies sample code patterns |
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add priyankark/pebble-wf-agent-skill