leak-hunter

Diagnose latency regressions, memory leaks, and UI jank in TypeScript full-stack systems.

2|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/SkinnnyJay/simpill-utils --skill leak-hunter-skinnnyjay
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: leak-hunter
Source: https://github.com/SkinnnyJay/simpill-utils/tree/main/.claude/skills/leak-hunter
Command: npx skills add https://github.com/SkinnnyJay/simpill-utils --skill leak-hunter-skinnnyjay

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Full-stack TypeScript applications suffer from latency regressions, memory leaks, UI jank, deadlocks, and OOM crashes that are hard to reproduce and root-cause without a disciplined, evidence-driven workflow. ## Core Features & Use Cases - Structured Six-Phase Workflow: Triage, reproduce and baseline, instrument, profile, isolate root cause, and fix with validation, producing measurable before/after metrics. - Frontend and Backend Profiling: Uses Chrome DevTools Performance and Memory panels, React Profiler, Node heap snapshots, and CPU profiling to locate long tasks, leaks, and blocking calls. - Playwright Reproduction and Log Correlation: Automates reproduction with Playwright traces and correlates frontend request IDs to backend logs in ./logs/. - Use Case: A Node API's memory grows until it OOMs every few hours. The skill captures heap snapshots over time, diffs retained objects, proves the leak source with two pieces of evidence, applies a minimal typed fix, and locks it in with a regression test. ## Quick Start Ask the assistant to find the memory leak in your Node service or profile why a specific page feels slow, and it will begin the triage phase.

Frequently Asked Questions about leak-hunter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find a memory leak in a Node.js application?▼

Capture heap snapshots at intervals and diff them to find retained objects, then run heap profiling to see allocations over time. The skill correlates this with backend logs in ./logs/ and requires at least two pieces of evidence before declaring a root cause.

How to diagnose slow page performance with Chrome DevTools?▼

Record a Performance trace to locate long tasks, layout thrash, and heavy scripting, then use the Memory panel's allocation timeline to confirm leaks. The workflow baselines p50/p95/p99 latency and memory growth slope before and after the fix.

Can Playwright be used to reproduce performance regressions?▼

Yes, Playwright automates reproduction steps, captures screenshots and traces, and supports time-travel debugging. The skill uses it to build minimal reproductions and adds end-to-end regression tests that lock the fix in.

Does this approach work for React rendering performance issues?▼

Yes, it uses React Profiler to identify components with high commit times and re-render frequency. Fixes include memoization, component splitting, stable dependencies, virtualization, and state shape changes.

What outputs does a performance investigation produce?▼

Every investigation produces PERF_REPORT.md with evidence, root cause, and before/after metrics, plus PERF_TASKS.md as a phased checklist. If instrumentation was added, CLEANUP_NOTES.md documents what to remove or keep.