豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 5762e61

Browse files
committed
lint
1 parent 5a87adb commit 5762e61

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

skills/memory-leak-debugging/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This skill provides expert guidance and workflows for finding, diagnosing, and f
1818
### 1. Capturing Snapshots
1919

2020
When investigating a frontend web application memory leak, utilize the `chrome-devtools-mcp` tools to interact with the application and take snapshots.
21+
2122
- Use tools like `click`, `navigate_page`, `fill`, etc., to manipulate the page into the desired state.
2223
- Revert the page back to the original state after interactions to see if memory is released.
2324
- Repeat the same user interactions 10 times to amplify the leak.

skills/memory-leak-debugging/references/memlab.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
## Analyzing Snapshots
1010

1111
You can use the `take_memory_snapshot` tool provided by the `chrome-devtools-mcp` extension to generate heap snapshots during an investigation. To find leaks, you generally need 3 snapshots:
12+
1213
1. **Baseline:** Before the suspect action.
1314
2. **Target:** After the suspect action.
1415
3. **Final:** After reverting the suspect action (e.g., closing a modal, navigating away).

0 commit comments

Comments
 (0)