examples/Kode.Agent.WebApiAssistant/skills/data-viz/SKILL.md
Data visualization for charts and graphs. Use when user needs "画图/图表/可视化". Creates static PNG or interactive HTML charts from data.
npx skillsauth add jinfanzheng/kode-sdk-csharp data-vizInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Visualization is choosing the right chart to answer a specific question. Chart type depends on data relationship, not aesthetics.
| Question | Chart Type | |----------|------------| | Trends over time? | Line chart | | Compare categories? | Bar chart | | Show distribution? | Histogram, box plot | | Relationship between variables? | Scatter plot | | Parts of whole? | Pie, stacked bar | | 2D patterns? | Heatmap | | Financial data? | Candlestick, OHLC |
Chart language: Always use English (titles, axes, legends, labels) to avoid font rendering issues.
Filename: {chart_type}_{timestamp}.{ext} (ASCII only)
.venv/bin/python script.py
Auto-initialize virtual environment if needed, then execute:
# Navigate to skill directory
cd skills/data-viz
# Auto-create venv if not exists
if [ ! -f ".venv/bin/python" ]; then
echo "Creating Python environment..."
./setup.sh
fi
# Execute script
.venv/bin/python your_script.py
The setup script auto-installs: matplotlib, seaborn, plotly, pandas with Chinese font support.
For chart APIs and code templates, load: references/REFERENCE.md, references/templates.md
testing
Weather/current-conditions verification workflow. Use when user asks for weather, temperature, forecast, rain/snow/wind, typhoon alerts, air quality, or other time-sensitive local conditions. Requires location + source links + local update/publish time; NEVER fabricate.
development
Verification + citation workflow. Use whenever the user asks you to look up information, mentions latest/today/real-time, requests news/weather/prices/scores, or whenever you plan to reference external facts. Requires source links and (when relevant) local published/updated time. NEVER fabricate.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
testing
High-speed rail / train lookup workflow (China-focused). Use for timetables, ticket availability, delays, cancellations, or “today/latest” rail updates. Prefer official sources; always include source link + local update time; NEVER fabricate.