协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
mcp-agent-workflows【开发与工程】Use and maintain Vizro-MCP FastMCP server workflows for dashboard creation, validation, schemas, and PyCafe sharing.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task involves vizro-mcp, MCP server setup, agent-assisted dashboard generation, dashboard validation, schema extraction, PyCafe links, or repository changes under vizro-mcp/.
Route elsewhere when the task is mainly about:
../core-dashboard-build/SKILL.md.../charts-and-figures/SKILL.md.vizro-ai: ../legacy-ai-chart-agent/SKILL.md.vizro_mcp.vizro-mcp/src/vizro_mcp/server.py.vizro_mcp.server exposes mcp, create_dashboard, validate_dashboard_config, schema/result models, and PyCafe helper functions in this snapshot.vizro-mcp depends on mcp, httpx, click, pandas[html,parquet,excel], pydantic-settings, and vizro.For a user asking to use MCP with Vizro:
Explain that Vizro-MCP is the maintained agent-assistance route in this monorepo.
Check installed package importability before launching a server:
python - <<'PY'
import vizro_mcp.server as s
print(hasattr(s, 'mcp'), hasattr(s, 'create_dashboard'), hasattr(s, 'validate_dashboard_config'))
PY
Inspect vizro-mcp/README.md for current server/CLI setup expected by the repository.
Use validation helpers/schema output before generating or sharing external artifacts.
Vizro().build().When the task asks for schema/model JSON or LLM-facing dashboard instructions:
vizro_mcp.server schema helpers and schema models as the source of truth.vizro-core model fields using scripts/inspect_vizro_schema.py when changes involve core model definitions.For changes under vizro-mcp/:
cd vizro-mcp
hatch run lint
hatch run test-unit tests/unit/vizro_mcp/test_server.py
If Hatch is unavailable, use the prepared installed-package environment and run focused pytest from vizro-mcp/, but preserve the package working directory.
validate_dashboard_config errors usually mean the generated dashboard does not match current vizro.models schemas. Inspect the model fields and fix the config, not the validator.pandas[html,parquet,excel] extras.tools/pycafe/create_pycafe_links_comments.py.vizro-mcp/README.mdvizro-mcp/src/vizro_mcp/server.pyvizro-mcp/src/vizro_mcp/_schemas/schemas.pyvizro-mcp/tests/unit/vizro_mcp/test_server.pytools/pycafe/create_pycafe_links_comments.py