JavaScript is disabled. Some features may not work.
officecli-data-dashboard — ★ 7.9K GitHub Stars — Install Guide | SkillsNav
🇺🇸 English🇨🇳 中文
SkillsNav
Home

officecli-data-dashboard

★ 7.9K repomlN/AIntermediateClaude
🤖 AI Summary

This skill teaches the composition pattern for building a single-sheet data dashboard using `officecli-xlsx`, where KPI cards, charts, and sparklines are driven by formulas and cell-range links, while raw data and aggregations remain hidden in upstream sheets.

How to Install

Claude Code:
git clone --depth 1 https://github.com/iOfficeAI/OfficeCLI.git && cp OfficeCLI/skills/officecli-data-dashboard ~/.claude/skills/officecli-data-dashboard -r
# 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.** ```bash 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 (`preset`, `referenceline`, `trendline`, `axisNumFmt`, `holesize`, `combosplit`) 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

Details

Category AI/ML → ml
SourceiOfficeAI/OfficeCLI
SKILL.mdView on GitHub →
Repo Stars★ 7.9K
Est. per SkillN/A (shared across 11 skills from this repo)
DifficultyIntermediate
Risk LevelN/A

Related Skills

Works Well With

Skills from the same repository — often designed to work together