Embedded Library Entryのロゴ

Embedded Library Entry

コミュニティ
easyzoom
embedded-library-entry

Use when integrating, porting, configuring, or debugging third-party MCU embedded C libraries in bare-metal or RTOS projects

概要

公開者easyzoom
リポジトリaix-skills
スキル名embedded-library-entry
スター
39
フォーク
5
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    easyzoomがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルEmbedded Library EntryをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/easyzoom/aix-skills/tree/main/skills/embedded-library-entry
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/easyzoom/aix-skills.git /tmp/aix-skills
mkdir -p .claude/skills
cp -r /tmp/aix-skills/skills/embedded-library-entry .claude/skills/embedded-library-entry
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでEmbedded Library Entryを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にEmbedded Library Entryを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Embedded Library Entryは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Embedded Library Entry

Overview

Use this skill as the entry point for MCU library integration work. Classify the library type, target platform, runtime model, resource limits, and required porting layer before routing to a specific library skill.

When To Use

Use this skill when:

  • The user wants to add, port, configure, or debug an embedded C library.
  • The task involves MCU storage, logging, crash diagnosis, shell commands, filesystems, protocol stacks, UI, parsers, buttons, timers, queues, or state machines.
  • The target may be bare metal, RTOS-based, or resource-constrained.

Do not use this skill when the problem is only board bring-up, flashing, serial logs, or architecture faults. Use the embedded debug skills first.

First Questions

Ask only what is needed to route:

  • Library name and version or source repository.
  • Target MCU/SoC, compiler, and build system.
  • Runtime model: bare metal, FreeRTOS, RT-Thread, Zephyr, Linux, or unknown.
  • Memory/storage resources: RAM, flash, block device, filesystem, heap, stack, and whether dynamic allocation is allowed.
  • Existing porting layer: file I/O, flash driver, UART, timebase, mutex, malloc, display, network, or shell transport.
  • Current task: first integration, compile error, link error, runtime failure, performance issue, or data corruption.

Routing Guide

Storage & Filesystem

Library or taskPrefer
littlefs filesystem or block devicelittlefs-integration
FatFs disk I/O, FAT/exFATfatfs-integration
FlashDB KV/time-series databaseflashdb-integration

Logging & Diagnosis

Library or taskPrefer
EasyLogger output, filters, async logseasylogger-integration
CmBacktrace Cortex-M crash backtracecmbacktrace-integration
SEGGER RTT logs, control block, J-Link I/Osegger-rtt-integration

Shell & CLI

Library or taskPrefer
letter-shell command shellletter-shell-integration
nr_micro_shell tiny CLInr-micro-shell-integration
zoom-shell embedded consolezoom-shell-integration

Networking & Protocols

Library or taskPrefer
lwIP netif, DHCP, TCP, UDPlwip-integration
FreeRTOS+TCP network driver, socketsfreertos-plus-tcp-integration
MQTT client, keepalive, QoS, TLSmqtt-embedded-integration
FreeModbus RTU, ASCII, TCPfreemodbus-integration
OpenThread radio, mesh, commissioningopenthread-integration
CAN bus library, MCP2515, bit timingcanbus-integration
CANopen OD, NMT, SDO, PDO, heartbeatcanopen-integration
BLE GATT services, characteristics, MTUble-gatt-integration

UI & Display

Library or taskPrefer
LVGL display, input, tick, draw bufferslvgl-integration
U8g2 monochrome display, fontsu8g2-integration
E-paper EPD, busy timing, refresh modesepd-integration
TJpgDec embedded JPEG decodingtjpgd-integration

Security & Crypto

Library or taskPrefer
mbedTLS entropy, certificates, TLS handshakembedtls-integration
micro-ecc ECDH, ECDSA, keys, signaturesmicro-ecc-integration
TinyCrypt AES, SHA, HMAC, ECCtinycrypt-integration

Data & Serialization

