svg-dashboard
БесплатноБез исполняемых скриптовНе проверенUse this skill when asked to generate SVG data visualization dashboards from investigation data or skill reports. Triggers on keywords like "generate SVG…
от SCStelz★ 256 звёзд на GitHubОб этом скилле
SVG Dashboard Generator
Renders SVG data visualization dashboards — either from a skill's
svg-widgets.yamlmanifest (structured dashboards) or freeform from ad-hoc investigation data in context.
Mode Detection
Before rendering, determine which mode applies:
| Condition | Mode | Behavior |
|---|---|---|
User asks for a dashboard after a skill report AND the calling skill has an svg-widgets.yaml |
Manifest Mode | Read the YAML manifest → follow its layout exactly → deterministic dashboard |
| User asks to "visualize", "chart", or "create an SVG" from ad-hoc data in context (query results, investigation findings, inline tables) | Freeform Mode | Select widget types from the Component Library below based on data shape → creative layout |
No svg-widgets.yaml exists for the current workflow |
Freeform Mode | Same as above |
Decision flow:
1. Is there an svg-widgets.yaml for the current skill?
→ YES + user said "dashboard" or "SVG from the report" → Manifest Mode
→ NO → Freeform Mode
2. Does the user have structured data in context (query results, tables, metrics)?
→ YES → Freeform Mode (use data shape to pick widgets)
→ NO → Ask user what data to visualize
Manifest Mode — Structured Dashboard
Used when a skill provides an svg-widgets.yaml manifest (e.g., mcp-usage-monitoring, sentinel-ingestion-report).
Execution
Step 1: Read the calling skill's svg-widgets.yaml (widget manifest)
Step 2: Read this file's Rendering Rules below (component library + quality standards)
Step 3: Read the completed report file (data source)
— If same chat: report data is already in context
— If new chat: read the file path provided by user or find latest in the skill's reports/ subfolder
Step 4: Map manifest fields → report data using data_sources.field_mapping_notes
Step 5: Render SVG → save to the same directory as the report: {report_basename}_dashboard.svg
Data Extraction (Manifest Mode)
- Read the report markdown or scratchpad JSON.
- Match fields from the manifest's
data_sources.field_mapping_notesto locate values. - For arrays (top_tables, anomalies, etc.), extract the full dataset and render up to
max_items. - For single values (KPIs), extract the number and apply the specified
unit. - If a field is not found in the report data, render the widget with "N/A" in muted text — never omit the widget.
Freeform Mode — Adaptive Visualization
Used when no manifest exists or the user wants an ad-hoc visualization from investigation data already in context.
Execution
Step 1: Identify the data in context (query results, investigation findings, report sections, inline tables)
Step 2: Analyze data shape — what dimensions, metrics, categories, and time series are present?
Step 3: Read this file's Rendering Rules below (component library + quality standards)
Step 4: Select appropriate widget types from the Component Library (see Data Shape Guide below)
Step 5: Design a layout: title banner → KPI summary → detail charts/tables → optional assessment
Step 6: Render SVG → save to temp/{descriptive_name}_dashboard.svg or user-specified path
Data Shape → Widget Selection Guide
| Data Shape | Best Widget | Example |
|---|---|---|
| Single metrics / counts | kpi-card |
Total failed logins: 47, Unique IPs: 12 |
| Metric with period-over-period change | delta-kpi-card |
Incidents: 47 (↑23% vs last period) |
| Scored assessment (0-100) | score-card |
Risk Score: 73/100 |
| Categorical counts (top-N) | horizontal-bar-chart |
Top 10 source IPs by attempt count |
| Composition within categories | stacked-bar-chart |
Alert severity breakdown per week |
| Time series (values over dates) | line-chart |
Daily sign-in volume over 30 days |
| Proportional breakdown | donut-chart |
Auth methods: 60% password, 30% MFA, 10% token |
| Additive/subtractive flow | waterfall-chart |
Ingestion costs with license benefits |
| Completion / target tracking | progress-bar |
72% of critical CVEs patched |
| Inline trend in KPI or table cell | sparkline |
7-day mini trend beneath a KPI value |
| Tabular detail rows | table-widget |
IP enrichment results, alert details |
| Prioritized action items | recommendation-cards |
High/Medium/Low priority findings |
| Executive summary | assessment-banner |
Overall risk assessment with key risks/strengths |
| 2D framework coverage (categories × items) | coverage-matrix |
MITRE ATT&CK tactic × technique map, permission grids |
| Report header | title-banner |
Investigation title, date, scope |
Layout Heuristics (Freeform)
- Row 1: Always start with a
title-banner(data source, date range, scope) - Row 2: KPI cards for key metrics (3-6 cards, one row)
- Rows 3+: Charts and tables arranged by importance — most critical findings first
- Final row: Assessment banner or recommen
Установить svg-dashboard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл svg-dashboard?
Use this skill when asked to generate SVG data visualization dashboards from investigation data or skill reports. Triggers on keywords like "generate SVG dashboard", "create a visual dashboard", "visualize this report", "SVG from the report", "visualize results", "create SVG chart", "SVG from this data". Supports two modes: manifest-driven structured dashboards (from skill reports with svg-widgets.yaml) and freeform adaptive visualizations from ad-hoc investigation data. Component library includes KPI cards, score cards, bar charts, line charts, donut charts, waterfall charts, tables, recommendation cards, assessment banners. SharePoint Dark Theme default palette.
Как установить скилл svg-dashboard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл svg-dashboard запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic