{"id":51515,"plugin_id":"plugin_asdk_app_6ac61addf6fc8191a574d9124ef0576c","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-10-24T13:46:37.025Z","digest":"e5ad802049f134b151bab8eb600c17d32f5c99812093ff44dc2b0b7538821a4a","against":null,"payload":{"description":"Use Superset MCP tools for Explore links, chart configuration discovery, chart previews, saved charts, and chart updates. Use only for MCP tool workflows; do not use for direct API work.","included_files":[{"relative_path":"references/visualization-workflows.md","size_in_bytes":859}],"name":"preset-mcp-visualization","skill_md_contents":"---\nname: preset-mcp-visualization\ndescription: Use Superset MCP tools for Explore links, chart configuration discovery, chart previews, saved charts, and chart updates. Use only for MCP tool workflows; do not use for direct API work.\n---\n\n# preset-mcp-visualization\n\nUse for chart and Explore workflows through MCP.\n\n## Always\n\n- Treat \"create\", \"make\", or \"build\" a chart as saved-chart intent: use `generate_chart` directly. Treat \"add\" as saved-chart intent only when no dashboard target is named; with a dashboard target, route to `preset-mcp-dashboard`.\n- Use `generate_explore_link` for \"show\", \"visualize\", \"explore\", or \"preview\" requests with no save intent.\n- Use `get_dataset_info` once to resolve exact column and metric names before building the config.\n- Use `get_chart_type_schema` only for unfamiliar or complex chart types, or after a config validation error — not for simple bar, line, pie, table, or big-number charts.\n- Use saved metrics as saved metrics; do not treat metric names as raw columns.\n- `generate_chart` request shape: top-level `dataset_id` (not `datasource_id`), chart fields nested inside `config`, and `config.chart_type` uses the MCP taxonomy, currently common values such as `xy`, `table`, `pie`, `pivot_table`, `mixed_timeseries`, `handlebars`, and `big_number` — not a Superset `viz_type` string. If the needed type is not listed or validation fails, trust `get_chart_type_schema`.\n- Never fabricate URLs. Use URLs returned by MCP tools.\n\n## Decision Rules\n\n- Creation intent (\"create/make/build a chart\", or \"add a chart\" with no dashboard target): `generate_chart`. Do not substitute an unsaved Explore link.\n- Preview intent (\"show/visualize/explore/preview\"): `generate_explore_link`.\n- Use `update_chart` to change an existing saved chart.\n- Use `update_chart_preview` only for cached preview form data.\n- Route adding charts to dashboards to `preset-mcp-dashboard`.\n\n## Workflow Order\n\n1. Resolve the dataset and its exact columns/metrics with one `get_dataset_info` call.\n2. Build the config and call the tool matching the user's intent (create → `generate_chart`).\n3. If the call returns a validation error, do not retry the same config blindly: fetch `get_chart_type_schema` once, fix the config against it, and retry once.\n4. Report success based on the tool response, not assumption.\n\n## Retrieve\n\n- Visualization workflow details: [references/visualization-workflows.md](references/visualization-workflows.md)\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}