CtrlK
BlogDocsLog inGet started
Tessl Logo

memory-leak-audit

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.

74

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

96%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An exemplary audit skill body: tight rules, executable BAD/GOOD pairs for every pattern, a lookup table, and explicit verification with measurable thresholds. The only structural nit is that nothing is offloaded to reference files, leaving the SKILL.md slightly monolithic.

DimensionReasoningScore

Conciseness

The body is lean: a one-line framing ("The #1 bug category in VS Code"), one rule per step, minimal BAD/GOOD snippets, and no explanation of concepts Claude already knows. Every token earns its place, matching the anchor-5 example's density.

5 / 5

Actionability

Each step gives copy-paste-ready TypeScript showing both the anti-pattern and the fix, with exact APIs (addDisposableListener, Event.once, MutableDisposable, store.add(model.onWillDispose(...))), a decision table, and concrete commands including `npm run perf:chat-leak --messages 20 --verbose`. Not below 5 because the examples cover all the common cases the description claims.

5 / 5

Workflow Clarity

"Work through each check in order" gives an explicit six-step sequence, and the Verification section provides feedback checkpoints (listener counts before/after, ensureNoDisposablesAreLeakedInTestSuite, object-count stabilization, a 2 MB/msg leak slope threshold). This matches the anchor-5 pattern of sequence plus explicit validation steps.

5 / 5

Progressive Disclosure

Sections are clearly organized (When to Use, six audit steps, Quick Reference table, Verification) and the only external pointer (the `chat-perf` skill) is explicitly signaled with usage flags. It falls short of a 5 because at ~148 lines the skill is fully monolithic with no split of any material into reference files, and the under-50-line simple-skill exception does not apply.

4 / 5

Total

19

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: concrete action, explicit 'Use when' triggers, third-person voice, and a specific covered-API list that pins it to a clear niche. Only minor headroom exists on keyword synonyms and multi-action coverage.

DimensionReasoningScore

Specificity

"Audit code for memory leaks and disposable issues" is a concrete action, and the API list ("addDisposableListener, Event.once, MutableDisposable, DisposableStore, and onWillDispose") names several specific capabilities. Not a 5 because it centers on a single audit verb rather than multiple distinct concrete actions.

4 / 5

Completeness

Both questions are explicitly answered: the what ("Audit code for memory leaks and disposable issues. Covers ... patterns") and the when ("Use when reviewing event listeners, DOM handlers, lifecycle callbacks, or fixing leak reports") with concrete trigger phrases, matching the anchor-5 example structure. Not below 5 because neither half is vague or implied.

5 / 5

Trigger Term Quality

"Use when reviewing event listeners, DOM handlers, lifecycle callbacks, or fixing leak reports" plus "memory leaks" gives good natural keyword coverage a user would actually say. A few common variants (e.g., "listener leak", "dispose", "cleanup") are missing, so it falls short of the comprehensive-synonyms anchor.

4 / 5

Distinctiveness Conflict Risk

The VS Code-specific disposable APIs (MutableDisposable, DisposableStore, addDisposableListener) carve out a clear niche with distinct triggers and minimal overlap risk against generic performance or code-review skills. It is not a 4 because the trigger set (event listeners, DOM handlers, lifecycle callbacks, leak reports) is specific enough that confusion with a related skill is unlikely.

5 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
posit-dev/positron
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.