data-explorer

Hồ sơ dữ liệu và khám phá đa năng. Sử dụng khi lần đầu tiếp xúc với bất kỳ bộ dữ liệu nào để hiểu cấu trúc, chất lượng và tiềm năng phân tích của nó.

npx skills add https://github.com/google-gemini/gemini-managed-agents-templates --skill data-explorer

Data explorer skill

Profile any tabular dataset (CSV, JSON, Parquet) and produce a structured summary the other skills can consume.

Workflow

  1. Scan workspace: list all data files in the workspace directory.
  2. Load and profile each file:
    • Row count, column count
    • Column names, data types, null counts, unique counts
    • Basic statistics (min, max, mean, median, std for numerics)
    • Value counts for categorical columns (top 10)
    • Correlation matrix for numeric columns
  3. Assess data quality:
    • Missing value percentage per column
    • Potential data type issues (e.g., numbers stored as strings)
    • Duplicate row detection
    • Outlier detection (IQR method)
  4. Output a structured profile as JSON for downstream skills.
  5. Recommend analysis directions based on what you found.

Output format

{
  "files": [
    {
      "filename": "customers.csv",
      "rows": 91,
      "columns": 7,
      "schema": [
        {"name": "CustomerID", "dtype": "object", "nulls": 0, "unique": 91},
        {"name": "CompanyName", "dtype": "object", "nulls": 0, "unique": 91}
      ],
      "quality": {
        "missing_pct": {"Region": 0.60},
        "duplicates": 0
      },
      "recommendations": [
        "CustomerID is a unique string identifier",
        "Region column has a high missing percentage (60%)",
        "Can be joined with orders.csv on CustomerID to analyze customer behavior"
      ]
    }
  ]
}

Key rules

  • Never assume a specific dataset. Profile whatever is present.
  • If no data files are found, inform the user and ask them to upload.
  • Use pandas for profiling. It is pre-installed in the sandbox.
  • Use select_dtypes(include=["object", "str"]) for categorical columns.
  • For large files (>100K rows), profile a sample first and note the sampling.

Thêm skills từ google-gemini

greeter
google-gemini
Một kỹ năng chào hỏi thân thiện
official
code-reviewer
google-gemini
Đánh giá mã tự động cho các thay đổi cục bộ và pull request từ xa với phân tích có cấu trúc về tính chính xác, khả năng bảo trì và bảo mật. Hỗ trợ cả thay đổi trên hệ thống tệp cục bộ (đã staged và chưa staged) và PR từ xa (theo số hoặc URL) với tính năng tự động checkout GitHub CLI. Phân tích mã trên bảy khía cạnh: tính chính xác, khả năng bảo trì, khả năng đọc, hiệu quả, bảo mật, xử lý trường hợp ngoại lệ và độ phủ kiểm thử. Chạy các bộ kiểm tra tiền xử lý tùy chọn (ví dụ: npm run preflight) để phát hiện...
official
review-duplication
google-gemini
Sử dụng kỹ năng này trong quá trình review mã để chủ động kiểm tra cơ sở mã về chức năng trùng lặp, bánh xe được phát minh lại, hoặc không tái sử dụng các thành phần hiện có…
official
reconciliation
google-gemini
Đối chiếu các khoản chi phí đã tải với cơ sở dữ liệu hóa đơn đã phân tích trước, đánh dấu các điểm bất thường như sai lệch số tiền, thiếu hóa đơn, và không khớp người bán…
official
agent-tui
google-gemini
Main Agents: Do NOT use this skill directly. If you need to test the TUI, invoke the `tui_tester` subagent. Drive terminal UI (TUI) applications…
official
async-pr-review
google-gemini
Kích hoạt kỹ năng này khi người dùng muốn bắt đầu một đánh giá PR không đồng bộ, chạy kiểm tra nền trên một PR, hoặc kiểm tra trạng thái của một async PR đã được bắt đầu trước đó…
official
ci
google-gemini
Một kỹ năng chuyên biệt cho Gemini CLI cung cấp hiệu suất cao, fail-fast
official
critique
google-gemini
Chuyên môn trong việc kiểm tra và sửa chữa các tập lệnh kho lưu trữ và quy trình làm việc GitHub Actions để đảm bảo độ tin cậy kỹ thuật và bảo mật.
official