Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

data-analyst数据分析师

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

3,421

周安装

144

GitHub Stars

76

下载量

1,198
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:data-analyst(数据分析师)
来源仓库:https://github.com/404kidwiz/claude-supercode-skills
仓库路径:skills/data-analyst
安装命令:
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill data-analyst
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill data-analyst

简介

提供商业智能与数据分析专长,擅长 SQL、仪表盘设计和指标驱动洞察。

  • 适用于创建或优化 Tableau、Power BI 等可视化工具,编写复杂查询,定义 KPI 及执行临时分析。
  • 通过查询优化、KPI 标准化和可视化呈现,将原始数据转化为可操作的商业情报。
  • 安装需指定 GitHub 仓库路径,使用 npx 命令添加技能。
  • 涉及敏感数据时应确认权限边界,避免将样本当作全量事实处理。

SKILL.md

Data Analyst

Purpose

Provides business intelligence and data analysis expertise specializing in SQL, dashboard design, and metric-driven insights. Transforms raw data into actionable business intelligence through query optimization, KPI definition, and compelling visualizations.

When to Use

  • Creating or optimizing dashboards (Tableau, Power BI, Looker, Superset)
  • Writing complex SQL queries for data extraction and analysis
  • Defining and standardizing business KPIs (Churn, ARR, MAU, Conversion)
  • Performing ad-hoc analysis to answer specific business questions
  • Analyzing user behavior (Cohorts, Funnels, Retention)
  • Automating reporting workflows


Core Capabilities

Business Intelligence

  • Designing and building interactive dashboards in BI tools
  • Creating automated reporting pipelines and data refresh schedules
  • Implementing self-service analytics capabilities for business users
  • Developing KPI frameworks and metric definitions

SQL and Data Extraction

  • Writing complex queries with window functions, CTEs, and advanced joins
  • Optimizing query performance for large datasets
  • Creating reusable views and materialized tables
  • Implementing data extraction from multiple data sources

Data Visualization

  • Selecting appropriate chart types for different data stories
  • Designing clear, intuitive dashboard layouts
  • Implementing color schemes and visual hierarchies
  • Creating interactive visualizations for exploration

Business Insights

  • Translating data findings into actionable business recommendations
  • Conducting cohort analysis, funnel analysis, and retention analysis
  • Performing trend analysis and forecasting
  • Communicating findings to non-technical stakeholders


3. Core Workflows

Workflow 1: Dashboard Design & Implementation

Goal: Create a "Sales Performance" dashboard for the executive team.

Steps:

  1. Requirements Gathering

- Audience: VP of Sales, Regional Managers. - Questions to Answer: "Are we hitting target?", "Which region is lagging?", "Who are top reps?" - Key Metrics: Total Revenue, % to Quota, YoY Growth, Pipeline Coverage.

  1. Data Preparation (SQL) WITH sales_data AS (SELECT r.region_name, s.sales_rep_name, DATE_TRUNC('month', o.order_date) as sales_month, SUM(o.amount) as revenue, COUNT(DISTINCT o.order_id) as deal_count FROM orders o JOIN sales_reps s ON o.rep_id = s.id JOIN regions r ON s.region_id = r.id WHERE o.status = 'closed_won' AND o.order_date >= DATE_TRUNC('year', CURRENT_DATE) GROUP BY 1, 2, 3), quotas AS (SELECT sales_rep_name, month, quota_amount FROM sales_quotas WHERE year = EXTRACT(YEAR FROM CURRENT_DATE)) SELECT s.*, q.quota_amount, (s.revenue / NULLIF(q.quota_amount, 0)) as attainment_pct FROM sales_data s LEFT JOIN quotas q ON s.sales_rep_name = q.sales_rep_name AND s.sales_month = q.month;
  2. Visualization Design (Conceptual)

- Top Level (KPI Cards): Total Revenue vs Target, YoY Growth %. - Trend (Line Chart): Monthly Revenue vs Quota trend line. - Breakdown (Bar Chart): Attainment % by Region (Sorted desc). - Detail (Table): Top 10 Sales Reps (Revenue, Deal Count, Win Rate).

  1. Implementation & Interactivity

- Add "Region" and "Date Range" filters. - Set up drill-through from Region bar chart to Rep detail list. - Add tooltips showing MoM change.

  1. Quality Check

- Validate numbers against source system (CRM). - Check performance (load time < 5s). - Verify filter interactions.



Workflow 3: Funnel Analysis (Conversion)

Goal: Identify bottlenecks in the signup flow.

Steps:

  1. Define Steps

1. Landing Page View 2. Signup Button Click 3. Form Submit 4. Email Confirmation

  1. SQL Analysis SELECT COUNT(DISTINCT CASE WHEN step = 'landing_view' THEN user_session_id END) as step_1_landing, COUNT(DISTINCT CASE WHEN step = 'signup_click' THEN user_session_id END) as step_2_click, COUNT(DISTINCT CASE WHEN step = 'form_submit' THEN user_session_id END) as step_3_submit, COUNT(DISTINCT CASE WHEN step = 'email_confirm' THEN user_session_id END) as step_4_confirm FROM web_events WHERE event_date >= DATEADD('day', -30, CURRENT_DATE);
  2. Calculate Conversion Rates

