ソース情報
- リポジトリ
- XposeMarket/PromSRC
- ソースの最終更新活動
- 2026年5月30日 00:54
- 検出された SKILL.md の言語
- 英語
- スター
- 0
- フォーク
- 0
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/XposeMarket/PromSRC --skill chart-visualizerコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
Render a live inline Chart.js chart in chat when the user asks to chart, graph, plot, or visualize numeric data, KPI trends, comparisons, distributions, or correlations. Use only for inline charts; do not save files or use this for dashboards, interactive apps, or presentation decks.
Diagnose an existing MCP server, preset, connection, discovery, authentication, schema, transport, or tool-execution failure. Use for MCP operations and recovery; use mcp-server-builder to create/register a new MCP server and integration-setup for broader service setup.
Apply the current Prometheus One visual identity: a sleek, premium black-and-gold local AI command-center system across product UI, mobile, website, releases, and creative work.
SOC 職業分類に基づく
SKILL.md を表示中
| name | chart-visualizer |
| description | Render live Chart.js charts directly in chat |
| emoji | 🧩 |
| version | 1.0.0 |
Render live Chart.js charts directly in chat using a fenced chart block. The frontend auto-injects Chart.js and wraps the config in a canvas — output only the config object, nothing else.
```chart block containing only the Chart.js config objectnew Chart(), no <canvas>, no <script> tagsPick the right chart type before writing anything:
| Data situation | Chart type |
|---|---|
| Comparing values across categories | bar |
| Trend over time (continuous) | line |
| Part of a whole (≤6 slices) | pie or doughnut |
| Two numeric variables, correlation | scatter |
| Multiple metrics on one entity | radar |
| Three variables (x, y, size) | bubble |
| Comparing multiple series over time | line (multi-dataset) |
| Distribution or frequency | bar (horizontal if many labels) |
Rules:
Output only the config. No wrapper.
{
type: "bar",
data: {
labels: ["Jan", "Feb", "Mar", "Apr", "May", "Jun"],
datasets: [{
label: "Revenue ($k)",
data: [42, 58, 51, 73, 88, 95],
backgroundColor: ["#6366f1","#8b5cf6","#ec4899","#f43f5e","#f97316","#22d3ee"]
}]
},
options: {
responsive: true,
plugins: {
legend: { position: "top" },
title: { display: true, text: "Monthly Revenue" }
},
scales: {
y: { beginAtZero: true }
}
}
}
{
type: "line",
data: {
labels: ["Q1", "Q2", "Q3", "Q4"],
datasets: [{
label: "Users",
data: [1200, 1900, 1700, 2400],
borderColor: "#6366f1",
backgroundColor: "rgba(99,102,241,0.1)",
tension: 0.4,
fill: true
}]
},
options: {
responsive: true,
plugins: { title: { display: true, text: "Quarterly Active Users" } },
scales: { y: { beginAtZero: true } }
}
}
{
type: "line",
data: {
labels: ["Jan", "Feb", "Mar", "Apr", "May"],
datasets: [
{
label: "2023",
data: [30, 45, 40, 60, 55],
borderColor: "#6366f1",
tension: 0.4
},
{
label: "2024",
data: [40, 55, 62, 78, 90],
borderColor: "#ec4899",
tension: 0.4
}
]
},
options: {
responsive: true,
plugins: { title: { display: true, text: "Revenue YoY" } }
}
}
{
type: "doughnut",
data: {
labels: ["Direct", "Organic", "Referral", "Social", "Email"],
datasets: [{
data: [35, 28, 18, 12, 7],
backgroundColor: ["#6366f1","#8b5cf6","#ec4899","#f97316","#22d3ee"]
}]
},
options: {
responsive: true,
plugins: { title: { display: true, text: "Traffic Sources" } }
}
}
{
type: "scatter",
data: {
datasets: [{
label: "Ad Spend vs Conversions",
data: [
{ x: 500, y: 42 },
{ x: 1200, y: 89 },
{ x: 800, y: 61 },
{ x: 2000, y: 140 }
],
backgroundColor: "#6366f1"
}]
},
options: {
responsive: true,
plugins: { title: { display: true, text: "Spend vs Conversions" } },
scales: {
x: { title: { display: true, text: "Ad Spend ($)" } },
y: { title: { display: true, text: "Conversions" } }
}
}
}
{
type: "radar",
data: {
labels: ["Speed", "Reliability", "Scalability", "Security", "Cost"],
datasets: [
{
label: "Option A",
data: [85, 92, 78, 88, 65],
borderColor: "#6366f1",
backgroundColor: "rgba(99,102,241,0.15)"
},
{
label: "Option B",
data: [72, 80, 95, 70, 90],
borderColor: "#ec4899",
backgroundColor: "rgba(236,72,153,0.15)"
}
]
},
options: {
responsive: true,
plugins: { title: { display: true, text: "Option Comparison" } },
scales: { r: { beginAtZero: true, max: 100 } }
}
}
Use these consistently. They work in both dark and light mode:
| Role | Hex |
|---|---|
| Primary | #6366f1 (indigo) |
| Secondary | #8b5cf6 (purple) |
| Accent 1 | #ec4899 (pink) |
| Accent 2 | #f97316 (orange) |
| Accent 3 | #22d3ee (cyan) |
| Danger | #f43f5e (red) |
| Success | #4ade80 (green) |
For multi-dataset charts, cycle through these in order. For single-dataset bar charts, you can use all colors across bars for visual variety.
For background fills (line charts, radar): append 33 to the hex for ~20% opacity — e.g. #6366f133.
title — unlabeled charts are uselessscales.x.title and scales.y.titleticks: { callback: (v) => '$' + v + 'k' }DO:
responsive: truebeginAtZero: true on value axes unless negative values are meaningfultension: 0.4 on line charts for smooth curvesfill: true + low-opacity background for area emphasis on single-line chartsDON'T:
new Chart() or canvas boilerplate — the renderer handles itcolor: "#cdd6f4") in the config — Chart.js axis colors are auto-managed by the rendererAutomatically produce a chart (without being asked) when:
Lead with the chart, then explain the key insight in 1–2 sentences below it.