CtrlK
BlogDocsLog inGet started
Tessl Logo

java-memory-leaks

How to identify and fix Java memory leaks in Android Chrome using LeakCanary traces.

64

Quality

76%

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

Fix and improve this skill with Tessl

tessl review fix ./agents/skills/java-memory-leaks/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

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

The body is a tightly organized, highly actionable workflow with executable commands, code examples, and an explicit verify-and-retry loop; its only mild gaps are a few trimmable explanatory phrases and the absence of any external reference structure.

DimensionReasoningScore

Conciseness

The body is lean and assumes Claude's competence (no padding about what a memory leak or GC root is), with most prose tied to actionable pointers; a few mildly explanatory phrases like 'usually at the bottom of the trace, marked with Leaking: YES' could be trimmed, keeping it just below the fully-lean anchor at 5.

4 / 5

Actionability

Guidance is fully executable — concrete commands ('autoninja -C out/Debug chrome_public_test_apk', the run_chrome_public_test_apk invocation, the Cq-Include-Trybots footer), specific APIs (removeObserver, @Nullable, @SuppressWarnings("NullAway")), and copy-paste Before/After code covering the common cases.

5 / 5

Workflow Clarity

The five-step workflow (Confirm → Analyze → Identify Break Point → Apply Fix → Verify) is clearly sequenced with an explicit Verify validation checkpoint (rebuild, re-run the leak test, confirm LeakCanary no longer reports) and an error-recovery feedback loop, matching the explicit-validation anchor.

5 / 5

Progressive Disclosure

Content is well-organized into clear sections (Workflow, Best Practices & Gotchas, Examples) with no nested or buried references and no monolithic wall of text; with no bundle files present the structure is good, but it is above the simple-skill line so it stops short of the well-signaled one-level-deep reference ideal at 5.

4 / 5

Total

18

/

20

Passed

Description

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

The description is specific and clearly niched, but it omits an explicit 'Use when...' trigger clause, which caps its completeness and leaves the activation context only weakly implied.

Suggestions

Add an explicit trigger clause, e.g. 'Use when investigating LeakCanary failures in Android Chrome instrumentation tests or when a Java memory leak is suspected.'

Expand the action verbs beyond 'identify and fix' (e.g., 'analyze leak traces, pinpoint the retention path, apply a fix, and verify') to lift specificity toward comprehensive coverage.

Include a synonym or two users might say (e.g., 'leak detection', 'retention path') to round out trigger term coverage.

DimensionReasoningScore

Specificity

Names the domain ('Java memory leaks in Android Chrome') and two concrete actions ('identify and fix') plus the tool ('LeakCanary traces'), but the action list is not comprehensive — debug/analyze/patch specifics are absent, matching the '1-2 concrete actions' anchor rather than the 'several specific actions' anchor at 4.

3 / 5

Completeness

The 'what' is clear (identify and fix Java memory leaks via LeakCanary), but there is no explicit 'Use when...' trigger clause — per the rubric, a missing explicit trigger caps completeness at 3, and the implied 'when' is only weak.

3 / 5

Trigger Term Quality

Natural terms an Android engineer would actually say are present ('Java memory leaks', 'Android Chrome', 'LeakCanary'), giving good keyword coverage; a few common synonyms ('leak detection', 'retention', 'GC') are missing, so it sits just below the comprehensive anchor at 5.

4 / 5

Distinctiveness Conflict Risk

The niche is highly specific — Java memory leaks in Android Chrome diagnosed by LeakCanary — yielding distinct triggers and minimal overlap risk with other skills, matching the 'clear niche with distinct triggers' anchor.

5 / 5

Total

15

/

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
chromium/chromium
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.