- Step 1 to 2: (Step 2 / Step 1) * 100 - Step 2 to 3: (Step 3 / Step 2) * 100 - Step 3 to 4: (Step 4 / Step 3) * 100 - Overall: (Step 4 / Step 1) * 100

  1. Insight Generation

- "Drop-off from Click to Submit is 60%. This is high. Potential form friction or validation errors." - Recommendation: "Simplify form fields or add social login."



Workflow 5: Embedded Analytics (Product Integration)

Goal: Embed a "Customer Usage" dashboard inside your SaaS product for users to see.

Steps:

  1. Dashboard Creation (Parameterized)

- Create dashboard in BI tool (e.g., Looker/Superset). - Add a global parameter customer_id. - Filter all charts: WHERE organization_id = {{customer_id}}.

  1. Security (Row Level Security)

- Ensure customer_id cannot be changed by the client. - Use Signed URLs (JWT) generated by backend.

  1. Frontend Integration (React) import {EmbedDashboard} from '@superset-ui/embedded-sdk'; useEffect(() => {EmbedDashboard({id: "dashboard_uuid", supersetDomain: "https://superset.mycompany.com", mountPoint: document.getElementById("dashboard-container"), fetchGuestToken: () => fetchGuestTokenFromBackend(), dashboardUiConfig: {hideTitle: true, hideTab: true}});}, []);
  2. Performance Tuning

- Enable caching on the BI server (5-15 min TTL). - Use pre-aggregated tables for the underlying data.



5. Anti-Patterns & Gotchas

❌ Anti-Pattern 1: Pie Chart Overuse

What it looks like:

  • Using a pie chart for 15 different categories.
  • Using a pie chart to compare similar values (e.g., 49% vs 51%).

Why it fails:

  • Human brain struggles to compare angles/areas accurately.
  • Small slices become unreadable.
  • Impossible to see trends.

Correct approach:

  • Use Bar Charts for comparison.
  • Limit Pie/Donut charts to 2-4 distinct categories (e.g., Mobile vs Desktop) where "Part-to-Whole" is the *only* message.

❌ Anti-Pattern 2: Complex Logic in BI Tool

What it looks like:

  • Creating 50+ calculated fields in Tableau/Power BI with complex IF/ELSE and string manipulation logic.
  • Doing joins and aggregations inside the BI tool layer instead of SQL.

Why it fails:

  • Performance: Dashboard loads slowly as it computes logic on the fly.
  • Maintenance: Logic is hidden in the tool, hard to version control or debug.
  • Reusability: Other tools/analysts can't reuse the logic.

Correct approach:

  • Push logic upstream to the database/SQL layer.
  • Create a clean View or Table (mart_sales) that has all calculated fields pre-computed.
  • BI tool should just *visualize* the data, not *transform* it.

❌ Anti-Pattern 3: Inconsistent Metric Definitions

What it looks like:

  • Marketing defines "Lead" as "Email capture".
  • Sales defines "Lead" as "Phone call qualification".
  • Dashboard shows conflicting numbers.

Why it fails:

  • Loss of trust in data.
  • Time wasted reconciling numbers.

Correct approach:

  • Data Dictionary: Document definitions explicitly.
  • Certified Datasets: Use a governed layer (e.g., Looker Explores, dbt Models) where the metric is defined once in code.


7. Quality Checklist

Visual Design:

  • Title & Description: Every chart has a clear title and subtitle explaining *what* it shows.
  • Context: Numbers include context (e.g., "% growth vs last month", "vs Target").
  • Color: Color is used intentionally (e.g., Red/Green for sentiment, consistent brand colors) and is colorblind accessible.
  • Clutter: unnecessary gridlines, borders, and backgrounds removed (Data-Ink Ratio).

Data Integrity:

  • Validation: Dashboard totals match source system totals (spot check).
  • Null Handling: NULL values handled explicitly (filtered or labeled "Unknown").
  • Filters: Date filters work correctly across all charts.
  • Duplicates: Join logic checked for fan-outs (duplicates).

Performance:

  • Load Time: Dashboard loads in < 5 seconds.
  • Query Cost: SQL queries are optimized (partitions used, select * avoided).
  • Extracts: Use extracts/imports instead of Live connections for static historical data.

Usability:

  • Tooltips: Hover tooltips provide useful additional info.
  • Mobile: Dashboard is readable on mobile/tablet if required.
  • Action: The dashboard answers "So What?" (leads to action).

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.08%
按下载量换算348

OpenCode

23.37%
按下载量换算280

Codex

16.68%
按下载量换算200

Gemini CLI

10.86%
按下载量换算130

windsurf

7.15%
按下载量换算86

Cursor

3.27%
按下载量换算39

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills