react-dashboard
БесплатноБез исполняемых скриптовНе проверенBuild interactive React dashboards in Treasure Studio using render_react. Use when the user explicitly asks for an interactive dashboard or custom React…
от treasure-data★ 23 звезды на GitHubОб этом скилле
React Dashboard
Use mcp__tdx-studio__render_react. For simple charts, prefer render_chart.
Sandbox Globals
Do NOT import anything — these are pre-loaded:
- React 18: all hooks (
useState,useEffect,useMemo, etc.) - Recharts: all components
- Tailwind CSS: all utility classes
- Theme:
isDark(boolean) andtheme("light"/"dark") — reactive, update on toggle
Dark Mode
HTML elements — Tailwind dark: variants:
<div className="bg-white dark:bg-gray-900 text-gray-900 dark:text-gray-100">
Recharts props — isDark ternary:
<XAxis stroke={isDark ? "#9ca3af" : "#6b7280"} />
<Tooltip contentStyle={{ backgroundColor: isDark ? "#1f2937" : "#fff" }} />
<CartesianGrid strokeDasharray="3 3" stroke={isDark ? "#374151" : "#e5e7eb"} />
Example
export default function KPIDashboard({ data }) {
const { kpis, trend } = data;
const COLORS = ['#3b82f6', '#10b981', '#f59e0b', '#ef4444'];
return (
<div className="p-6 space-y-6 bg-white dark:bg-gray-900 text-gray-900 dark:text-gray-100">
<div className="grid grid-cols-4 gap-4">
{kpis.map((kpi, i) => (
<div key={i} className="p-4 rounded-lg border border-gray-200 dark:border-gray-700">
<div className="text-sm text-gray-500 dark:text-gray-400">{kpi.label}</div>
<div className="text-2xl font-bold" style={{ color: COLORS[i] }}>{kpi.value}</div>
</div>
))}
</div>
<ResponsiveContainer width="100%" height={300}>
<LineChart data={trend}>
<CartesianGrid strokeDasharray="3 3" stroke={isDark ? "#374151" : "#e5e7eb"} />
<XAxis dataKey="date" stroke={isDark ? "#9ca3af" : "#6b7280"} />
<YAxis stroke={isDark ? "#9ca3af" : "#6b7280"} />
<Tooltip contentStyle={{ backgroundColor: isDark ? "#1f2937" : "#fff" }} />
<Line type="monotone" dataKey="value" stroke="#3b82f6" />
</LineChart>
</ResponsiveContainer>
</div>
);
}
Установить react-dashboard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл react-dashboard?
Build interactive React dashboards in Treasure Studio using render_react. Use when the user explicitly asks for an interactive dashboard or custom React component beyond what render_chart supports.
Как установить скилл react-dashboard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл react-dashboard запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic