{"id":100979,"plugin_id":"plugins_6aed3278a3848191925fc74753ecbe72","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-17T06:15:21.376Z","digest":"85c55150da9980e9a6c7686340f50a76e4fd1a1fc6834e61c31244036649fa66","against":null,"payload":{"description":"IDMP dashboard skill for listing dashboards, reading details, updating layout and order, templating stable dashboards, and keeping dashboard lifecycle separate from panel lifecycle.","included_files":[{"relative_path":"references/dashboard-read-flows.md","size_in_bytes":1729}],"name":"idmp-dashboard","skill_md_contents":"---\nname: idmp-dashboard\ndescription: \"IDMP dashboard skill for listing dashboards, reading details, updating layout and order, templating stable dashboards, and keeping dashboard lifecycle separate from panel lifecycle.\"\nmetadata:\n  author: \"TAOS Data\"\n  version: \"0.6.1\"\n  owner_team: \"AI\"\n  requires:\n    bins:\n      - idmp-cli\n  cliHelp: \"idmp-cli dashboard --help\"\n---\n\n# dashboard\n\n**Read [`../idmp-shared/SKILL.md`](../idmp-shared/SKILL.md) first.**\n\n**Before any write:** Follow the [🛑 Destructive op confirmation protocol](../idmp-shared/SKILL.md#-destructive-op-confirmation-mandatory). Read-only commands stay read-only here, but delete / write / patch flows still require the shared yes-gate.\n\n\n## Recommended shortcuts\n\n| Shortcut | Purpose |\n|----------|---------|\n| `+list` | List dashboards under one element. |\n| `+search` | Search dashboards globally. |\n| `+templates` | List dashboard templates available to one element. |\n\n## Recommended reference\n\n- [`dashboard read flows`](references/dashboard-read-flows.md)\n- [`../idmp-workflow-panel-build/SKILL.md`](../idmp-workflow-panel-build/SKILL.md)\n\n## Missing context to resolve first\n\n| Context | Why it must be resolved before create or update |\n| --- | --- |\n| Owner element | You need the final `elementId` before you can list, get, create, reorder, or template dashboards. |\n| Candidate dashboard name | `dashboard.dashboards.new-name` requires both `elementId` and a proposed `name`. |\n| Panel placement plan | Decide which panel IDs should appear in the dashboard and whether panel creation must happen first. |\n| Refresh owner | Dashboard refresh belongs in `dashboard.params`, so you need to know whether the dashboard shell owns refresh behavior. |\n| Verification target | Decide whether the final proof is layout readback, panel membership, ordering, template readiness, or all of them. |\n\n## Constrained live behaviors\n\n- `dashboard.dashboards.new-name` requires a candidate `name`; do not call it with only the owner scope.\n- `refreshInterval` belongs in `dashboard.params`, not in a top-level field.\n- Creating a panel does not add it to a dashboard automatically; dashboard membership is a separate update path.\n- `make-top` only changes ordering. It does not replace layout edits or dashboard content updates.\n- Deleting or editing a dashboard does not delete the underlying panels by itself.\n- Removing a panel from a dashboard must be verified by rereading the dashboard layout and the standalone panel inventory; a dashboard update does not delete the panel object.\n- After membership changes, reread both the dashboard and the standalone panel inventory before you conclude the change is complete.\n\n## Evidence of completion\n\n- A dashboard create is only complete when `dashboard dashboards get` or `dashboard dashboards list` returns the new shell with the intended owner.\n- A layout or membership update is only complete when both the dashboard reread and the standalone panel inventory reflect the intended state.\n- Ordering work is only complete when a reread shows the new position; `make-top` does not stand in for broader layout proof.\n\n## Product behavior to preserve\n\n- Read `list` first, then `get`, before changing a dashboard.\n- Use `new-name` with a candidate `name` before creating a dashboard shell.\n- `refreshInterval` belongs in `dashboard.params`, not in a top-level field.\n- Creating a panel does not add it to a dashboard; dashboard membership is managed separately.\n- Deleting or changing a dashboard does not delete the underlying panels by itself.\n- After removing a panel from `dashboard.panels`, reread both the dashboard and the panel inventory before you conclude the layout change is complete.\n\n## Key commands\n\n```bash\nidmp-cli schema dashboard.dashboards.list\nidmp-cli dashboard dashboards list --params '{\"elementId\":123}'\n\nidmp-cli schema dashboard.dashboards.get\nidmp-cli dashboard dashboards get --params '{\"elementId\":123,\"dashboardId\":456}'\n\nidmp-cli dashboard dashboards search --params '{\"keyword\":\"energy\",\"current\":1,\"size\":20}'\nidmp-cli dashboard dashboards new-name --params '{\"elementId\":123,\"name\":\"demo-dashboard\"}'\n\nidmp-cli dashboard dashboards create --dry-run --ack-risk --params '{\"elementId\":123}' --data '{...}'\nidmp-cli dashboard dashboards update --dry-run --ack-risk --params '{\"elementId\":123,\"dashboardId\":456}' --data '{...}'\nidmp-cli dashboard dashboards make-top --ack-risk --params '{\"elementId\":123,\"dashboardId\":456}'\nidmp-cli dashboard dashboards make-top --dry-run --ack-risk --params '{\"elementId\":123,\"dashboardId\":456}'\n\nidmp-cli dashboard dashboard-templates list --params '{\"elementId\":123}'\n```\n\n## Exception and failure handling\n\n- If a panel exists but does not appear in a dashboard, update the dashboard explicitly; panel creation alone is not enough.\n- If `refreshInterval` is placed outside dashboard `params`, the dashboard will not behave as intended; correct the payload before retrying.\n- If `make-top` succeeds, expect only ordering changes; do not use it as a substitute for layout edits.\n- If an update succeeds but `get` still shows an old layout or `panelIds`, reread immediately before sending another mutation. If the mismatch remains, report stale state instead of retrying blindly.\n- If a dashboard is removed, plan for panels to remain available until they are deleted separately.\n\n## Validation scenarios\n\n1. Read the dashboard list with `idmp-cli schema dashboard.dashboards.list` and `idmp-cli dashboard dashboards list --params '{\"elementId\":123}'`.\n2. Read one dashboard in detail with `idmp-cli dashboard dashboards get --params '{\"elementId\":123,\"dashboardId\":456}'`.\n3. Check discovery and naming with `idmp-cli dashboard dashboards search --params '{\"keyword\":\"energy\",\"current\":1,\"size\":20}'` and `idmp-cli dashboard dashboards new-name --params '{\"elementId\":123,\"name\":\"demo-dashboard\"}'`.\n4. Preview structure changes with `idmp-cli dashboard dashboards update --dry-run --ack-risk --params '{\"elementId\":123,\"dashboardId\":456}' --data '{...}'`, then apply the membership change and reread both the dashboard and the standalone panel inventory.\n5. Verify ordering and template readiness with `idmp-cli dashboard dashboards make-top --ack-risk --params '{\"elementId\":123,\"dashboardId\":456}'`, then preview the same operation with `--dry-run` and check `idmp-cli dashboard dashboard-templates list --params '{\"elementId\":123}'`.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}