python-client-api
fossasia/visdom/.agents/skills/python-client-api/SKILL.md
Add or modify Visdom Python client methods with correct server/frontend parity and typing updates
Skill10k starsChanged yesterday
What's in it
- Skill: Python Client API Changes
- When to Use
- Core Workflow
- Guardrails
- Documentation
- Assets
- Tests
--- name: python-client-api description: Add or modify Visdom Python client methods with correct server/frontend parity and typing updates --- # Skill: Python Client API Changes ## When to Use Use this skill when adding or changing methods in `py/visdom/__init__.py`. ## Core Workflow 1. Add/update the `Visdom` method in `py/visdom/__init__.py`. 2. Keep `@pytorch_wrap` on public plotting APIs. 3. Build payloads through `self._send(...)` with consistent keys (`data`, `win`, `eid`, `opts`). 4. Update `py/visdom/__init__.pyi` for type stub parity. 5. If payload shape changes, update server handling (`py/visdom/utils/server_utils.py`) and pane rendering assumptions. 6. Add or update demo usage in `example/` and relevant Playwright tests. ## Guardrails - Do not bypass `_send()` with ad-hoc transport logic. - Keep backward compatibility for `win`, `env`, and `update` behavior. - API changes must be reflected in docs and type stubs. ## Documentation - [Skill reference](references/REFERENCE.md) - `py/visdom/__init__.py` - `py/visdom/__init__.pyi` - `py/visdom/utils/server_utils.py` - `py/visdom/server/handlers/web_handlers.py` - `AGENTS.md` - `CONTRIBUTING.md` ## Assets - See `assets/README.md` and store templates/resources in `assets/`. ## Tests - Follow the default flow in `references/TESTS.md`.
More agent context in fossasia/visdom
19 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Copilot instructions
Skill
- adding-pane.agents/skills/adding-pane/SKILL.md
- auth-login.agents/skills/auth-login/SKILL.md
- callback-events.agents/skills/callback-events/SKILL.md
- ci-workflow-debug.agents/skills/ci-workflow-debug/SKILL.md
- docs-sync.agents/skills/docs-sync/SKILL.md
- environment-views.agents/skills/environment-views/SKILL.md
- env-persistence.agents/skills/env-persistence/SKILL.md
- frontend-pane-lifecycle.agents/skills/frontend-pane-lifecycle/SKILL.md
- handler-auth-flow.agents/skills/handler-auth-flow/SKILL.md
- offline-replay.agents/skills/offline-replay/SKILL.md
- performance-streaming.agents/skills/performance-streaming/SKILL.md
- playwright-testing.agents/skills/playwright-testing/SKILL.md
- polling-parity.agents/skills/polling-parity/SKILL.md
- release-process.agents/skills/release-process/SKILL.md
- update-patching.agents/skills/update-patching/SKILL.md
- websocket-flow.agents/skills/websocket-flow/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

