Help us improve
Share bugs, ideas, or general feedback.
From memory-leak-detector
Scans codebase for memory leaks like unremoved event listeners, uncancelled timers, closures, circular references, and DOM holds. Outputs markdown report with severity ratings, locations, snippets, fixes, and prevention strategies.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin memory-leak-detectorHow 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...
/find-leaksDetects memory leaks via repetitive workloads, heap measurements with GC, reference tracing, common source checks, fix suggestions, and verification. Reports leaks, growth rates, and fixes.
/unused-code-finderScans codebase for unused functions, variables, exports, unreachable code, and low-coverage areas. Supports scan, exports, unreachable, coverage actions.
/profileRuns static analysis profiler on project for backend performance anti-patterns like N+1 queries, sync I/O, memory leaks; reports grouped findings with file, line, and fix recommendations.
/candySpawns 5 parallel agents to hunt dead code, broken logic, and security risks across the codebase, reporting only high-impact findings in strict format.
/find-dead-codeScans codebase for dead code like unused exports, files, variables, unreachable code, and long comments. Builds dependency graph from entry points and generates sorted report with confidence levels and totals.
/fakeDetects fake code, placeholders, demo files, and implementation issues via memory-optimized searches and multi-phase analysis workflow.
Share bugs, ideas, or general feedback.
Analyze code for potential memory leaks and improper resource management.
Provide markdown report with: