brikko-studio-test-heap-leaks

Official

Investigate and resolve test memory leaks and OOMs

AuthorbrikkoAI
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates guesswork when debugging unexplained memory growth and out-of-memory (OOM) errors during Brikko Studio pnpm test runs, providing a structured workflow to identify root causes instead of relying on RSS estimates alone.

Core Features & Use Cases

  • Heap Snapshot Triage: Compares before/after heap snapshots to classify memory growth as retained module graph bloat or real runtime object leaks.
  • Lane-Specific Analysis: Targets specific Vitest test lanes and PIDs to avoid noise from unrelated test workers.
  • Runtime Leak Validation: Includes a dedicated harness to confirm that closure or lifecycle fixes actually release captured state. Use Case: If your unit-fast test lane OOMs after repeated runs, use this Skill to compare heap snapshots across intervals to determine if the growth comes from retained Vite transformed modules or uncleaned test state like unreleased DB handles or lingering timers.

Quick Start

Use the brikko-studio-test-heap-leaks skill to investigate the OOM errors in your latest pnpm test run by comparing heap snapshots from the failing test lane to identify the root cause of memory growth.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: brikko-studio-test-heap-leaks
Download link: https://github.com/brikkoAI/brikko-studio/archive/main.zip#brikko-studio-test-heap-leaks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.