← Belső rendszer fejlesztők adatlapja

Skill · 1.0.0 verzió

Diagramadatok és export

Ellenőrizhetővé és exportálhatóvá teszi a diagram adatait szűrők, jogosultságok és táblázatbiztonság megőrzésével.

data-export-tabular-alternatives

Ezt a skillt használó csapattagok

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha felhasználóid látni vagy letölteni szeretnék a diagram mögötti adatot.

Miben segít neked?

  • A diagram összesítésével és szűrésével egyező táblázatot ad.
  • Jelzi, hogy nyers, összesített, szűrt vagy teljes adatkört exportál.
  • Szerveren érvényesíti a jogosultságot, kezeli a kódolást és veszélyes képlettartalmat.

Például ezt kérheted

Adj a szűrt bevételdiagramhoz egyező exportot olvasható dátumokkal és tiltott mezők nélkül. Exportálj szűrt negyedévet ékezetes nevekkel és képletszerű értékkel. Az összeg egyezzen a diagrammal, a táblázatkezelő pedig ne futtassa az értéket.

Részletes dokumentáció

Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.

Részletek…Összecsukás

Data Export & Tabular Alternatives

Use this skill when building companion data tables, drill-through record views, or CSV/JSON/Excel data exports for charts and dashboards.

Verifiable Tabular Companion Views

  1. Every Chart Must Be Verifiable Against Underlying Numbers:
    • Pair visual charts with an accessible, sortable tabular view (inline, tabbed toggle, or expandable drawer) showing the exact series, timestamps/categories, numerators, denominators, and formatted values plotted in the chart.
    • Ensure totals/subtotals in the table footer follow the exact same weighted aggregation logic as the KPI header and chart summary.

Transparent, Permission-Safe Data Exports

  1. Explicitly State Export Scope: Raw vs. Aggregated & Filtered vs. Full:
    • Label export actions unambiguously (Export aggregated chart data (CSV) vs. Export filtered underlying records (CSV)).
    • Include or document export metadata: metric definitions, units/currency, reporting timezone, applied filter criteria, time window, and generation timestamp.
  2. Enforce Server-Side Authorization & Tenant Boundaries on Exports:
    • Never export data from unverified client caches or bypass field/row-level permissions.
    • An export must respect the exact same workspace isolation, role permissions, and field-level redaction rules as the API and UI.
  3. Format & Spreadsheet Safety:
    • Preserve exact numeric values (unrounded or minor-unit accurate numbers in numeric columns rather than pre-abbreviated "$1.2M" strings that break spreadsheet sums), ISO-8601 dates, UTF-8 BOM when needed for Excel compatibility, and neutralize CSV formula injection prefixes (=, +, -, @).

Checklist

  • Can users inspect the exact plotted values in a synchronized, accessible HTML data table?
  • Does the export clearly distinguish between aggregated chart series and raw underlying records, and between filtered vs. unfiltered scope?
  • Are workspace isolation and row/field-level permissions strictly enforced on every export endpoint?
  • Are exported numbers exact (summable in spreadsheets) and protected against CSV formula injection?

Csomagban lévő fájlok 1

  • SKILL.md