Skill / SKILL.md

Memory And Disposal

andymai/brepjs

This skill should be used when managing WASM handle lifetimes or hunting memory leaks in brepjs — when a task mentions "createHandle() without using keyword risks WASM memory leak", "require-using-for-handles", "Shape handle has been disposed", "kernel handle has been disposed", "memory grows / heap keeps climbing", "leaking shapes", "getDisposalStats / gcCollected", "DisposalScope register vs track", "withScopeResult", "kernelCallScoped", "registerForCleanup", "returned shape from withScope is disposed", or deciding how to clean up kernel temporaries in a new *Fns.ts function.
2 views 151 repository stars 0 commentsUpdated Nov 27, 2026
Overview

This skill should be used when managing WASM handle lifetimes or hunting memory leaks in brepjs — when a task mentions "createHandle() without using keyword risks WASM memory leak", "require-using-for-handles", "Shape handle has been disposed", "kernel handle has been disposed", "memory grows / heap keeps climbing", "leaking shapes", "getDisposalStats / gcCollected", "DisposalScope register vs track", "withScopeResult", "kernelCallScoped", "registerForCleanup", "returned shape from withScope is disposed", or deciding how to clean up kernel temporaries in a new *Fns.ts function.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/andymai/brepjs' skill-source

Use the complete skill-source/.claude/skills/memory-and-disposal directory with your client’s skill installer.

  • .claude/skills/memory-and-disposal Claude Code

    main · SKILL.md

    Open installation source

    Client installation directory present in source repository

Source directory .claude/skills/memory-and-disposal

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
c2ae885405c483b4ea94acae272dcd19e1e818948e07435eb851ccfb58b08d24
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills