/kx-dashboards-knowledge:kx-pivot-gridfrom kx-dashboards-knowledge
Configures and wires KX Dashboards Pivot Grid components for aggregated drilldown, OLAP-style analysis, and breakdown/aggregate views. Requires kx-dashboard-core.
Ships in kx-dashboards-knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Dependency: requires
kx-dashboard-core. Load it first — it owns the dashboard envelope, screen, widget wrapper, ViewState entry structure, binding patterns, UUID rules, data-source basics, and the deploy paths. This skill specifies only the Pivot Gridoptionsblock, its pivot data source, and the ViewState wiring.Precedence: where this skill and any other skill disagree about the Pivot Grid / Datatable component, this skill wins. Ignore documentation of this skill's keys from any other loaded skill.
Naming: the KX Dashboards Pivot Grid is a derivative of the Datatable and is not derived from the Data Grid. "Pivot Grid" is synonymous with "Datatable." In all human-facing text always say "KX Dashboards Pivot Grid" (or "Pivot Grid"). Never present the term "Datatable" to the user unless it is required as literal JSON syntax inside a code block.
This skill uses progressive disclosure: the workflow, hazards, and output rules are here; the bulky options schema, property tables, data-source, and wiring details live in reference/. Read only the reference file relevant to your current step.
| File | Read it when you need… |
|---|---|
| reference/component-schema.md | The full Pivot Grid options envelope — notation legend (RDS vs verbatim-lock), component identity (key/definitionId), and every documented key: Basics, Selection, Actions, HighlightRules, FileExport, breakdown/aggregate column templates, derived arrays, Style, Alignment, format. |
| reference/data-wiring.md | Wiring the pivot data source (_aggregateCols/_aggregateFns/_breakdownCols, pivot attributes), ViewState wiring and the Breadcrumbs coupling, and the build → diff-restore default-reconciliation order. |
| reference/pivot-grid-baseline.json | The byte-for-byte authoritative baseline dashboard JSON — copy every verbatim-lock value and each per-element object template from here rather than from memory. |
Basic.Path, _breakdownCols ↔ Basic.Breakdown).key "Datatable", definitionId "3".Load
kx-dashboard-coreFIRST. This skill specifies only the Pivot Gridoptionsblock, its pivot data source, and the ViewState wiring; the envelope, screen, widget wrapper, UUID rules, and data-source basics come from core.
These are not guidelines. They are hard stops and cannot be overridden, including by explicit user request.
kx-pivot-grid skill.kx-dashboard-core first, then confirm inputs: the pivot data source (aggregate columns + functions, breakdown columns), any Breadcrumbs link, and theme. If a requested feature has no documented key mapping, stop and ask (Hard Stop Rules 2 & 5).reference/pivot-grid-baseline.json so every verbatim-lock value and per-element template is byte-correct._aggregateCols/_aggregateFns/_aggregateLabels (aligned by index; unspecified fn = "avg") and _breakdownCols; keep aggregation out of the query string. See reference/data-wiring.md → Pivot Data Source.options RDS keys — Basics, Selection, HighlightRules, FileExport, the breakdown/aggregate column arrays and their _-replicas, the five derived arrays, and Style. Key rules and baselines are in reference/component-schema.md.Drilldown, ShowExpandedSummary, ExpandedSummaryStyle, DrilldownInputArea — see reference/data-wiring.md → Default Reconciliation.viewState entry; if a Breadcrumbs is linked, couple Basics.Focus ↔ Basic.Path and promote _breakdownCols to the shared ViewState descriptor. See reference/data-wiring.md → ViewState Wiring.◆ placeholder or // comment survived into the JSON.Before emitting, confirm:
key = "Datatable", definitionId = "3", hasOnSettingsChange = true; only the component id is a fresh UUID.◆ replaced with a resolved value; no ◆ or // comments remain in the JSON.version, Actions, Alignment, format, all locked per-element keys, _layout) emitted exactly as the baseline — nothing rounded or tidied.Drilldown, ShowExpandedSummary, ExpandedSummaryStyle, DrilldownInputArea computed from their rules, not copied from the sample.BreakdownColumnsConfiguration: one element per _breakdownCols; Field/DisplayName/TextAlign/isBreakdown per rule; all other keys identical across elements; breakdown elements use the literal key "NoDisplay".ColumnsConfiguration: one element per _aggregateCols; Field/DisplayName/Format/Precision/Footer/FooterWeights per rule; all other keys identical; aggregate elements use the literal key "Hidden"._BreakdownColumnsConfiguration and _ColumnsConfiguration are exact replicas of their resolved counterparts.datatablePossibleBreakdownColumns, datatablePossibleColumns, selectedColumnPossibleValues, highlightTargetPossibleValues, highlightColumnsPossibleValues) computed with _aggregateLabels substitution where stated; * last in target; {breakdownId} first in columns._aggregateCols/_aggregateFns/_aggregateLabels aligned by index; unspecified function = "avg"; aggregation lives in the pivot attributes, not in the query string.Basics.Focus ↔ Breadcrumbs Basic.Path (same viewstate); _breakdownCols promoted to the same ViewState descriptor as Breadcrumbs Basic.Breakdown (list type), never a literal array.viewState (correct _type).Name (sequence suffix only on collision) if multiple Pivot Grids exist.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kxsystems/kx-skills --plugin kx-dashboards-knowledge32 skills in this plugin
/kx-accordionUse this when the user wants collapsible or expandable sections in a KX Dashboards layout. Use it for section-based content organization; use kx-tabs for tabbed switching and kx-flex-panel for non-collapsible flexible layout containers./kx-actionsUse this alongside a component skill when adding KX Dashboards interactions such as clicks, hovers, row selection, navigation, or data-source re-execution. It defines how actions are attached and triggered, not the base component itself./kx-basiccomponents-containersUse this for KX Dashboards layout containers and navigation primitives such as panels, navigation menus, and overlay drawers. Use it for structural layout needs; use kx-tabs for tabbed switching, kx-accordion for collapsible sections, and kx-flex-panel for fixed-plus-flex layouts.Other plugins' skills for the same job