Agent skill

Platform Port

by FastLED in FastLED/FastLED

Guide porting FastLED to new MCU platforms, including int.h types, clockless drivers, SPI implementations, and platform detection.

MITAuto-check passedDevelopment

Install Platform Port

skills CLI
$ npx skills add FastLED/FastLED --skill platform-port -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install FastLED/FastLED platform-port --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/FastLED/FastLED.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/platform-port .claude/skills/platform-port && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
platform-port
GitHub stars
7.5k
Token cost
~580 tokens
SKILL.md length
212 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Guide porting FastLED to new MCU platforms, including int.h types, clockless drivers, SPI implementations, and platform detection.

  • Adding support for a new microcontroller family
  • SKILL.md covers What This Skill Covers, How To Use and What You'll Get
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Embedded systems

What it does

Platform Port is an agent skill from FastLED/FastLED. Guide porting FastLED to new MCU platforms, including int.h types, clockless drivers, SPI implementations, and platform detection. Use when adding support for a new microcontroller family or board.

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Embedded systems. The repository describes itself as: The FastLED library for colored LED animation on Arduino. Please direct questions/requests for help to the FastLED Reddit community: http://fastled.io/r We'd like to use github… The licence is MIT.

When your agent uses it

  • Adding support for a new microcontroller family
  • Tasks that involve Embedded systems

Example prompts

  • “/platform-port”

What it can do on your machine

Read from SKILL.md and the folder at commit ce225ed. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Platform Port loads about 580 tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 212 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~580

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from FastLED/FastLED at commit ce225ed, republished under its MIT licence (© FastLED). 212 words, ~580 tokens.

