Skill

Closure Scope Retention Guard

Detects long-lived objects (caches, listeners, singletons) that capture an entire enclosing scope via closures/environment capture, keeping large arrays or buffers alive, and proposes copying only the needed fields.

Bundled with River Review. Its trust score, security findings and other files are on the plugin page.

SKILL.md

Path
skills/midstream/closure-scope-retention/SKILL.md
Size
6.5 KB
SHA-256
b4de95c44186f84c16b9c480aabed8f3fd1150db910a24df6e219d6be504327e

Install

Install the plugin's skills with the Skills CLI:

npx [email protected] add s977043/river-review