specialized
Skill68 starsChanged 7 months agoApache-2.0View on GitHub
Specialized hardware interfaces and system reliability for Zephyr RTOS. Covers LVGL GUI development, Audio I2S/Codecs, Watchdog timers, and Fault Injection. Trigger when building human-machine interfaces (HMI), audio devices, or high-reliability mission-critical systems.
In this repository21 other files it gives its agents.
- zephyr-agent-skillsSkill
- board-bringupSkill
- build-systemSkill
- connectivity-bleSkill
- connectivity-ipSkill
- connectivity-usb-canSkill
- devicetreeSkill
- hardware-ioSkill
- industrialSkill
- iot-protocolsSkill
- kernel-basicsSkill
- kernel-servicesSkill
- multicoreSkill
- native-simSkill
- power-performanceSkill
- security-updatesSkill
- storageSkill
- testing-debuggingSkill
- zephyr-foundationsSkill
- zephyr-indexSkill
- zephyr-moduleSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Ensure your system never hangs in the field using hardware watchdog timers.
- Distinctive: line 28
Test your system's ability to recover from unexpected software and hardware errors.
- Distinctive: line 47
Safe Boot Animation: Use a simple, non-interactive LVGL screen to show system status while critical subsystems (e.g., cloud connectivity) …
- Distinctive: line 48
Zero-Pop Audio: Always use volume ramping when starting or stopping I2S streams to protect hardware and improve user experience.
- Distinctive: line 49
Bitmask Health Monitoring: Use a bitmask to track the health of all background threads.
- Very specific: line 52
[watchdog_window_check.py](scripts/watchdog_window_check.py): Verify feed interval timing against watchdog window constraints.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
Zephyr Specialized Hardware & Reliability
Integrate complex peripherals and build resilient systems that recover gracefully from unexpected failures.
Core Workflows
1. LVGL GUI Development
Build sophisticated graphical user interfaces for LCD and TFT displays.
- Reference: lvgl_gui.md
- Key Tools: Widgets, Styles, Double Buffering,
native_simsimulator.
2. Audio I2S & Codecs
Implement high-quality digital audio streaming and codec management.
- Reference: audio_i2s.md
- Key Tools:
CONFIG_I2S, DMA streaming, Ping-pong buffering.
3. Watchdog & Reliability
Ensure your system never hangs in the field using hardware watchdog timers.
- Reference: watchdog_reliability.md
- Key Tools:
wdt_feed(), Windowed watchdog, Health checks.
4. Fault Injection & Resilience
Test your system's ability to recover from unexpected software and hardware errors.
- Reference: fault_injection.md
- Key Tools: Chaos testing,
k_oops(), Reset reason diagnostics.
Quick Start (Watchdog Feed)
# Enable watchdog support
CONFIG_WATCHDOG=y// Feed the dog in your main loop
while (1) {
// Perform application work
wdt_feed(wdt_dev, wdt_channel);
k_sleep(K_MSEC(1000));
}Professional Patterns (Reliability & UX)
- Safe Boot Animation: Use a simple, non-interactive LVGL screen to show system status while critical subsystems (e.g., cloud connectivity) are initializing.
- Zero-Pop Audio: Always use volume ramping when starting or stopping I2S streams to protect hardware and improve user experience.
- Bitmask Health Monitoring: Use a bitmask to track the health of all background threads; the watchdog monitor only feeds the timer if ALL bits are set periodically.
Automation Tools
- watchdog_window_check.py: Verify feed interval timing against watchdog window constraints.
Examples & Templates
- watchdog_health_map_template.h: Starter health-bit definitions for watchdog supervision.
Validation Checklist
- GUI render loop maintains target frame behavior without starving control tasks.
- I2S audio stream starts/stops without underruns or audible artifacts.
- Watchdog feed policy resets the system when health criteria are not met.
- Fault-injection scenarios produce expected reset reason and recovery behavior.
Resources
- References:
lvgl_gui.md: GUI widgets and performance tuning.audio_i2s.md: Audio streaming and DMA patterns.watchdog_reliability.md: Watchdog setup and health checks.fault_injection.md: System resilience and chaos testing.
- Scripts:
watchdog_window_check.py: Feed-window timing checker.
- Assets:
watchdog_health_map_template.h: Health-mask template header.
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
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.

