Aller au contenu
Skillpedia
Analyse et tableurs5.9k · #14531

claude-dashboard

Ce qu’il fait

Cette skill construit un tableau de bord ou une page d'indicateurs local à partir de jeux de données que vous possédez, avec graphiques, chiffres clés et tableaux, et des sources clairement indiquées. Elle s'adresse aux personnes qui veulent un rapport récurrent ou un suivi d'indicateurs qu'elles peuvent actualiser.

Quand l’utiliser

  • ✓Quand vous voulez un tableau de bord, un suivi d'indicateurs ou une fiche de bord construit à partir d'un CSV, d'un JSON ou d'un export de tableur.
  • ✓Quand vous voulez afficher des chiffres accompagnés d'un panneau qui retrace chaque valeur jusqu'à sa source.
  • ✓Quand vous voulez un rapport récurrent qui peut être actualisé avec de nouvelles données.

Lien du skill

https://github.com/JimLiu/baoyu-design/blob/main/dsh-plugins/dsh-claude-dashboard/skills/claude-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/JimLiu/baoyu-design/blob/main/dsh-plugins/dsh-claude-dashboard/skills/claude-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

“Construis un tableau de bord à partir de ce CSV de ventes avec des graphiques mensuels et un tableau, et montre la source de chaque chiffre.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent charge les jeux de données dans le magasin de documents du tableau de bord, écrit la page à partir de ces données et l'ouvre dans un éditeur en direct. Chaque chiffre est relié à sa source.

Contenu technique (SKILL.md original)

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

Dashboard — the shared type

A dashboard is a page you write over datasets the type loads, attributes and refreshes. Everything is a document in its own store, written with write-db. SKILL.md, artifact-type/ and scripts/ are the type's own files: leave them as they are.

What the person asks for is what you build; the defaults apply only to what they left unsaid. Whatever the page's own code can draw or do is allowed: any chart, control or interaction. A chart they named is the one you draw, by hand where d3 has no helper; if you draw another, say which and why.

The calls

A dashboard is a folder, <root>: designs/<slug>/ in the current project unless the person names another (<slug>: the title in lowercase words joined by -; a title not in Latin letters, such as a Chinese one, takes a short English rendering of it: x-account-analytics). The first write-db or upload creates it. One script, Node 22 or later with nothing to install, does every call; below, A is <this skill's folder>/scripts/artifact.mjs.

Command Does
node $A write-db <root> <batch.json | -> Writes documents: set, update, delete. All or nothing.
node $A read-db <root> [<collection>[/<doc_id>]] [--text] Lists every document, a collection's, or one (--text prints its text raw).
node $A upload <root> <file> [--name n] Attaches a CSV, TSV or JSON file: {"url": "/_blob/<id>", "bytes", "contentType", …}.
node $A delete-asset <root> <url | id> Removes an attached file no document names any more.
node $A check <root> Checks the documents, the page's files, and that each dataset mark's data-where/data-row finds its rows. Exit 1 while problems > 0.
node $A open <root> [--port n] [--lan] Starts the editor at 127.0.0.1:4740 (the next free port up when 4740 is taken; --port n starts from n, --port 0 takes any) in the background and returns {"url", "pid", "stop", …}; url is the dashboard's own page; its path, /dashboard/<id>/, stays the same from one start to the next (/ goes there). Run again, it reuses the one running. --lan: also on the local network (see Sharing). --agent-hook "<command>": see Comments.
node $A serve <root> [--port n] [--lan] / stop <root> The same server in the foreground / stops the background one.
node $A share <root> Opens it to the local network and prints a link per role; --disable / --enable / --reset <role>, --role <guest>=<role>, --off. See Sharing.
node $A comments <root> [--all] / --wait The comments people left on the page / waits for one they send you. See Comments.
node $A comment-reply <root> <id> <text|-> / comment-resolve <root> <id> Answers one (--resolve closes it too) / closes one (--reopen).
node $A archive <root> [--out file.zip|dir] The whole folder, history and comments too, as one zip beside it (--out: another file or folder), to back it up, move it to another computer or send it to someone: {file, files, bytes, open}. Unzipped anywhere, open carries on. The owner's Download folder button in the page does the same; the server's own files and the share links stay out.
  • A batch is a JSON array (or {"writes": [...]}) of {"op": "set" | "update" | "delete", "path": "<collection>/<doc_id>", "data": {...}} (collection and doc_id in place of path work too; file_path, a JSON file, in place of data). Up to 50 writes and 1 MB, each document once; every write is checked before any is written. - reads the batch from stdin. From a shell heredoc, quote its word (<<'EOF'): unquoted, the shell expands $file and any other $ or backtick in the batch. Or write the batch to a file and pass its path.
  • A file's text without escaping: {"$file": "<path>"} anywhere in data becomes that file's text, so the page is {"op": "set", "path": "files/index.html", "data": {"text": {"$file": "designs/<slug>/src/index.html"}}}. Paths are relative to the current directory. Keep your working copy in <root>/src/; the store is what the page shows (read-db <root> files/index.html --text prints it).
  • update merges fields at any depth; null (or {"__delete__": true}) removes a key; an array or a value replaces. set writes the whole document; delete removes it.
  • On disk: <root>/db/<collection>/<doc_id>.json, one JSON file a document (db/dash/meta.json, `db/datasets/<id>.json
Questions fréquentes

Quel type de données peut-elle utiliser ?

Elle fonctionne avec des fichiers CSV, TSV ou JSON que vous possédez, ou avec des données que vous rassemblez et joignez.

Peut-elle actualiser le tableau de bord plus tard ?

Oui. Le tableau de bord est conçu pour être actualisé lorsque de nouvelles données arrivent.

De quoi a-t-elle besoin d'installé ?

Elle a besoin de Node 22 ou d'une version plus récente, et rien d'autre à installer.

Détails

Description originale de l’auteur

Use this for a local, data-backed dashboard, metrics page, KPI tracker, scorecard, data visualization or recurring report that opens in the bundled live editor: a page or scroll story of charts, numbers and tables over datasets (a CSV/TSV/JSON file the user has, or data you gather and attach), with a Sources panel that shows where every number comes from. Read it when creating, filling, refreshing or revising one. You write the datasets, then the page as plain HTML, into the dashboard's own store with this skill's script. Not for a static HTML mockup or a picture of a dashboard: that is the ba

repo: JimLiu/baoyu-design

Popularité

Étoiles GitHub
5.9k
Position au classement
#14531
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires