AGENT SKILL
tinygo
Use this skill when the user wants to compile Go for microcontrollers, WebAssembly, or constrained environments — smaller binaries than standard Go with board-specific targets.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- tinygo
- description
- Use this skill when the user wants to compile Go for microcontrollers, WebAssembly, or constrained environments — smaller binaries than standard Go with board-specific targets.
03 SKILL.md 正文
tinygo Plugin
TinyGo is a Go compiler for microcontrollers, WebAssembly, and systems with tight memory limits. Produces smaller binaries than go build and supports dozens of embedded boards.
Installation
brew install tinygo
# or download from https://tinygo.org/getting-started/
Basic Usage
# Check version and supported targets
tinygo version
# Build for WebAssembly
tinygo build -o app.wasm -target=wasm main.go
# Flash to a microcontroller (example: Arduino Nano 33)
tinygo flash -target=arduino-nano33 main.go
Common Patterns
# List available boards/targets
tinygo targets
# Build with size optimization
tinygo build -size=short -o firmware.elf main.go
# Run on host (simulator)
tinygo run main.go
Usage Examples
- "Compile this Go program to WebAssembly with tinygo"
- "Flash firmware to an Arduino Nano 33"
- "List tinygo supported targets"
SuperCLI
sc tinygo _ _ version
sc tinygo _ _ build -o out.wasm -target=wasm main.go
sc plugins learn tinygo
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57