CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

memory-leak-debugging

Diagnoses and resolves memory leaks in JavaScript/Node.js applications. Use when a user reports high memory usage, OOM errors, or wants to capture, compare, or inspect heap snapshots with Chrome DevTools MCP memory tools.

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

78%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.

A well-structured, actionable instruction-only skill: concrete MCP tool names, parameters, and leak-category filters organized into four clear sequenced workflows, with detail correctly pushed to a single well-placed reference file. The main improvements are tightening minor redundancy and adding explicit error-recovery guidance.

Suggestions

Trim the opening paragraph ("This skill provides expert guidance and workflows for...") and the "Common Culprits" list, which duplicate the description and references/common-leaks.md respectively.

Add a brief error-recovery step to the compare workflow (e.g., what to do if `get_heapsnapshot_summary` fails to load a file or the diff is inconclusive).

Expand the "Isolate the Leak" principle with one concrete hint on distinguishing browser-side vs Node.js-side leaks (e.g., check which process's RSS grows).

DimensionReasoningScore

Conciseness

The body is lean and tool-focused with no tutorials on concepts Claude already knows, but a few tokens could be trimmed: the opening paragraph restates the frontmatter description, and the "Common Culprits" bullet list overlaps content already in references/common-leaks.md. Fits anchor 4 (efficient with minor trimmable instances) rather than anchor 5's every-token-earns-its-place.

4 / 5

Actionability

Names exact tools with parameters (`take_heapsnapshot` with `pageId`, `compare_heapsnapshots` with `classIndex`, `filterName` values like `objectsRetainedByDetachedDomNodes`) and concrete tactics ("Repeat the same user interactions 10 times"), so guidance is mostly executable. Minor gaps — e.g., the "Isolate the Leak" principle says to determine browser vs Node.js but not how — keep it at anchor 4 rather than fully copy-paste-ready anchor 5.

4 / 5

Workflow Clarity

Four clearly sequenced workflows (capture → compare → inspect → filtered analysis) with real checkpoints: "Start with `get_heapsnapshot_summary`... to confirm that the files load", reverting actions to verify memory release, and inspecting retainers "before changing code". No explicit error-recovery loop (what to do when a snapshot fails to load or a diff is inconclusive), which fits anchor 4 rather than anchor 5; the operations are read-only analysis, so the destructive/batch cap of 3 does not apply.

4 / 5

Progressive Disclosure

A ~50-line, well-sectioned overview with a single one-level-deep reference — "Read [references/common-leaks.md](references/common-leaks.md) for examples of common memory leaks and how to fix them after the retaining path points at application code" — which is a real file, clearly signaled, and deferred to exactly the point in the workflow where it's needed. Content is appropriately split, matching anchor 5.

5 / 5

Total

17

/

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: third-person voice, concrete capability statement, and an explicit "Use when..." clause with natural trigger terms covering the main scenarios. Only minor refinements — a few extra synonyms and mention of deeper analysis capabilities — would improve it.

DimensionReasoningScore

Specificity

"Diagnoses and resolves memory leaks" plus "capture, compare, or inspect heap snapshots" lists several concrete, specific actions in a named domain (JavaScript/Node.js). Coverage has minor gaps — no mention of retainer/dominator analysis — so it fits anchor 4 rather than the comprehensive anchor 5, and clearly exceeds the 1-2-action anchor 3.

4 / 5

Completeness

Explicitly answers both questions: "Diagnoses and resolves memory leaks in JavaScript/Node.js applications" (what, in third person) and "Use when a user reports high memory usage, OOM errors, or wants to capture, compare, or inspect heap snapshots..." (when, with concrete trigger phrases). This mirrors the anchor 5 example structure exactly.

5 / 5

Trigger Term Quality

Natural user phrases like "high memory usage", "OOM errors", and "heap snapshots" are present alongside "memory leaks" and "JavaScript/Node.js". A few natural variations (e.g., "out of memory" spelled out, "memory pressure", ".heapsnapshot" files) are missing, matching anchor 4 rather than the comprehensive synonym coverage of anchor 5.

4 / 5

Distinctiveness Conflict Risk

"memory leaks", "OOM errors", and "heap snapshots with Chrome DevTools MCP memory tools" carve out a clear niche with distinct triggers that would not fire for unrelated skills. Minimal conflict risk, matching anchor 5.

5 / 5

Total

18

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository

primer/react

Path

.agents/skills/memory-leak-debugging/SKILL.md

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.