Diagnoses and resolves memory leaks in JavaScript/Node.js applications. Use when a user reports high memory usage, OOM errors, or wants to analyze heapsnapshots or run memory leak detection tools like memlab.
94
—
Does it follow best practices?
Impact
90%
1.15xAverage score across 3 eval scenarios
Passed
No known issues
Heapsnapshot analysis with memlab or fallback script
No raw snapshot reads
100%
100%
Uses memlab or fallback script
0%
0%
Memlab find-leaks command
0%
0%
Fallback script invocation
0%
0%
Growing objects identified
100%
100%
Detached DOM nodes called out
100%
100%
Event listener leak pattern
100%
100%
Fix for event listeners
100%
100%
Commands documented
100%
100%
analysis_output.txt present
100%
100%
Detached DOM confirmation and leak fix recommendations
Detached DOM flag to team
100%
100%
Detached DOM intentional cache note
100%
100%
Event listener root cause
100%
100%
removeEventListener fix
100%
100%
Unbounded cache root cause
100%
100%
Cache fix with limits or WeakMap
100%
100%
No silent DOM null
100%
100%
All three patterns covered
100%
100%
Snapshot capture workflow planning with 3 states and repeat count
Three snapshot states named
50%
100%
Baseline before interaction
100%
100%
Repeat 10 times
0%
100%
Revert to original state
100%
100%
Revert purpose explained
100%
100%
Final snapshot after revert
100%
100%
take_heapsnapshot tool mentioned
100%
100%
Memlab find-leaks command
0%
100%
Browser interaction tools listed
100%
100%
e5bd334
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.