DevHive-Cli data-visualization
Build interactive data visualization apps (dashboards, analysis reports, dataset explorers) with React, Recharts, and OpenAPI codegen workflow. Handles all data sources internally including integrations, databases, APIs, and CSV files.
git clone https://github.com/El3tar-cmd/DevHive-Cli
T=$(mktemp -d) && git clone --depth=1 https://github.com/El3tar-cmd/DevHive-Cli "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data-visualization" ~/.claude/skills/el3tar-cmd-devhive-cli-data-visualization && rm -rf "$T"
skills/data-visualization/SKILL.mdData Visualization Skill
This skill helps you create interactive data visualization apps with charts, data tables, and CSV handling.
When to Use
Use this skill when the user asks to:
- Create a dashboard, report, or data exploration app with data from any source
- Build charts, graphs, or data tables
- Visualize data from integrations (Stripe, Google Analytics, Linear, databases, etc.)
- Create an interactive analytics dashboard with filters and controls
- Build a reporting interface, metrics dashboard, or analysis report
- Explore or investigate a dataset with filters and drill-down
- Combine multiple data sources into a unified visualization
Key point: This skill handles data fetching internally. You do NOT need to query data first using other skills - this skill will use
searchIntegrations() and proposeIntegration() to connect to data sources as part of building the app.
Example user requests
- "Create a dashboard showing my Stripe revenue"
- "Build a sales analytics dashboard"
- "Analyze my revenue data and present the findings"
- "Create a report explaining why conversions dropped"
- "Let me explore my customer data with filters"
- "Build a tool to browse and filter our product catalog"
- "Visualize this CSV file"
When NOT to Use
- The user is asking questions about data in chat (e.g., "How many Linear issues were closed last week?") - use
skillquery-integration-data - The user simply wants to fetch/export/transform data without visualization - use
skillquery-integration-data - The user is not asking for any visual output or web interface
Architecture
This skill uses the react-vite scaffold with backend conventions from the
skill:pnpm-workspace
- Create the artifact (
with typecreateArtifact()
)data-visualization - Install data-viz packages and patch CSS (chart colors + print styles)
- Follow the contract-first backend flow from the
skill (pnpm-workspace
,references/openapi.md
,references/server.md
)references/db.md - Launch a design subagent (async) for the frontend
- Implement API routes in the shared
artifacts/api-server/
See
references/common-bootstrap.md for the full step-by-step workflow.
IMPORTANT: Data visualization artifacts must use the design subagent workflow. The reference files contain critical layout and styling specifications that only the design subagent can consume. Plan dashboard summary, grouped counts, and trend endpoints in the OpenAPI spec so the design subagent has real hooks for the wow surfaces.
App Type Classification
Classify the user's request into one of three types. If ambiguous, default to Dashboard.
Dashboard (default)
Signals: "dashboard", "monitor", "KPIs", "metrics overview", "analytics", "track", "real-time"
Layout: KPI cards + grid of charts + optional detail table. Wide container (
max-w-[1400px]).
Read these references:
— Setup and workflowreferences/common-bootstrap.md
— Steps 5-6, checklist, subagent templatereferences/dashboard-workflow.md
— Grid patterns, KPI cardsreferences/dashboard-layout.md
— Split refresh with auto-refresh, date filtersreferences/dashboard-controls.md
Page structure: See
references/dashboard-page-structure.md for composition skeleton
Analysis Report
Signals: "report", "analysis", "findings", "explain", "why is", "summarize", "readout", "review", "assessment"
Layout: Vertical narrative with embedded charts and written analysis. Narrow container (
max-w-[900px]).
Read these references:
— Setup and workflowreferences/common-bootstrap.md
— Steps 5-6, checklist, subagent templatereferences/report-workflow.md
— Executive summary, section cards, recommendationsreferences/report-layout.md
Page structure: See
references/report-page-structure.md for composition skeleton
Dataset Explorer
Signals: "explore", "investigate", "browse", "filter", "drill down", "search data", "let me query", "look through"
Layout: Sidebar filters + central data table + reactive charts. Wide container (
max-w-[1600px]).
Read these references:
— Setup and workflowreferences/common-bootstrap.md
— Steps 5-6, checklist, subagent templatereferences/explorer-workflow.md
— Filter sidebar, data table, reactive chartsreferences/explorer-layout.md
Page structure: See
references/explorer-page-structure.md for composition skeleton
Common References (all types)
These references apply to all three app types. Read as needed:
— CHART_COLORS, CustomTooltip, CustomLegend, dark mode styling, opacity, animationreferences/common-chart-patterns.md
— Chart selection guide, area vs line vs bar, pie/donut best practicesreferences/common-chart-types.md
— Dark mode toggle, PDF export, simple refresh, CSV export per chartreferences/common-controls.md
— Choose between app DB, integrations, CSV, and direct REST APIsreferences/common-data-sources.md
— Skeleton patterns, loading states, empty statesreferences/common-loading-states.md
— PapaParse for client and server CSV handlingreferences/common-csv-parsing.md
— Color palette, semantic colors, accessibilityreferences/common-color-guide.md
— Tailwind v4 CSS patches, fonts, shadows, chart colors, print stylesreferences/common-css-overrides.md
— Data-viz-specific DB query shaping and DB-backed API cachingreferences/common-database.md
— TanStack React Table with sorting, filtering, paginationreferences/common-data-tables.md
— Guide for generating comprehensive analysis reportsreferences/detailed-analysis.md
— Dashboard composition skeleton with generated hooksreferences/dashboard-page-structure.md
— Report composition skeleton with generated hooksreferences/report-page-structure.md
— Explorer composition skeleton with generated hooksreferences/explorer-page-structure.md
Handling Truncated Reference Files
IMPORTANT: When reading a reference file, the output may be truncated (indicated by
...[Truncated] at the end). If truncated, note the last line number shown and re-read the file with offset set to that line number minus 10 (for overlap). Repeat until no ...[Truncated] appears. Do not act on partial instructions from a truncated file.