memory-leak-audit
memory leak audit
What it does
- Reviewing code that registers event listeners or DOM handlers
- Fixing reported memory leaks (listener counts growing over time)
- Creating objects in methods that are called repeatedly
- Working with model lifecycle events (onWillDispose, onDidClose)
- Adding event subscriptions in constructors or setup methods
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
memory-leak-audit FAQ
What does the memory-leak-audit skill do?
Audit code for memory leaks and disposable issues. Use when reviewing event listeners, DOM handlers, lifecycle callbacks, or fixing leak reports. Covers addDisposableListener, Event.once, MutableDisposable, DisposableStore, and onWillDispose patterns. Reviewing code that registers event listeners or DOM handlers Fixing reported memory leaks (listener counts growing over time)
How do I install memory-leak-audit?
Run: npx -y skills add https://github.com/microsoft/vscode --skill memory-leak-audit --agent claude-code — the source lives at github.com/microsoft/vscode.
Maintain memory-leak-audit?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[memory-leak-audit on getagentictools](https://getagentictools.com/skills/microsoft-vscode-memory-leak-audit?ref=badge) npx agentictools info skills/microsoft-vscode-memory-leak-audit The second line is the CLI lookup for this page — handy in READMEs and docs.