chart
Was er macht
Dieser Skill führt den Agenten dazu, das Diagramm-Werkzeug zu nutzen, um Daten als Diagramme darzustellen, etwa als Balken-, Linien-, Kreis- oder Streudiagramm. Er ist für Menschen, die eine Visualisierung ihrer Zahlen in einer KI-Coding-Umgebung wollen.
Wann du ihn nutzt
- ✓Wenn du ausdrücklich ein Diagramm, eine Grafik oder einen Plot von Daten anforderst.
- ✓Wenn du einen Verlauf oder einen Vergleich als Balken-, Linien- oder Kreisdiagramm zeigen willst.
- ✓Wenn du ein Diagramm von Beziehungen oder einem Prozess brauchst, das stattdessen als Mermaid-Diagramm geschrieben wird.
Link zum Skill
https://github.com/Kilo-Org/kilocode/blob/main/.kilo/skills/chart/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Stelle meine monatlichen Verkaufszahlen als Liniendiagramm dar, damit ich den Verlauf sehe.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent wählt einen unterstützten Diagrammtyp, gibt die Daten und Beschriftungen an das Diagramm-Werkzeug weiter und lässt das Werkzeug es darstellen. Prozessdiagramme werden als Textblöcke statt als Diagramm-Ausgabe geschrieben.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Data Visualization
The chart tool is ALWAYS available in this environment. When the user asks to visualize data (charts, graphs, plots), you MUST call the chart tool. Never output the config as text, never say the tool is unavailable, never suggest external renderers. Always use the tool call — it is the only correct response for data visualization requests. Do NOT repeat or echo the config JSON in your text response.
Use the chart tool only when the user explicitly asks for a chart, graph, or plot. Only use these supported Chart.js v4 types: bar, bubble, pie, doughnut, line, mixed, polarArea, radar, scatter. For area charts, use line with fill: true on the dataset — do NOT use area as a type.
Use mermaid fenced code blocks (```mermaid) when:
- The user asks for a diagram, flowchart, sequence diagram, ER diagram, or architecture diagram
- Visualizing relationships, processes, or structure — not data values
Mermaid is NOT a tool and is NOT Chart.js — never call the chart tool for mermaid diagrams. Just write the mermaid syntax directly in your text response inside a fenced code block. No tool call needed.
Do not use either for: code, text, or data that is already clear in prose or table form.
The chart tool input accepts:
title(string) — short label shown in the tool headerdescription(string, optional) — subtitle shown below the titlespec(string) — a Chart.js config object as a JSON string
The spec field must be a Chart.js config JSON string with type, data, and optionally options. Examples:
Bar chart:
{
"type": "bar",
"data": {
"labels": ["A", "B", "C"],
"datasets": [{ "label": "Value", "data": [10, 20, 15] }]
}
}
Area chart (line with fill):
{
"type": "line",
"data": {
"labels": ["Jan", "Feb", "Mar", "Apr"],
"datasets": [{ "label": "Value", "data": [10, 28, 19, 45], "fill": true }]
}
}
Line chart:
{
"type": "line",
"data": {
"labels": ["Jan", "Feb", "Mar", "Apr"],
"datasets": [{ "label": "Value", "data": [10, 28, 19, 45], "fill": false }]
}
}
Scatter plot:
{
"type": "scatter",
"data": {
"datasets": [{
"label": "Points",
"data": [{ "x": 1, "y": 5 }, { "x": 2, "y": 8 }, { "x": 3, "y": 3 }]
}]
}
}
Time series:
{
"type": "line",
"data": {
"labels": ["2024-01", "2024-02", "2024-03", "2024-04"],
"datasets": [{ "label": "Value", "data": [120, 145, 132, 178], "fill": true }]
}
}
Pie chart:
{
"type": "pie",
"data": {
"labels": ["A", "B", "C"],
"datasets": [{ "data": [30, 50, 20] }]
}
}
Doughnut chart:
{
"type": "doughnut",
"data": {
"labels": ["A", "B", "C"],
"datasets": [{ "data": [30, 50, 20] }]
}
}
Radar chart:
{
"type": "radar",
"data": {
"labels": ["Speed", "Power", "Agility", "Stamina"],
"datasets": [{ "label": "Player", "data": [80, 60, 90, 70] }]
}
}
Bubble chart:
{
"type": "bubble",
"data": {
"datasets": [{
"label": "Group A",
"data": [{ "x": 10, "y": 20, "r": 8 }, { "x": 15, "y": 10, "r": 5 }]
}]
}
}
Polar area chart:
{
"type": "polarArea",
"data": {
"labels": ["A", "B", "C", "D"],
"datasets": [{ "data": [11, 16, 7, 14] }]
}
}
Mixed chart (bar + line):
{
"type": "bar",
"data": {
"labels": ["Jan", "Feb", "Mar"],
"datasets": [
{ "type": "bar", "label": "Revenue", "data": [100, 120, 90] },
{ "type": "line", "label": "Trend", "data": [95, 115, 100] }
]
}
}
You may customize colors by setting backgroundColor and borderColor arrays on datasets. The renderer handles sizing — do not set width or height.
Only include scales in options for cartesian chart types: bar, line, scatter, bubble. Do NOT include scales for pie, doughnut, polarArea, radar, or mixed — it will cause them to fail.
Häufige Fragen
Welche Diagrammtypen gibt es?
Balken, Blase, Kreis, Donut, Linie, gemischt, Polarfläche, Radar und Streudiagramm.
Wie mache ich ein Flächendiagramm?
Nutze ein Liniendiagramm mit aktivierter Füllung für den Datensatz.
Erstellt er Flussdiagramme?
Flussdiagramme und Diagramme werden als Mermaid-Code geschrieben, nicht als Ausgabe des Diagramm-Werkzeugs.
Details
Originalbeschreibung des Autors
Use when the user asks to visualize data with charts, graphs, or plots using the `chart` tool (bar, line, scatter, pie, time series, etc.).
repo: Kilo-Org/kilocode
Beliebtheit
- GitHub-Sterne
- 28k
- Platz im Ranking
- #9872
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
jetbrains-sandbox
28kLässt deinen Agenten IntelliJ in einer Linux-Cloud-Sandbox installieren und ihm eine Browser-Ansicht und Werkzeuge geben, um die IDE zu prüfen oder zu automatisieren.
effect
28kBringt deinem Agenten bei, TypeScript mit Effect zu schreiben, mit aktuellen v4-APIs für typisierte Dienste, Schemata und Workflows statt älterer Beispiele.
rtl-aware-development
28kBringt deinem Agenten bei, Oberflächen zu bauen, die für Rechts-nach-links-Sprachen funktionieren, mit logischem Layout und isoliertem Text mit gemischter Richtung.
Ähnliche Skills
gitcrawl
394kLässt deinen Agenten ein gespeichertes Archiv von GitHub-Issues und Pull Requests durchsuchen, Duplikate gruppieren und ihren aktuellen Status auf GitHub prüfen.
slacrawl
394kLässt deinen Agenten Nachrichten in einem lokalen Slack-Archiv durchsuchen und zählen, dessen Aktualität prüfen und es bei Bedarf auffrischen.
goplaces
394kHilft deinem Agenten, mit Google Places nach Orten zu suchen, Details und Bewertungen abzurufen und Ortsnamen aufzulösen, mit JSON-Ausgabe für Skripte.