Library or taskPrefer
cJSON, jsmn, inih parsersembedded-data-parsing-libs
nanopb Protocol Buffersnanopb-integration
CRC, checksum, integrity checkscrc-checksum-integration

USB & Transfer

Library or taskPrefer
TinyUSB device, host, CDC, MSC, HIDtinyusb-integration
XMODEM/YMODEM serial transfer, bootloaderymodem-xmodem-integration

Boot & OTA

Library or taskPrefer
MCUboot secure boot, slots, signingmcuboot-integration
OTA package, transport, rollbackota-update-integration

Compression

Library or taskPrefer
miniz DEFLATE, zlib, ZIPminiz-integration
heatshrink streaming compressionheatshrink-integration

DSP & ML

Library or taskPrefer
CMSIS-DSP math, FFT, filterscmsis-dsp-integration
TinyMaix MCU inference, model loadingtinymaix-integration

Input, Timers & State Machines

Library or taskPrefer
MultiButton, FlexibleButtonembedded-input-libs
MultiTimer, software timersembedded-timing-libs
Ring buffer, FIFO, MCU queuesembedded-buffer-queue-libs
State machine librariesembedded-state-machine-libs

Frameworks & Patterns

Library or taskPrefer
PLOOC object-oriented Cplooc-integration
Avem event-driven componentsavem-integration
Power management frameworkpower-management-integration
Embedded app examples adaptationembedded-app-example-libs

Testing

Library or taskPrefer
Unity, Ceedling, CMock embedded C testsunity-ceedling-integration

Fallback (not a library issue)

SymptomPrefer
MCU flash, erase, verify failuremcu-flashing-debug
UART transport or missing logsembedded-serial-log-debug
RTOS task, mutex, queue, stack issuertos-debug
Board power, reset, pin, or signal issuehardware-interface-debug

Workflow

  1. Route by library responsibility. Identify whether the library depends on storage, UART, RTOS primitives, heap, timers, display, network, or flash erase/program operations.

  2. Confirm platform contracts. Ask for the porting hooks the library expects and the project already provides.

  3. Preserve data and flash. Formatting filesystems, erasing database partitions, wiping logs, or changing flash layout requires explicit user approval.

  4. Keep integration minimal. Bring up one smallest working path before enabling optional features such as async logging, wear leveling stress tests, shell authentication, or compression.

  5. Verify with a target-relevant scenario. A library compiles successfully only proves syntax. Require a read/write, log, shell command, or crash capture that exercises the port layer.

Verification

Before moving to a specific library workflow:

  • State the selected library skill and why.
  • State target MCU/RTOS/compiler/build system if known.
  • Identify required porting hooks and missing inputs.
  • Confirm no data-destructive action has been recommended without approval.

Common Failures

  • Treating a library as portable because it compiles on desktop.
  • Enabling all optional features before the minimal port works.
  • Ignoring flash erase size, write alignment, and power-fail behavior.
  • Debugging library logic before validating the porting layer.
  • Assuming malloc, mutexes, time functions, or file APIs exist on bare metal.

Example

User:

text
我想在 STM32 项目里加 littlefs 保存配置。

Agent:

  1. Routes to littlefs-integration.
  2. Asks for flash layout, erase/program sizes, bad block assumptions, RTOS locking, and whether formatting is allowed.
  3. Verifies mount, format-if-approved, file write, sync, reboot, and readback.

よくある質問

AIスキル「Embedded Library Entry」では何ができますか?

Use when integrating, porting, configuring, or debugging third-party MCU embedded C libraries in bare-metal or RTOS projects

TypingMindでEmbedded Library Entryを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Embedded Library Entryはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにEmbedded Library Entryをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/easyzoom/aix-skills/tree/main/skills/embedded-library-entryを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Embedded Library Entryを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Embedded Library Entryは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもEmbedded Library Entryを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Embedded Library Entry」は無料ですか?

はい。easyzoomがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