Aller au contenu
Skillpedia
PDF, Word et présentations33k · #9131

officecli-data-dashboard

Ce qu’il fait

Cette skill guide l'agent IA dans la construction d'un tableau de bord Excel à plusieurs parties à partir de données tabulaires. Elle s'adresse aux responsables et aux analystes qui veulent une vue d'ensemble de leurs chiffres.

Quand l’utiliser

  • ✓Quand vous avez un fichier CSV et voulez le transformer en tableau de bord Excel avec les chiffres clés.
  • ✓Quand vous avez besoin d'un tableau de bord de direction avec des graphiques et une mise en forme conditionnelle.
  • ✓Quand vous voulez que le tableau de bord se mette à jour à partir des données brutes grâce à des formules.

Lien du skill

https://github.com/iOfficeAI/OfficeCLI/blob/main/skills/officecli-data-dashboard/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/iOfficeAI/OfficeCLI/blob/main/skills/officecli-data-dashboard/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Peux-tu transformer ce fichier CSV de ventes en tableau de bord Excel avec des cartes d'indicateurs clés et un graphique de tendance mensuelle ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent crée une feuille de tableau de bord avec des cartes d'indicateurs pilotées par formules et des graphiques liés aux données, puis applique une mise en forme par couleurs.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Data Dashboard (scene-layer on officecli-xlsx)

A dashboard is not "a spreadsheet with charts". It is a composition: one Dashboard sheet the user lands on with formula-driven KPI cards, cell-range-linked charts, sparklines, and semantic conditional formatting. Everything else (raw data, aggregations) is upstream infrastructure the user should never need to open. This skill teaches the composition pattern. Everything about the xlsx engine — cells, formulas, batch JSON, shell quoting, validate, HTML preview — comes from officecli-xlsx and is not re-taught here.

Setup

If officecli is missing:

  • macOS / Linux: curl -fsSL https://d.officecli.ai/install.sh | bash
  • Windows (PowerShell): irm https://d.officecli.ai/install.ps1 | iex

Verify with officecli --version (open a new terminal if PATH hasn't picked up). If install fails, download a binary from https://github.com/iOfficeAI/OfficeCLI/releases.

⚠️ Help-First Rule

When a prop name, enum value, or alias is uncertain, consult help before guessing.

officecli help xlsx                          # element list
officecli help xlsx chart                    # full schema for charts
officecli help xlsx sparkline                # sparklines
officecli help xlsx conditionalformatting    # all CF rule types

Help reflects the installed CLI version. When this skill and help disagree, help wins. DeferredAddKeys (combosplit, holesize) work on add only — see Reference.

Mental Model & Inheritance

This skill inherits every xlsx hard rule from officecli-xlsx — shell quoting, zero formula errors, visual delivery floor, batch JSON shape ({"command":"set"|"add","path":...,"props":{...}} — key is command, NOT action), batch JSON dotted-name rule, chart data-feed forms, batch+resident limits, validate discipline. Read officecli-xlsx first; honour those rules, do not re-teach them here.

Reverse handoff — do NOT use this skill when:

  • The ask is a single-sheet CSV-with-formatting tracker (no Dashboard sheet, no KPI cards, ≤ 1 chart) → go back to officecli-xlsx.
  • The ask is a 3-statement / DCF / LBO financial model with blue-inputs / black-formulas / cross-sheet drivers → use officecli-financial-model.
  • The ask is a weekly status report with one SUMIF summary and one chart over < 10 rows → officecli-xlsx.

This skill only accepts: "a Dashboard sheet the user opens first, multiple KPI cards, multiple charts, some CF / sparklines".

Shell & Execution Discipline

→ see officecli-xlsx §Shell & Execution Discipline for the baseline (quoting, heredoc for !, incremental execution).

Two increments specific to dashboards:

  • Long chart add commands exceed 180 chars. Always split across lines with trailing \; never pack a chart command onto a single line. The longer the command, the higher the chance a shell-escape bug hides inside it.
  • Multi-instance counts use query --json | jq length, never raw-get | grep -c. Example: officecli query "$FILE" chart --json | jq '.data.results | length' for "how many charts do I have?".

Core Principles

Five non-negotiable principles. If any one is violated the output is not a dashboard, it is a spreadsheet that happens to have a chart.

  1. Formula-driven KPIs. Every KPI value on the Dashboard sheet is a formula — SUM, AVERAGE, IFERROR((...-...)/...,0), whatever — referring to cells on the Data / Summary sheet. Never hardcode a computed number. When the underlying data changes tomorrow, KPIs update on open.

  2. Cell-range references for charts. Every chart series reads from a cell range: series1.values="Sheet1!B2:B13". Inline data="Revenue:100,200,300" is for a 5-minute demo, not a delivered dashboard. The one exception: data requires an aggregation Excel cannot express (rare) — document the exception in a comment cell.

  3. Dashboard-first architecture. KPI label cells, KPI value cells, charts, sparklines all live on the Dashboard sheet — the single sheet a user lands on. Raw imports and SUMIFS rollups live on Data / Summary sheets, upstream of the Dashboard. The user should never need to switch tabs to find the answer.

  4. Visible cells only for chart sources. LibreOffice does not evaluate formulas in hidden columns or hidden sheets at render time. A chart whose series1.values points at a hidden-column SUMIFS renders blank. Pattern: aggregate into a visible Summary sheet, point charts at Summary cells

Questions fréquentes

Quel type de fichier produit-elle ?

Elle produit un seul fichier Excel au format .xlsx.

Le tableau de bord utilise-t-il des formules ?

Oui. Les cartes d'indicateurs sont pilotées par des formules qui lisent les données.

A-t-elle besoin de la skill Excel ?

La skill s'appuie sur les règles générales d'Excel et ajoute la mise en page du tableau de bord par-dessus.

Détails

Description originale de l’auteur

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to dashboard', 'data visualization'. Output is a single .xlsx. Scene-layer on officecli-xlsx: inherits every xlsx hard rule. DO NOT invoke for: a single budget tracker / one-sheet CSV-with-formatting (use xlsx), a 3-statement / DCF / LBO financial model (use financial-model), a week

repo: iOfficeAI/OfficeCLI

Popularité

Étoiles GitHub
33k
Position au classement
#9131
Licence
Apache-2.0
Mis à jour
30/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires