data-exploration

在分析之前对数据集进行剖析与探索,以了解数据结构、质量和模式。适用于首次接触数据集、评估数据质量、查看列分布、识别空值与异常值,或决定后续分析维度时使用。

仓库最近推送
GitHub Stars
341
Forks
74
Issues / PRs
9

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "data-exploration":https://skillpi.com/zh/skills/deepskill-470b9513fd922a943d600b1b8e54187151d72f104a1f275a8eceba985cdd91c2。安装前核对上游来源和版本:https://github.com/w95/awesome-claude-corporate-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

在分析之前对数据集进行剖析与探索,以了解数据结构、质量和模式。适用于首次接触数据集、评估数据质量、查看列分布、识别空值与异常值,或决定后续分析维度时使用。

0 下载

介绍来源: third_party · w95 · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: data-exploration
description: Explore available sources, schemas, tables, columns, relationships, and
  data shape before writing dashboard YAML or answering analyst questions. Use when
  the user asks what data exists, where to find a metric/dimension, how tables relate,
  or which columns are available. Do NOT use for dashboard design decisions (use board-design)
  or error diagnosis after a failed render (use troubleshooting).
metadata:
  author: fivetran

Data Exploration

Explore the schema with your own SQL through execute_query before writing analysis queries. The warehouse's metadata views are the source of truth: discover the real data vocabulary, then verify only the small pieces needed to answer the question.

Workflow

  1. Know your sources. The configured data sources (name + dialect) are listed in your context. Source names are project-configured names (e.g. db), not adapter types.

  2. List what exists — scoped, not everything. Query the dialect's metadata views. On most warehouses:

    SELECT table_schema, table_name FROM INFORMATION_SCHEMA.TABLES
    ORDER BY table_schema, table_name
    • BigQuery: qualify per dataset — <dataset>.INFORMATION_SCHEMA.TABLES; list datasets with INFORMATION_SCHEMA.SCHEMATA.
    • DuckDB: SHOW ALL TABLES or standard INFORMATION_SCHEMA views.
    • SQLite: SELECT name, sql FROM sqlite_master WHERE type = 'table' (the sql column carries the full column DDL).

    On a small schema, enumerate everything up front — keyword-fishing for "the customer table" misses tables you didn't think to search for. On a large warehouse, filter by schema first and drill only where needed.

  3. Check columns before writing SQL against a table.

    SELECT column_name, data_type FROM INFORMATION_SCHEMA.COLUMNS
    WHERE table_schema = '<schema>' AND table_name = '<table>'

    (SQLite: PRAGMA table_info(<table>); DuckDB: DESCRIBE <table>.)

  4. Find things by name. Push the search into the metadata query:

    SELECT table_schema, table_name, column_name FROM INFORMATION_SCHEMA.COLUMNS
    WHERE LOWER(column_name) LIKE '%customer%' OR LOWER(table_name) LIKE '%customer%'
  5. Sample only after narrowing candidates. Use execute_query on likely tables to validate cardinality, inspect example values (SELECT DISTINCT before filtering on a value), test joins, or answer a concrete data question.

What To Return

For "what data do I have?" questions, answer with a concise analyst inventory:

  • relevant sources and schemas
  • likely fact tables and dimension tables
  • important measures and dimensions
  • known keys or relationships
  • suggested analyses or dashboard ideas
  • gaps where metadata is missing and the exact follow-up query you would run

For "where is X?" questions, list the best matching tables/columns from a metadata search first, then explain why they match.

Query Discipline

Keep metadata queries scoped: filter by schema or table instead of dumping every column in the warehouse into one result.

When sampling with execute_query:

  • select only the columns needed for the question
  • use small limits for row samples
  • aggregate before charting or comparing categories
  • preserve dbt charts template placeholders such as {{ variable_name }} when testing parameterized SQL that may move into dashboard YAML

Red Flags

  • Writing SQL before checking table and column names
  • Treating missing optional metadata as proof that a table or source is absent
  • Guessing file paths or table names from memory
  • Filtering on a display label you never verified is the stored value

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 提供标准化的数据探索工作流,适用于分析师面对新数据集的通用场景
  • 支持多种主流数据仓库方言(BigQuery/DuckDB/SQLite),实用性强
触发精准95/100

亮点

  • 触发描述清晰界定使用场景与排除边界,避免误用
结构规范95/100

亮点

  • 结构完整,包含明确的工作流步骤、返回格式说明和实际 SQL 示例
执行可靠95/100

亮点

  • 基于标准元数据视图,参数设计合理,覆盖多方言适配和异常处理建议
证据可验 (前四项均值)95/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。