agentleFS
easyzoomeasyzoom/aix-skills/skills/embedded-framework-libs/SKILL.md

embedded-framework-libs

Skill36 starsChanged 5 months agoMITView on GitHub

Use when integrating, evaluating, configuring, or debugging embedded C framework libraries such as PLOOC, Avem, or PowerManagement

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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 framework-style embedded libraries that shape project architecture rather than one feature.

    line 10
  2. Distinctive:

    Use this skill when:

    line 14
  3. Distinctive:

    Do not use this skill for small single-purpose utility libraries that can be integrated locally without architecture impact.

    line 20
  4. Distinctive:

    Keep platform hooks isolated.

    line 43
  5. Distinctive:

    Before claiming framework integration 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 Framework Libs

Overview

Use this skill for framework-style embedded libraries that shape project architecture rather than one feature. Cover PLOOC, Avem, PowerManagement, and similar libraries by focusing on ownership, lifecycle, configuration, coupling, and migration risk.

When To Use

Use this skill when:

  • The user wants to add or evaluate PLOOC, Avem, PowerManagement, or a similar embedded framework.
  • The task involves object-oriented C patterns, module architecture, power-management framework integration, lifecycle hooks, or broad project restructuring.
  • The user is unsure whether a framework is appropriate for a small MCU project.

Do not use this skill for small single-purpose utility libraries that can be integrated locally without architecture impact.

First Questions

Ask for:

  • Library/framework name and source.
  • Existing project architecture and target MCU/RTOS.
  • Problem the framework is meant to solve.
  • Code size, RAM, timing, safety, and team familiarity constraints.
  • Whether this is greenfield, migration, or partial adoption.

Integration Checklist

  1. Validate need. Confirm the framework solves a real recurring problem and is not added for style alone.
  2. Define boundary. Decide which modules use the framework and which remain plain C.
  3. Check lifecycle. Init, start, stop, suspend, resume, and deinit order must be explicit.
  4. Keep platform hooks isolated. Hardware, RTOS, allocator, timebase, and logging hooks should not leak across application modules.
  5. Migrate incrementally. Wrap one small module first and verify behavior before broad adoption.

Common Failures

  • Applying an OOP-in-C framework to every file and increasing complexity.
  • Hidden dynamic allocation in a no-heap project.
  • Power-management hooks conflict with drivers or RTOS idle.
  • Initialization order becomes implicit and fragile.
  • Framework abstractions hide timing-critical hardware operations.

Verification

Before claiming framework integration works:

  • State the specific problem solved and the modules in scope.
  • Confirm init/lifecycle order and platform hooks.
  • Confirm code size/RAM impact if relevant.
  • Confirm one migrated module works and rollback is possible.

Example

User:

想在老项目里引入 PLOOC 整理模块。

Agent:

  1. Asks what module complexity PLOOC should solve and which modules are in scope.
  2. Recommends one pilot module instead of whole-project migration.
  3. Verifies code size, init order, and whether the abstraction improves testing/debugging.

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.