Logotipo de Embedded Library Entry

Embedded Library Entry

Comunidad
easyzoom
embedded-library-entry

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

Descripción general

Editoreasyzoom
Repositorioaix-skills
Nombre de la habilidadembedded-library-entry
Estrellas
39
Forks
5
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por easyzoom en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Embedded Library Entry en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/easyzoom/aix-skills/tree/main/skills/embedded-library-entry
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Embedded Library Entry en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Embedded Library Entry automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Embedded Library Entry no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Preguntas frecuentes

¿Qué hace la habilidad de IA Embedded Library Entry?

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

¿Por qué usar Embedded Library Entry en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Embedded Library Entry está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Embedded Library Entry en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/easyzoom/aix-skills/tree/main/skills/embedded-library-entry. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Embedded Library Entry?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Embedded Library Entry?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Embedded Library Entry con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Embedded Library Entry?

Sí. easyzoom la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