agentleFS
easyzoomeasyzoom/aix-skills/skills/embedded-app-example-libs/SKILL.md

embedded-app-example-libs

Skill36 starsChanged 5 months agoMITView on GitHub

Use when studying, adapting, porting, or debugging embedded application example projects such as ESP32-IoT-Platform, HomeAutomation, CanBus-Triple, or TinyGameEngine

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill for application-level example projects and demo frameworks.

    line 10
  2. Distinctive:

    Use this skill when:

    line 14
  3. Distinctive:

    Do not use this skill for small standalone libraries with clear APIs.

    line 20
  4. Distinctive:

    Remove demo credentials, hardcoded cloud endpoints, keys, and private IDs.

    line 44
  5. Distinctive:

    Run a minimal app flow on the target before adding features.

    line 47
  6. Distinctive:

    Before claiming adaptation works:

    line 59

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Embedded App Example Libs

Overview

Use this skill for application-level example projects and demo frameworks. Treat them as reference implementations to extract patterns from, not as drop-in libraries, unless the target platform and product requirements match closely.

When To Use

Use this skill when:

  • The user wants to adapt ESP32-IoT-Platform, HomeAutomation, CanBus-Triple, TinyGameEngine, or a similar example project.
  • The task involves extracting architecture, drivers, protocols, UI/game loops, CAN logic, automation flows, or platform services from a demo.
  • The user wants to port an example to a different board, RTOS, SDK, or product.

Do not use this skill for small standalone libraries with clear APIs. Use the relevant integration skill instead.

First Questions

Ask for:

  • Example project name, source, and target board.
  • What should be reused: architecture, driver, protocol, UI, game engine, automation flow, or build system.
  • Current target platform and differences from the example.
  • Dependencies: SDK, RTOS, network, display, storage, CAN, sensors, or cloud.
  • Whether this is learning, prototype, or production work.

Adaptation Checklist

  1. Identify reusable layer. Separate product idea, app logic, drivers, middleware, and build system.
  2. Compare platform assumptions. SDK version, pin mapping, memory, RTOS, filesystem, network, and peripherals must match or be adapted.
  3. Avoid wholesale copy. Extract the smallest pattern or module that solves the user's problem.
  4. Replace secrets and endpoints. Remove demo credentials, hardcoded cloud endpoints, keys, and private IDs.
  5. Verify one scenario. Run a minimal app flow on the target before adding features.

Common Failures

  • Copying an entire demo and inheriting unused dependencies.
  • Keeping board-specific pin maps or credentials.
  • Treating example timing and memory as production-ready.
  • Porting cloud or home automation flows without defining security and update policy.
  • Adapting game/UI loops without measuring frame time and input latency.

Verification

Before claiming adaptation works:

  • State what was reused and what was intentionally not reused.
  • Confirm target board, SDK, dependencies, and pin/config changes.
  • Confirm one end-to-end scenario on target or simulator.
  • Confirm secrets/private endpoints were not copied.

Example

User:

想参考一个 ESP32-IoT-Platform 做自己的家居控制。

Agent:

  1. Asks which parts to reuse: Wi-Fi provisioning, MQTT, device model, UI, or storage.
  2. Separates reusable architecture from board-specific code.
  3. Checks secrets, OTA/update policy, and one minimal control flow before expanding.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.