agentleFS
wedsamuel1230wedsamuel1230/embedded-engineering-skills/skills/micropython-development/SKILL.md

micropython-development

Skill28 starsChanged 28 days agoMITView on GitHub

Develop and debug MicroPython firmware and Python applications using mpremote, REPL, board-specific ports and frozen modules. Use when requests involve MicroPython boot failures, heap limits, native firmware builds or device file transfer; not CPython.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the shared embedded contract and keep source/build, device and physical evidence separate.

    line 9
  2. Very specific:

    Read ports, REPL and recovery.

    line 12
  3. Very specific:

    Use a locked uv environment for mpremote.

    line 17
  4. Very specific:

    Use wrap-safe time.ticks_diff().

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

MicroPython Development

Read the shared embedded contract and keep source/build, device and physical evidence separate.

Read ports, REPL and recovery. Record the exact port/board, MicroPython revision and sys.implementation, sys.platform, os.uname() when available. Host CPython syntax checking is not MicroPython execution, and a Unix-port test does not establish MCU driver behavior.

Use a locked uv environment for mpremote; select an explicit serial device or hardware serial identity. Check mpremote --help and avoid auto-connecting an arbitrary first port. Commands may enter raw REPL, interrupt execution and perform a soft reset; this matters when outputs are attached.

Reproduce the smallest script and full traceback without secrets. Distinguish missing/frozen modules, unsupported CPython APIs, .mpy compatibility, heap fragmentation and interrupt-context allocation. Use gc.mem_free() and gc.mem_alloc() as observations, not a guarantee a contiguous allocation fits. Use wrap-safe time.ticks_diff(); ticks_ms() is not an unbounded integer clock. Interrupt code must follow port-specific allocation/exception constraints.

Device file writes, firmware erase/flash, boot.py/main.py replacement and reset require the selected target and authorized device state. Back up user files and preserve a recovery path before changing startup scripts. Unix-port build/smoke validation and board commissioning are distinct outputs.

See platform coverage for the exact tested combination. A source procedure is not a claim that every target was tested.

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.