用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/fossasia/visdom --skill adding-pane命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Build and debug pane lifecycle behavior in the React frontend. Use when adding pane actions, layout behavior, rendering updates, or pane-level interactions.
Playwright E2E creation, visual regression workflow, and testing best practices for Visdom
Keep feature behavior identical across WebSocket and polling transport modes. Use when adding socket commands, event flows, or transport-sensitive UI updates.
基于 SOC 职业分类
| name | adding-pane |
| description | Step-by-step guide for adding a new visualization pane type to Visdom (client, server, frontend, tests) |
Use this skill when adding a new visualization type (e.g., a new chart, widget, or media pane) to Visdom.
Python Client (py/visdom/__init__.py):
Visdom class with @pytorch_wrap{"data": [{"type": "my_type", "content": ...}], ...}self._send(msg) to POST to /eventsServer (py/visdom/utils/server_utils.py):
elif ptype == "my_type": branch in the window() function (around line 202)Frontend (js/panes/):
MyPane.js following the pattern in TextPane.js or ImagePane.jsforwardRef + React.memo pattern from Pane.jsRegistration (js/settings.js):
my_type: MyPane to the PANES objectPANE_SIZE: my_type: [width, height]Type stubs (py/visdom/__init__.pyi):
Demo (example/components/):
example/demo.pyTests (playwright/tests/):
@pytorch_wrap decorator on new client methodsforwardRef + React.memo pattern for pane componentsjs/settings.jspy/visdom/static/py/visdom/__init__.pypy/visdom/utils/server_utils.pyjs/settings.jsjs/panes/AGENTS.mdCONTRIBUTING.mdassets/README.md and store templates/resources in assets/.references/TESTS.md.