memory-leak-audit
A contributor skill in the VS Code repository with a checklist for finding and preventing memory leaks from event listeners and other disposables, which it calls the most common bug category in VS Code.
What the skill teaches
A contributor skill in the VS Code repository with a checklist for finding and preventing memory leaks from event listeners and other disposables, which it calls the most common bug category in VS Code. It asks for VS Code's disposable DOM listener helper instead of raw handlers, one-time events for lifecycle signals, a mutable holder instead of registering again in methods that run often, disposing stores tied to a model when it goes away, per-item stores in pooled list items, and a leak check in every test suite. Each rule cites the pull request that fixed such a leak. A chat leak script measures heap growth per message.
Capabilities
- Check code for undisposed listeners
- Apply VS Code's disposable patterns
- Add leak checks to test suites
- Measure heap growth in chat sessions
About
- Publisher
- Microsoft
- Tool
- Debugging
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Debugging | |
| Publisher | Microsoft | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026195,341 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
More from Microsoft
10 servers · 200 skills
- playwright-mcp (MCP server)
- playwright-component-testing (Skill)
- playwright-trace (Skill)
- playwright-cli (Skill)
- Azure MCP Server (MCP server)
- azure-search-nav (Skill)
Also listed under: Debugging
Sources
- Skill file (SKILL.md)github.com/microsoft/vscode · Backs: Includes scriptsNov 14, 2026
- GitHub repositorygithub.com/microsoft/vscode · Backs: Publisher, Activity, LicenceNov 11, 2026
- Folder in the repository (memory-leak-audit)github.com/microsoft/vscode · Backs: Includes scriptsNov 14, 2026