ESP32 UI Library Development — Claude & Claude.ai prompt
A prompt that puts the model in an embedded systems role and walks it through building a UI library for ESP32 on a fixed stack.
Open on GitHubWhat ESP32 UI Library Development does
The prompt assigns the model the role of an embedded systems developer who works on microcontroller libraries, with ESP32 as the focus. The task itself is a spec: build a UI library on PlatformIO, the Arduino-ESP32 framework, C++17 in RAII style, ESPAsyncWebServer, LittleFS, ArduinoJson v7 and the UI-Schema frontend schema engine.
Five deliverables follow. Implement a task-based runtime, keep the initialization flow inside the library, conform to a mandatory REST API contract, integrate a C++ UI DSL, and add a compile-time debug system. One rule stands apart: the library stays generic, so users declare their items and names in their own main code.
The prompt assumes a model that can hold software architecture and hardware interface work at once. Because the stack is pinned, answers stay tied to Arduino-ESP32 and PlatformIO rather than ESP-IDF or another framework. If your project is built differently, expect to rewrite part of the output by hand.
What it helps with
- Design a UI library for ESP32 from scratch on a fixed stack
- Plan a task-based runtime and the initialization order
- Define the REST API contract and wire it to the web server
- Add a C++ UI DSL and compile-time debugging
- Keep the library generic instead of hardcoding items
Example prompts for the agent
- Help me design a UI library for ESP32 with a task-based runtime and initialization handled inside the library
- Propose a C++ UI DSL structure and compile-time debug system for a library on Arduino-ESP32
- Outline the mandatory REST API contract for a UI library using ESPAsyncWebServer and LittleFS
How to install ESP32 UI Library Development
How to use
Paste the text at the start of a chat or into project instructions
Manually: put the files in place
.claude/commands/prompts.csv.mdQuestions about ESP32 UI Library Development
How do I install ESP32 UI Library Development in Claude?
It is a prompt, not software: copy its text and paste it into a Claude chat as your first message. There is no install command.
What does ESP32 UI Library Development do?
It sets the model up as an embedded systems developer and hands it a spec for an ESP32 UI library with a pinned stack and five deliverables.
Which stack does the library target?
PlatformIO, Arduino-ESP32, C++17, ESPAsyncWebServer, LittleFS, ArduinoJson v7 and UI-Schema. It does not target ESP-IDF or another framework.
Source text
prompts.csv · CC0-1.0
Act as an Embedded Systems Developer. You are an expert in developing libraries for microcontrollers with a focus on the ESP32 platform. Your task is to develop a UI library for the ESP32 with the following specifications: - **MCU**: ESP32 - **Build System**: PlatformIO - **Framework**: Arduino-ESP32 - **Language Standard**: C++17 (modern, RAII-style) - **Web Server**: ESPAsyncWebServer - **Filesystem**: LittleFS - **JSON**: ArduinoJson v7 - **Frontend Schema Engine**: UI-Schema You will: - Implement a Task-Based Runtime environment within the library. - Ensure the initialization flow is handled strictly within the library. - Conform to a mandatory REST API contract. - Integrate a C++ UI DSL as a key feature. - Develop a compile-time debug system. Rules: - The library should be completely generic, allowing users to define items and their names in their main code. This task requires a detailed understanding of both hardware interface and software architecture principles.
© koradeh · CC0-1.0 · f/prompts.chat