본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트28k · #9872

chart

하는 일

차트 도구를 사용해 데이터를 막대, 선, 원, 산점도 같은 차트로 보여 주도록 에이전트를 안내합니다. AI 코딩 환경 안에서 숫자를 시각적으로 보고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓데이터의 차트, 그래프, 플롯을 명시적으로 요청할 때.
  • ✓추세나 비교를 막대, 선, 원 차트로 보여 주고 싶을 때.
  • ✓관계나 절차를 나타내는 다이어그램이 필요한 경우. 이때는 차트 대신 mermaid 다이어그램으로 작성합니다.

스킬 링크

https://github.com/Kilo-Org/kilocode/blob/main/.kilo/skills/chart/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Kilo-Org/kilocode/blob/main/.kilo/skills/chart/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“월별 판매 수치를 선 차트로 그려서 추세를 볼 수 있게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 지원되는 차트 유형을 고르고, 데이터와 라벨을 차트 도구에 전달해 렌더링하게 합니다. 절차 다이어그램은 차트가 아니라 텍스트 블록으로 작성합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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 header
  • description (string, optional) — subtitle shown below the title
  • spec (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.

자주 묻는 질문

어떤 차트 유형을 지원하나요?

막대, 버블, 원, 도넛, 선, 혼합, 폴라 영역, 레이더, 산점도를 지원합니다.

영역 차트는 어떻게 만드나요?

선 차트를 사용하고 데이터셋의 채우기 옵션을 켜면 됩니다.

순서도도 그리나요?

순서도와 다이어그램은 차트 도구의 출력이 아니라 mermaid 코드로 작성됩니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
28k
순위
#9872
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