Skill: Environments and Views
When to Use
Use this skill for save, fork, delete, compare flows, and layout/view behavior.
Core Workflow
- Trace environment behavior across:
- Python client env methods (
save,fork_env,delete_env,get_env_list) - Server handlers (
/env,/compare,/save,/delete_env,/fork_env) - Frontend env controls and layout application
- Python client env methods (
- Keep environment persistence format stable (
jsons+reloadstructure). - Maintain compare semantics: merge windows by title with clear legend prefixes.
- Keep view layout storage and reload behavior consistent with existing format.
Guardrails
- Preserve hierarchical env naming assumptions based on
_. - Do not break old env JSON compatibility.
- Ensure env operations behave the same in WebSocket and polling modes.
Documentation
- Skill reference
py/visdom/__init__.pypy/visdom/utils/server_utils.pypy/visdom/server/handlers/web_handlers.pyjs/topbar/EnvControls.jsAGENTS.mdCONTRIBUTING.md
Assets
- See
assets/README.mdand store templates/resources inassets/.
Tests
- Follow the default flow in
references/TESTS.md.