From memory-leak-detector
Scans code for memory leak patterns including unremoved event listeners, uncancelled timers, unbounded caches, and detached DOM nodes. Produces a markdown report with severity ratings, file locations, and fix recommendations. Also supports circular reference and global variable detection. Accepts optional file path argument.
How this command is triggered — by the user, by Claude, or both
Slash command
/memory-leak-detector:detect-leaksThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Memory Leak Detector Analyze code for potential memory leaks and improper resource management. ## Detection Patterns 1. **Event Listeners**: Unremoved event listeners 2. **Closures**: Variables captured in closures preventing GC 3. **Timers**: Uncancelled setTimeout/setInterval 4. **Cache Growth**: Unbounded cache or collection growth 5. **Circular References**: Objects referencing each other 6. **DOM References**: Detached DOM nodes held in memory 7. **Global Variables**: Unnecessary global state accumulation ## Analysis Process 1. Search for common leak patterns in codebase 2. Iden...
Analyze code for potential memory leaks and improper resource management.
Provide markdown report with:
24plugins reuse this command
First indexed Dec 31, 2025
Showing the 6 earliest of 24 plugins
npx claudepluginhub terrylica/claude-code-plugins-plus --plugin memory-leak-detector/detect-leaksScans code for memory leak patterns including unremoved event listeners, uncancelled timers, unbounded caches, and detached DOM nodes. Produces a markdown report with severity ratings, file locations, and fix recommendations. Also supports circular reference and global variable detection. Accepts optional file path argument.
/find-leaksDetects and diagnoses memory leaks in applications by running repetitive workloads, measuring memory growth, tracing retention paths, and suggesting fixes.
/memory-leakDiagnoses memory leaks by analyzing symptom descriptions or code paths. Traces allocation patterns, identifies retained references, and proposes fixes with regression tests.
/unused-code-finderScans codebase for unused functions, variables, imports, and unreachable code. Also supports export analysis, unreachable code detection, and coverage-based analysis to help clean up dead code.
/find-dead-codeScans the codebase for unused exports, files, variables, commented-out code, and unreachable code, then generates a report sorted by file with confidence levels.
/profileRuns static analysis for backend performance anti-patterns (N+1 queries, sync I/O, memory leaks) and cross-references findings with LSP to confirm real-world impact before recommending fixes.