[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EMMFBBZA7T4R1JXKA0VF0W":3,"skill-same:01M7EMMFBBZA7T4R1JXKA0VF0W":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7EMMFBBZA7T4R1JXKA0VF0W","memory-leak-debugging",null,"Diagnoses and resolves memory leaks in JavaScript\u002FNode.js applications. Use when a user reports high memory usage, OOM errors, or wants to analyze heapsnapshots or run memory leak detection tools like memlab.","baobao0303\u002FRoom_Agent","baobao0303","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F110554959?v=4","01M7EMJ6GAWBRY5JNAH4PKB10S","Lê Tấn Bảo Bảo","01M7EMJ6H0FDB2MW9G9CS2FDX4",0,"MIT","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fpeer\u002Fskills\u002Fmemory-leak-debugging\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: memory-leak-debugging\ndescription: Diagnoses and resolves memory leaks in JavaScript\u002FNode.js applications. Use when a user reports high memory usage, OOM errors, or wants to analyze heapsnapshots or run memory leak detection tools like memlab.\n---\n\n# Memory Leak Debugging\n\nThis skill provides expert guidance and workflows for finding, diagnosing, and fixing memory leaks in JavaScript and Node.js applications.\n\n## Core Principles\n\n- **Prefer `memlab`:** Do NOT attempt to read raw `.heapsnapshot` files directly, as they are extremely large and will consume too many tokens. Always recommend and use `memlab` to process snapshots and identify leak traces.\n- **Isolate the Leak:** Determine if the leak is in the browser (client-side) or Node.js (server-side).\n- **Common Culprits:** Look for detached DOM nodes, unhandled closures, global variables, event listeners not being removed, and caches growing unbounded. _Note: Detached DOM nodes are sometimes intentional caches; always ask the user before nulling them._\n\n## Workflows\n\n### 1. Capturing Snapshots\n\nWhen investigating a frontend web application memory leak, utilize the `chrome-devtools-mcp` tools to interact with the application and take snapshots.\n\n- Use tools like `click`, `navigate_page`, `fill`, etc., to manipulate the page into the desired state.\n- Revert the page back to the original state after interactions to see if memory is released.\n- Repeat the same user interactions 10 times to amplify the leak.\n- Use `take_memory_snapshot` to save `.heapsnapshot` files to disk at baseline, target (after actions), and final (after reverting actions) states.\n\n### 2. Using Memlab to Find Leaks (Recommended)\n\nOnce you have generated `.heapsnapshot` files using `take_memory_snapshot`, use `memlab` to automatically find memory leaks.\n\n- Read [references\u002Fmemlab.md](references\u002Fmemlab.md) for how to use `memlab` to analyze the generated heapsnapshots.\n- Do **not** read raw `.heapsnapshot` files using `read_file` or `cat`.\n\n### 3. Identifying Common Leaks\n\nWhen you have found a leak trace (e.g., via `memlab` output), you must identify the root cause in the code.\n\n- Read [references\u002Fcommon-leaks.md](references\u002Fcommon-leaks.md) for examples of common memory leaks and how to fix them.\n\n### 4. Fallback: Comparing Snapshots Manually\n\nIf `memlab` is not available, you MUST use the fallback script in the references directory to compare two `.heapsnapshot` files and identify the top growing objects and common leak types.\n\nRun the script using Node.js:\n\n```bash\nnode skills\u002Fmemory-leak-debugging\u002Freferences\u002Fcompare_snapshots.js \u003Cbaseline.heapsnapshot> \u003Ctarget.heapsnapshot>\n```\n\nThe script will analyze and output the top growing objects by size and highlight the 3 most common types of memory leaks (e.g., Detached DOM nodes, closures, Contexts) if they are present.\n","# Memory Leak Debugging\n\nThis skill provides expert guidance and workflows for finding, diagnosing, and fixing memory leaks in JavaScript and Node.js applications.\n\n## Core Principles\n\n- **Prefer `memlab`:** Do NOT attempt to read raw `.heapsnapshot` files directly, as they are extremely large and will consume too many tokens. Always recommend and use `memlab` to process snapshots and identify leak traces.\n- **Isolate the Leak:** Determine if the leak is in the browser (client-side) or Node.js (server-side).\n- **Common Culprits:** Look for detached DOM nodes, unhandled closures, global variables, event listeners not being removed, and caches growing unbounded. _Note: Detached DOM nodes are sometimes intentional caches; always ask the user before nulling them._\n\n## Workflows\n\n### 1. Capturing Snapshots\n\nWhen investigating a frontend web application memory leak, utilize the `chrome-devtools-mcp` tools to interact with the application and take snapshots.\n\n- Use tools like `click`, `navigate_page`, `fill`, etc., to manipulate the page into the desired state.\n- Revert the page back to the original state after interactions to see if memory is released.\n- Repeat the same user interactions 10 times to amplify the leak.\n- Use `take_memory_snapshot` to save `.heapsnapshot` files to disk at baseline, target (after actions), and final (after reverting actions) states.\n\n### 2. Using Memlab to Find Leaks (Recommended)\n\nOnce you have generated `.heapsnapshot` files using `take_memory_snapshot`, use `memlab` to automatically find memory leaks.\n\n- Read [references\u002Fmemlab.md](references\u002Fmemlab.md) for how to use `memlab` to analyze the generated heapsnapshots.\n- Do **not** read raw `.heapsnapshot` files using `read_file` or `cat`.\n\n### 3. Identifying Common Leaks\n\nWhen you have found a leak trace (e.g., via `memlab` output), you must identify the root cause in the code.\n\n- Read [references\u002Fcommon-leaks.md](references\u002Fcommon-leaks.md) for examples of common memory leaks and how to fix them.\n\n### 4. Fallback: Comparing Snapshots Manually\n\nIf `memlab` is not available, you MUST use the fallback script in the references directory to compare two `.heapsnapshot` files and identify the top growing objects and common leak types.\n\nRun the script using Node.js:\n\n```bash\nnode skills\u002Fmemory-leak-debugging\u002Freferences\u002Fcompare_snapshots.js \u003Cbaseline.heapsnapshot> \u003Ctarget.heapsnapshot>\n```\n\nThe script will analyze and output the top growing objects by size and highlight the 3 most common types of memory leaks (e.g., Detached DOM nodes, closures, Contexts) if they are present.\n",{"name":5,"description":7},"main","9a0e463878cc8f95f6e1e54f8773a42697a3fe34","profiles\u002Fpeer\u002Fskills\u002Fmemory-leak-debugging","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent","https:\u002F\u002Fgithub.com\u002Fbaobao0303","baobao22.work@gmail.com","2026-11-06 10:30:30",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add baobao0303\u002FRoom_Agent --skill memory-leak-debugging",{"tool":37,"command":38},"bunx","bunx skills add baobao0303\u002FRoom_Agent --skill memory-leak-debugging",{"tool":40,"command":41},"pnpm","pnpm dlx skills add baobao0303\u002FRoom_Agent --skill memory-leak-debugging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fpeer\u002Fskills\u002Fmemory-leak-debugging\u002FSKILL.md",true,[45,51,57],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fcommon-leaks.md","REFERENCE","参考文档",1756,"https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fpeer\u002Fskills\u002Fmemory-leak-debugging\u002Freferences\u002Fcommon-leaks.md",{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcompare_snapshots.js","SCRIPT","脚本",3098,"https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fpeer\u002Fskills\u002Fmemory-leak-debugging\u002Freferences\u002Fcompare_snapshots.js",{"path":58,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fmemlab.md",1184,"https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fpeer\u002Fskills\u002Fmemory-leak-debugging\u002Freferences\u002Fmemlab.md",[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7EMX6PB6T8J2NZ21CXTRA7E","workflow-launch-exec","Launch, orchestrate, and drive end-to-end multi-agent pipelines (BA -> DESIGN -> DEV -> VERIFY) for any task.","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fsupervisor\u002Fskills\u002Floop-and-orchestration\u002Fworkflow-launch-exec\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7EMX3197ZW7G22MV6A7K8M2","paseo-handoff","Hand off the current task to another agent with full context. Use when the user says \"handoff\", \"hand off\", \"hand this to\", or wants to pass work to another agent.","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fsupervisor\u002Fskills\u002Floop-and-orchestration\u002Fpaseo-handoff\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7EMWZSS3TX7MJYQYZMNCCJF","loop-me","Grill me about specs for the workflows I want to build, within this workspace.","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fsupervisor\u002Fskills\u002Floop-and-orchestration\u002Floop-me\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7EMWPP2C0D3QW8A274JQE75","loop-engineering","Use when the user wants Claude Code to keep working on its own until a goal is met — a self-running loop instead of write→wait→review→re-prompt. Helps decide if a loop is even worth building, picks manual vs automatic and open vs closed, distinguishes \u002Fgoal vs \u002Floop vs routines (\u002Fschedule), and wires up a CLOSED loop with a real verification gate (Stop hook running tests, or an LLM-judge + rubric when output isn't testable) plus a turn\u002Fbudget ceiling so it never spins forever. Triggers on \"loop\", \"döngü\", \"loop engineering\", \"auto mode\", \"run until tests pass\", \"self-running \u002F autonomous agent\", \"\u002Fgoal\", \"Stop hook\", \"ralph wiggum\".","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fsupervisor\u002Fskills\u002Floop-and-orchestration\u002Floop-engineering\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7EMWKJ1JJ0T1P8Q09H3YFM6","handoff","Compact the current conversation into a handoff document for another agent to pick up.","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fsupervisor\u002Fskills\u002Floop-and-orchestration\u002Fhandoff\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7EMWGSXRRGVZFQZYR4DKWHW","claude-handoff","Hand the current conversation off to a fresh background agent that picks up the work immediately.","https:\u002F\u002Fgithub.com\u002Fbaobao0303\u002FRoom_Agent\u002Fblob\u002Fmain\u002Fprofiles\u002Fsupervisor\u002Fskills\u002Floop-and-orchestration\u002Fclaude-handoff\u002FSKILL.md",[],[]]