PP

priyankark/pebble-wf-agent-skill

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

36 stars 质量 47 趋势 12

制作鹅卵石表盘的特工技能

概览

注意:请使用官方的 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会:

  1. 设计表盘架构
  2. 生成所有源文件(C代码、package.json、脚本)
  3. 构建一个可立即安装的.pbw文件
  4. 测试在QEMU模拟器中
  5. **用截图进行视觉验证
  6. 通过应用图标和动画预览交付最终成果

表盘示例

这些表盘是利用该代理技能生成的,现已在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:

  1. Design the watchface architecture
  2. Generate all source files (C code, package.json, wscript)
  3. Build a ready-to-install .pbw file
  4. Test in the QEMU emulator
  5. Verify visually with screenshots
  6. 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:

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
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add priyankark/pebble-wf-agent-skill
新手?先看 mcpskill.org 教程 →