dcherreradcherreraCommunityยท1 Agent Skills Included

CrossLuaReader

Lua-powered e-reader firmware for Xteink X4 devices

Builds a lightweight C firmware runtime that turns the Xteink X4 e-reader into an extensible platform. Loads readers, menus, and features as Lua plugins from the SD card, eliminating recompilation and reflashing for every new feature. Enforces strict memory, alignment, and coding rules so changes stay stable within the device's 380KB RAM limit.
npx skills add dcherrera/CrossLuaReader --all -g -y
Available:

Instructs your AI agent to act as a senior embedded C engineer, enforcing the 380KB RAM ceiling, pure-C runtime rules, evidence-based code changes, and ESP32-C3 safety constraints when modifying this firmware.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install CrossLuaReader?โ–ผ

Run `npx skills add dcherrera/CrossLuaReader --all -g -y` in your terminal to install all skills in this suite globally.

What is CrossLua Reader?โ–ผ

It is a compact C firmware runtime for the Xteink X4 e-reader that loads all app features as Lua plugins from the SD card, so you can add functionality without recompiling or reflashing.

How do I add new features to the Xteink X4?โ–ผ

Write a Lua script and drop it into the plugins folder on the SD card. The runtime discovers and runs it automatically with no toolchain or firmware flash required.

Can AI coding assistants work on this firmware safely?โ–ผ

Yes. The included CLAUDE.md gives your AI agent strict embedded rules covering memory limits, RISC-V alignment, and pure-C conventions so generated code stays stable on the device.

Does CrossLua Reader support right-to-left languages?โ–ผ

Yes. Bidirectional text rendering is built into the core, and you can add new languages by dropping a single JSON translation file on the SD card.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’