Synaptic SkillsSynapticSkills
MarketplaceSkill GraphCriar SkillMCP ServerPlataformaEnterprise
v0.1.0-beta
Voltar ao Marketplace
DevelopmentMédio

Memory Leak Audit

pormicrosoft·microsoft· v1.0.0 · atualizado em 2026-04-10
81
Score

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.

memory-managementcode-audittypescriptevent-listenersdisposable-resourcesleak-prevention
Linguagens
TypeScriptJavaScript
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mdmemory-leak-audit/workflow
1
Identify potential leak areas: — Focus on code with event listeners, DOM handlers, and lifecycle callbacks.
2
Check DOM event listeners: — Ensure `addDisposableListener()` is used instead of raw `.onload`, `.onclick`, or `addEventListener()`.
3
Review one-time events: — Use `Event.once()` for events that should only fire once.
4
Inspect repeated method calls: — Use `MutableDisposable` or return `IDisposable` for objects created in repeatedly called methods.
5
Examine model-tied DisposableStores: — Register `model.onWillDispose(() => store.dispose())` to the store itself.
6
Validate with tests: — Use `ensureNoDisposablesAreLeakedInTestSuite()` in test suites.
7
Verify fixes: — Check listener counts and object counts after fixes.

Telemetria de Agentes

Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Tokens Entrada
0
avg 0/exec
Tokens Saída
0
avg 0/exec

Uso por Plataforma

Skills Relacionados

Similar aRust Best Practices
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
83
Similar aGo Code Review Checklist
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
79
Similar aFix Errors
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
82

Árvore do Skill

Memory Leak Audit
memory-leak-audit
Fases Cognitivas6
1.SENSE
2.CONTEXTUALIZE
3.EVALUATE
4.RECOMMEND
5.ACT
6.REFLECT
Triggers6
audit code for memory leaksreview event listener codefix memory leak reportscheck for disposable issuesanalyze code for memory managementfind memory leaks in VS Code extension

Avaliar este Skill

Score Breakdown

⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo0%
🛡️Segurança50%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança

Instalação

$ synaptic mcp download memory-leak-audit
$ synaptic skills detail memory-leak-audit
$ synaptic skills live memory-leak-audit

Links

GitHub Repository