Specialist skill for Monkey C on the Garmin Connect IQ platform. Use when developing Garmin smartwatch or wearable apps (Watch Face, Device App, Widget, Data Field, etc.) or when writing, debugging, or refactoring Monkey C code.
Ships in monkey-c. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Reference: https://developer.garmin.com/connect-iq/monkey-c/
Monkey C is an object-oriented language created by Garmin for the Connect IQ platform. It blends syntax from Java, JavaScript, Python, and Ruby, and supports dynamic typing and duck typing.
| Type | Description |
|---|---|
| Watch Face | Customize the watch display |
| Device App | Full app with complete access to device resources |
| Widget | Information card in the main carousel |
| Data Field | Custom metric display on the activity screen |
| Audio Content Provider | Integration with third-party audio services |
var count = 0; // variable
const MAX = 100; // constant
using Toybox.Application as App;
class MyApp extends App.AppBase {
function initialize() {
AppBase.initialize();
}
function getInitialView() {
return [new MyView(), new MyDelegate()];
}
}
function add(a, b) {
return a + b;
}
// if/else
if (value > 0) {
// ...
} else if (value == 0) {
// ...
} else {
// ...
}
// for
for (var i = 0; i < 10; i++) {
// ...
}
// while
while (condition) {
// ...
}
// switch
switch (value) {
case 1:
break;
default:
break;
}
using Toybox.WatchUi as Ui;
using Toybox.Graphics as Gfx;
using Toybox.System as Sys;
using Toybox.Activity as Act;
| Module | Purpose |
|---|---|
Toybox.Application | App lifecycle management |
Toybox.WatchUi | UI views, delegates, and menus |
Toybox.Graphics | Drawing graphics (drawText, drawLine, etc.) |
Toybox.System | System info, println debug output |
Toybox.Activity | Current activity data |
Toybox.ActivityMonitor | Daily activity: steps, calories, etc. |
Toybox.Sensor | Sensors: heart rate, altitude, barometer, etc. |
Toybox.SensorHistory | Historical sensor data |
Toybox.Communications | BLE, HTTP requests |
Toybox.Ant / Toybox.AntPlus | ANT+ connectivity |
Toybox.Time | Date and time handling |
Toybox.Position | GPS location |
Toybox.Math | Math functions |
Toybox.Lang | Basic types and collections |
Toybox.StringUtil | String utilities |
Toybox.Cryptography | Cryptography |
Toybox.Timer | Timers |
using Toybox.WatchUi as Ui;
using Toybox.Graphics as Gfx;
using Toybox.System as Sys;
class MyWatchFaceView extends Ui.WatchFace {
function initialize() {
WatchFace.initialize();
}
function onLayout(dc) {
// initialize layout
}
function onUpdate(dc) {
// screen refresh (called every second or minute)
var clockTime = Sys.getClockTime();
var hour = clockTime.hour;
var min = clockTime.min;
dc.setColor(Gfx.COLOR_BLACK, Gfx.COLOR_BLACK);
dc.clear();
dc.setColor(Gfx.COLOR_WHITE, Gfx.COLOR_TRANSPARENT);
dc.drawText(
dc.getWidth() / 2,
dc.getHeight() / 2,
Gfx.FONT_LARGE,
hour.format("%02d") + ":" + min.format("%02d"),
Gfx.TEXT_JUSTIFY_CENTER | Gfx.TEXT_JUSTIFY_VCENTER
);
}
}
onUpdate() — cache results instead.manifest.xml.Sys.println("msg"). Remove before releasing.This skill directory contains official documentation saved as local markdown files. When writing code or looking up APIs, always consult the local docs below first. Do not open external URLs or guess — Read the local files for accurate information.
| File | Contents |
|---|---|
| overview/monkey-c.md | Basic syntax overview |
| overview/monkey-types.md | Data types in detail |
| overview/objects-and-memory.md | Object and memory model |
| overview/functions.md | Defining and calling functions |
| overview/containers.md | Array and Dictionary |
| overview/exceptions-and-errors.md | Exception handling |
| overview/annotations.md | Annotations |
| overview/compiler-options.md | Compiler options |
| overview/coding-conventions.md | Coding conventions |
| File | Contents |
|---|---|
| references/monkey-c-reference.md | Full Monkey C language reference |
| references/jungle-reference.md | Jungle build configuration language |
| references/monkey-c-command-line-setup.md | CLI build and simulator |
| references/visual-studio-code-extension.md | VS Code extension usage |
| references/monkey-motion-reference.md | Animation conversion tool |
| references/monkey-graph-reference.md | FIT data visualization tool |
Structured as api-docs/Toybox/<Module>.md or api-docs/Toybox/<Module>/<Class>.md.
When looking up a specific class or method, Read the file at the corresponding path directly.
Key entry points:
Commonly used modules:
api-docs/Toybox/WatchUi.md, api-docs/Toybox/WatchUi/View.mdapi-docs/Toybox/Graphics.md, api-docs/Toybox/Graphics/Dc.mdapi-docs/Toybox/Application/AppBase.mdapi-docs/Toybox/System.md, api-docs/Toybox/Sensor.mdNOTICE.md (opens in a new tab)api-docs/Toybox/Activity.md (opens in a new tab)api-docs/Toybox/Activity/Info.md (opens in a new tab)api-docs/Toybox/Activity/ProfileInfo.md (opens in a new tab)api-docs/Toybox/Activity/SplitInfo.md (opens in a new tab)api-docs/Toybox/Activity/WorkoutIntervalStep.md (opens in a new tab)api-docs/Toybox/Activity/WorkoutStep.md (opens in a new tab)api-docs/Toybox/Activity/WorkoutStepInfo.md (opens in a new tab)api-docs/Toybox/ActivityMonitor.md (opens in a new tab)api-docs/Toybox/ActivityMonitor/ActiveMinutes.md (opens in a new tab)api-docs/Toybox/ActivityMonitor/HeartRateIterator.md (opens in a new tab)api-docs/Toybox/ActivityMonitor/HeartRateSample.md (opens in a new tab)api-docs/Toybox/ActivityMonitor/History.md (opens in a new tab)api-docs/Toybox/ActivityMonitor/Info.md (opens in a new tab)api-docs/Toybox/ActivityPrompts.md (opens in a new tab)api-docs/Toybox/ActivityPrompts/ActivityPrompt.md (opens in a new tab)api-docs/Toybox/ActivityPrompts/ActivityPromptDelegate.md (opens in a new tab)api-docs/Toybox/ActivityRecording.md (opens in a new tab)api-docs/Toybox/ActivityRecording/Session.md (opens in a new tab)api-docs/Toybox/Ant.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/monkey-c:monkey-cfrom monkey-c
npx claudepluginhub rishubil/skills --plugin monkey-c