Sign inGet started
–

memory-leak-audit

by microsoft/vscode · Coding & Development

Audits code for memory leaks by checking event listener registration, disposable patterns, and lifecycle cleanup.

Lift · GLM-5.3-flash+5ppdirectional · all models →
93
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
LicenseMITserved via MCP

What it does

'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.'

#code-review#disposables#event-listeners#memory-leaks#typescript

Quality judgment

completeness
9.0/10
clarity
9.0/10
trigger quality
8.0/10
examples
9.0/10
structure
9.0/10
overall
9.0/10

Comprehensive, well-structured audit skill with clear rules, BAD/GOOD code pairs, PR-backed validation, a quick-reference table, and concrete verification steps including a measurable leak-detection command. Triggers are good but could better specify when not to use the skill.

Files (2)

LICENSE · 1.1 KBSKILL.md · 5.6 KB