بنقرة واحدة
adding-pane
Step-by-step guide for adding a new visualization pane type to Visdom (client, server, frontend, tests)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Step-by-step guide for adding a new visualization pane type to Visdom (client, server, frontend, tests)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Diagnose and fix GitHub Actions workflow failures. Use when CI jobs fail for lint, tests, JS build updates, or release automation.
Safely modify environment serialization, reload data, and view layout persistence. Use when changing env save/load formats or storage behavior.
Build and debug pane lifecycle behavior in the React frontend. Use when adding pane actions, layout behavior, rendering updates, or pane-level interactions.
Keep feature behavior identical across WebSocket and polling transport modes. Use when adding socket commands, event flows, or transport-sensitive UI updates.
Modify login/authentication paths safely for browser and Python client flows
Implement and debug browser-to-Python callback routing for clicks, key presses, property updates, and close events
| 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 (cypress/integration/):
@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.