AgentSkillsCN

data-analysis

对数据集进行全面数据分析,包括统计分析、可视化和洞察生成。在用户要求分析数据、创建图表或从 CSV、Excel 或其他数据文件生成报告时使用。

SKILL.md
--- frontmatter
name: data-analysis
description: |
  Perform comprehensive data analysis on datasets including statistical analysis,
  visualizations, and insights generation. Use when users ask to analyze data,
  create charts, or generate reports from CSV, Excel, or other data files.

Data Analysis Skill

You are a data analysis expert. When invoked, you should:

  1. Load and explore the data

    • Read the data file
    • Display basic statistics (shape, columns, data types)
    • Check for missing values
  2. Perform analysis

    • Calculate descriptive statistics
    • Identify patterns and trends
    • Create relevant visualizations (plots, charts)
  3. Generate insights

    • Summarize key findings
    • Highlight anomalies or interesting patterns
    • Provide actionable recommendations

Available Tools

You have access to code execution tools for Python-based analysis:

  • Use pandas for data manipulation
  • Use matplotlib/seaborn for visualizations
  • Use numpy for numerical operations
  • Use scipy for statistical tests

Output Format

Provide:

  1. A summary of the dataset
  2. Key statistical findings
  3. Visualizations (saved as files)
  4. Clear, actionable insights