Download SKILL.mdSave it as .claude/skills/platform-port/SKILL.md (or your agent's skills folder).
name
platform-port
description
Guide porting FastLED to new MCU platforms, including int.h types, clockless drivers, SPI implementations, and platform detection. Use when adding support for a new microcontroller family or board.
argument-hint
<target platform name, e.g., "STM32H7", "RP2040", "nRF52840">
context
fork
agent
platform-port-agent

Guide the process of porting FastLED to a new microcontroller platform.

$ARGUMENTS

What This Skill Covers

Platform Detection Setup
  • Create platform detection headers (is_<platform>.h)
  • Define FL_IS_<PLATFORM> macros following naming convention
  • Wire into existing detection chain (src/platforms/)
Integer Type Definitions
  • Create platform-specific int.h with correct primitive type mappings
  • Register in the src/platforms/int.h dispatcher
LED Output Drivers
  • Clockless (bit-bang) driver implementation
  • SPI hardware driver if platform supports it
  • RMT/I2S/PARLIO drivers for ESP32 variants
  • GPIO register access patterns for the target MCU
  • Peripheral existence check FIRST — before naming any <Peripheral>_Type typedef or <Peripheral>_BASE address, verify the peripheral EXISTS on the target chip against BOTH the vendor CMSIS PAL header for that specific variant AND the chip's datasheet chapter. See agents/docs/peripheral-existence.md for the halt-on-phantom rule and the LPC804 anti-example (framework-arduino-lpc8xx#35).
  • Register-map authoring — use the vendor CMSIS PAL header (LPC845.h, stm32f4xx.h, nrf52840.h, hardware/structs/*.h, etc.); do not hand-roll register shims. See agents/docs/register-maps.md for the rule, the vendor-source table, and the tier-1/2/3 integration pattern.
Build System Integration
  • fbuild board definition (ci/boards.py)
  • Meson build configuration
  • Compiler flags and linker scripts

How To Use

/platform-port STM32H7
/platform-port RP2040
/platform-port nRF52840
/platform-port I need to add support for the ESP32-P4

What You'll Get

  • Step-by-step porting checklist with file locations
  • Platform detection header template
  • Integer type mapping research and implementation
  • Clockless driver skeleton based on platform GPIO speed
  • Build system configuration guidance
  • Testing strategy for the new platform

© FastLED, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/platform-port of FastLED/FastLED.

Open the folder on GitHubat commit ce225ed

Compare with similar skills

Platform Port next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Platform Port compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Platform Port this skillFastLED/FastLED7.5k—~580Automated safety check: PassMIT
Authoring VPhone Patch SetsLakr233/vphone-cli15k—~4.6kAutomated safety check: PassMIT
Sipeed I2C and SPI Hardware Controlsipeed/picoclaw30k—~578Automated safety check: PassMIT
RuView Hardware Setupruvnet/RuView97k—~1.8kAutomated safety check: NotesMIT
Esp32 Firmware Engineeralxv2016/folloup-sticky1161 repos~3.8kAutomated safety check: PassGPL-3.0
ExecuTorch Binary Size Reductionpytorch/executorch5.1k—~793Automated safety check: PassCustom licence

Similar skills

  • Authoring VPhone Patch Sets

    Lakr233/vphone-cli

    Explains how to declare a firmware patch in a vphone patch set, add a new set, or write a preset, including naming, gating and the checks that catch undeclared patches.

    15k GitHub stars~4.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Reads and controls I2C and SPI peripherals on Sipeed boards such as LicheeRV Nano, MaixCAM and NanoKVM through the i2c and spi tools.

    30k GitHub stars~578 tokensUpdated 14 days ago
    DevelopmentAuto-check passed
  • Brings a RuView CSI sensing node online by building ESP32-S3 or ESP32-C6 firmware, flashing the board, provisioning WiFi and checking the serial output.

    97k GitHub stars~1.8k tokensUpdated today
    DevelopmentAuto-check: notes
  • Esp32 Firmware Engineer

    alxv2016/folloup-sticky

    ESP32 firmware engineering for ESP-IDF projects. An agent skill from alxv2016/folloup-sticky.

    116 GitHub starsUsed in 1 repo~3.8k tokens
    DevelopmentAuto-check passed
  • Measures and shrinks the ExecuTorch runtime binary by building a size test, analyzing it with bloaty and landing each reduction as its own pull request.

    5.1k GitHub stars~793 tokensUpdated today
    DevelopmentAuto-check passed
  • Sets up and runs 60 GHz and 24 GHz mmWave radar sensing on ESP32 boards in RuView, alone or fused with WiFi CSI.

    97k GitHub stars~907 tokensUpdated today
    DevelopmentAuto-check: notes

More from FastLED/FastLED

All 23 skills in this repo
  • CI Fix

    FastLED/FastLED

    Scan all CI builds and tests, find failures, fetch error logs, and fix the code.

    7.5k GitHub stars~897 tokensUpdated today
    Auto-check passed
  • Driver Review

    FastLED/FastLED

    Review and implement hardware driver code — DMA safety, interrupt correctness, timing constraints, peripheral register usage, channel drivers, and peripheral mock implementations.

    7.5k GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • Embedded Debug

    FastLED/FastLED

    Firmware crash analysis, stack trace decoder, and register dump interpreter for ESP32/ARM/AVR platforms.

    7.5k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Esp32 Log Triage

    FastLED/FastLED

    Parse and classify ESP32 serial log output to identify FastLED-related errors, RMT/I2S/SPI driver faults, timing violations, RTOS issues, and crash signatures.

    7.5k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Memory Audit

    FastLED/FastLED

    Audit embedded code for stack overflow risks, heap fragmentation, static allocation patterns, and memory leaks.

    7.5k GitHub stars~488 tokensUpdated today
    Auto-check passed
  • TDD

    FastLED/FastLED

    Guide Test-Driven Development workflow for FastLED. An agent skill from FastLED/FastLED.

    7.5k GitHub stars~848 tokensUpdated today
    Auto-check passed

Categories

Questions about Platform Port

What does Platform Port do?

Guide porting FastLED to new MCU platforms, including int.h types, clockless drivers, SPI implementations, and platform detection. Platform Port is an agent skill from FastLED/FastLED.h types, clockless drivers, SPI implementations, and platform detection.

When should I use Platform Port?

Platform Port fits situations like: adding support for a new microcontroller family; tasks that involve Embedded systems.

How do I install Platform Port in Claude Code?

Run `npx skills add FastLED/FastLED --skill platform-port -a claude-code`. Or copy the skill folder (.claude/skills/platform-port in FastLED/FastLED) into .claude/skills/platform-port in your project. Claude Code loads it when a task matches its description.

How do I install Platform Port in Codex?

Run `npx skills add FastLED/FastLED --skill platform-port -a codex`. Or copy the skill folder (.claude/skills/platform-port in FastLED/FastLED) into .agents/skills/platform-port in your project. Codex loads it when a task matches its description.

Can I use Platform Port in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add FastLED/FastLED --skill platform-port -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/platform-port, .gemini/skills/platform-port, .github/skills/platform-port and .opencode/skills/platform-port in your project.

What does Platform Port need to run?

SKILL.md names no scripts, command-line tools or credentials: Platform Port is instructions for the agent only.

Does Platform Port access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Platform Port safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Platform Port use?

Platform Port is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Platform Port use?

About 580 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Platform Port?

Skills that share tags, products or a category with Platform Port: Authoring VPhone Patch Sets (Lakr233/vphone-cli, 15k stars), Sipeed I2C and SPI Hardware Control (sipeed/picoclaw, 30k stars), RuView Hardware Setup (ruvnet/RuView, 97k stars) and Esp32 Firmware Engineer (alxv2016/folloup-sticky, 116 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Platform Port?

FastLED (a GitHub organization) maintains it in FastLED/FastLED, which has 7,505 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 8, 2026.

Source: FastLED/FastLED on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.