memory-leak-audit 是做什么的?
审计代码中的内存泄漏和一次性资源问题。在审查事件监听器、DOM 处理器、生命周期回调或修复泄漏报告时使用。涵盖 addDisposableListener、Event.once、MutableDisposable、DisposableStore 和 onWillDispose 模式。
审计代码中的内存泄漏和一次性资源问题。在审查事件监听器、DOM 处理器、生命周期回调或修复泄漏报告时使用。涵盖 addDisposableListener、Event.once、MutableDisposable、DisposableStore 和 onWillDispose 模式。
microsoft/memory-leak-audit 是一个专门用于审计代码中内存泄漏和一次性资源(disposable)问题的 AI 技能。它适用于代码审查场景,特别是涉及事件监听器、DOM 处理器和生命周期回调时,能帮助开发者识别并修复潜在的泄漏。该技能覆盖了 addDisposableListener、Event.once、MutableDisposable、DisposableStore 和 onWillDispose 等常见模式,确保这些资源被正确处理,避免因未释放而导致的内存问题。它主要集成在开发工具中,如 Visual Studio Code 或类似的 AI 辅助编码平台,通过与代码审查流程的深度融合,提供实时的泄漏检测和修复建议,从而提升应用的稳定性和性能。
npx skills add https://github.com/microsoft/vscode/tree/main/skills/memory-leak-auditInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
审计代码中的内存泄漏和一次性资源问题。在审查事件监听器、DOM 处理器、生命周期回调或修复泄漏报告时使用。涵盖 addDisposableListener、Event.once、MutableDisposable、DisposableStore 和 onWillDispose 模式。
This repo contains 10 individual skills — each has its own dedicated page.
Primary accessibility skill for VS Code. REQUIRED for new feature and contribution work, and also applies to updates of existing UI. Covers accessibility help dialogs, accessible views, verbosity settings, signals, ARIA announcements, keyboard navigation, and ARIA labels/roles.
Agents workbench layout — covers the fixed layout structure, grid configuration, part visibility, editor modal, titlebar, sidebar footer, and implementation requirements. Use when implementing features or fixing issues in the Agents workbench layout.
Identify all files a specific author contributed to on a branch vs its upstream, tracing code through renames. Use when asked who edited what, what code an author contributed, or to audit authorship before a merge. This skill should be run as a subagent — it performs many git operations and returns a concise table.
Use when validating Azure DevOps pipeline changes for the VS Code build. Covers queueing builds, checking build status, viewing logs, and iterating on pipeline YAML changes without waiting for full CI runs.
Guidelines for fixing unhandled errors from the VS Code error telemetry dashboard. Use when investigating error-telemetry issues with stack traces, error messages, and hit/user counts. Covers tracing data flow through call stacks, identifying producers of invalid data vs. consumers that crash, enriching error messages for telemetry diagnosis, and avoiding common anti-patterns like silently swallowing errors.
Use when making code changes to ensure they pass VS Code's hygiene checks. Covers the pre-commit hook, unicode restrictions, string quoting rules, copyright headers, indentation, formatting, ESLint, and stylelint. Run the hygiene check before declaring work complete.
Agents window architecture — covers the agents-first app, layering, folder structure, chat widget, menus, contributions, entry points, and development guidelines. Use when implementing features or fixing issues in the Agents window.
Ensure renamed built-in tool references preserve backward compatibility. Use when renaming a toolReferenceName, tool set referenceName, or any tool identifier. Run on ANY change to tool registration code. Covers legacyToolReferenceFullNames for tools and legacyFullNames for tool sets.
Download screenshot baselines from the latest CI run and commit them. Use when asked to update, accept, or refresh component screenshot baselines from CI, or after the screenshot-test GitHub Action reports differences. This skill should be run as a subagent.
Use when reproducing a UI bug or verifying a fix by driving a real VS Code window end to end and capturing evidence. Writes a scenario file, runs it against a dev build or installed Insiders, and produces a captioned video, per-step screenshots, a Playwright trace, and an HTML report to attach to an issue or pull request.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.