Skip to content

feat: add chart-visualization skill#255

Merged
hustcc merged 2 commits into
mainfrom
feat-add-chart-visualization-skill
Jan 15, 2026
Merged

feat: add chart-visualization skill#255
hustcc merged 2 commits into
mainfrom
feat-add-chart-visualization-skill

Conversation

@hustcc
Copy link
Copy Markdown
Member

@hustcc hustcc commented Jan 15, 2026

🎨 Skill Usage

If you are using an AI IDE with skill support (like Claude Code), you can use the chart-visualization skill to automatically select the best chart type and generate visualizations.

  1. Import .skills/chart-visualization and enable the skill in your editor.
  2. Provide your data or describe the visualization you want.
  3. The skill will intelligently choose from 25+ chart types and generate the chart for you.
image image image

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @hustcc, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the system's data visualization capabilities by integrating a new 'chart-visualization' skill. This skill empowers users to effortlessly generate a wide array of charts and maps by intelligently selecting the appropriate visualization, extracting necessary data parameters, and leveraging a Python-driven backend to produce high-quality visual outputs. The addition streamlines the process of transforming raw data into insightful graphical representations, making data analysis more accessible and efficient.

Highlights

  • New Chart Visualization Skill: A comprehensive 'chart-visualization' skill has been introduced, enabling the generation of 25 distinct chart types for various data visualization needs.
  • Intelligent Chart Selection Workflow: The skill provides a structured workflow for intelligent chart selection based on data characteristics, parameter extraction, and chart image generation.
  • Python-based Chart Generation Backend: A new Python script (generate.py) is added to serve as the backend for chart generation, handling the mapping of tool names to chart types and interacting with an external visualization service.
  • Extensive Chart Reference Documentation: Detailed reference documentation (in Chinese) is provided for each of the 25 supported chart types, outlining their specific functionalities, required and optional input fields, usage suggestions, and expected return results.
  • IDE Ignore Rule Update: The .gitignore file has been updated to include .codebuddy files, preventing IDE-specific files from being committed.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.02%. Comparing base (10330bc) to head (642b76f).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #255      +/-   ##
==========================================
+ Coverage   79.69%   81.02%   +1.33%     
==========================================
  Files          41       42       +1     
  Lines        1788     1982     +194     
  Branches       31       31              
==========================================
+ Hits         1425     1606     +181     
- Misses        361      374      +13     
  Partials        2        2              

see 29 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new and comprehensive chart-visualization skill, which is a valuable addition. The implementation includes detailed documentation for 25 different chart types and a Python script for generation. My review focuses on improving the robustness and usability of the Python script and ensuring consistency in the documentation. The most critical issue is the missing dependency declaration for the requests library, which would prevent the script from running in a clean environment. Other feedback includes directing error messages to stderr, handling exceptions more specifically, and clarifying documentation for both script usage and chart parameters to enhance the user experience.

Comment thread .skills/chart-visualization/scripts/generate.py
Comment thread .skills/chart-visualization/scripts/generate.py
Comment thread .skills/chart-visualization/references/generate_bar_chart.md
Comment thread .skills/chart-visualization/SKILL.md
Comment thread .skills/chart-visualization/scripts/generate.py
Comment thread .skills/chart-visualization/scripts/generate.py
Comment thread .skills/chart-visualization/scripts/generate.py
@hustcc hustcc changed the title feat: add chart-visualization skill feat: add chart-visualization skill Jan 15, 2026
@hustcc hustcc merged commit d008ab8 into main Jan 15, 2026
1 check passed
@hustcc hustcc deleted the feat-add-chart-visualization-skill branch January 15, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants