Memory audit

From FastLED/FastLED · View interactive version

Memory audit is an AI agent skill from the GitHub repository FastLED/FastLED. Audit embedded code for stack overflow risks, heap fragmentation, static allocation patterns, and memory leaks. Use when investigating OOM crashes, optimizing memory usage, or reviewing memory-critical code on constrained devices.

How to use this skill

Skill file

Audit code for memory safety issues specific to resource-constrained embedded systems.

$ARGUMENTS

What This Skill Analyzes

Stack Usage

Heap Fragmentation

Static Allocation Patterns

Platform-Specific Concerns

How To Use

/memory-audit src/platforms/esp/32/drivers/
/memory-audit src/fl/channels/
/memory-audit Check if LED buffer allocation is safe for 1000+ LEDs on ESP32

What You'll Get

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.