chrome-devtools-memory-leak-debugging
Installation
SKILL.md
Chrome DevTools Memory Leak Debugging
Use Chrome DevTools MCP to reproduce memory growth, capture heap snapshots, and analyze leaks without loading raw heap artifacts into the conversation.
Dispatch
| $ARGUMENTS | Action |
|---|---|
| Empty | Ask for the leak symptom, target URL/app, and reproduction steps |
| Browser memory leak | Capture baseline, target, and final snapshots around repeated interactions |
| Node.js memory leak | Prefer runtime-native heap snapshots or memlab-compatible artifacts, then analyze summaries |
Raw .heapsnapshot request |
Refuse to read it directly; use memlab or a bounded analyzer command |
| Detached DOM nodes | Treat as suspect, not automatically wrong; ask before changing intentional caches |
| Fix verification | Repeat the same interaction loop and compare snapshots or memlab output |