looker-open-source/looker-skills

exploring-data-for-looker

Looker Developer Onboarding: Step 1.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/looker-open-source/looker-skills --skill exploring-data-for-looker

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Onboarding Interview & Data Exploration

This skill guides you through the initial phase of onboarding a Looker user: interviewing them to understand their goals, and exploring their BigQuery data to identify a good candidate for a dashboard.

Prerequisites

  • The user must have a fresh Looker Core instance.
  • The user must have gcloud installed and authenticated to GCP.

Instructions

1. Interview the User (Blocking Step)

You MUST start by interviewing the user to understand their goals and get the target GCP project and dataset. DO NOT run any gcloud or bq commands before asking these questions and receiving the user's explicit response.

Propose a set of questions like:

"Welcome to Looker! To help you get started, I'll guide you through connecting your data, setting up a project, and building your first dashboard. To make sure we build something highly relevant to you, could you tell me: 1. What is the main goal of your Looker exploration? (e.g., Sales analysis, User behavior, Inventory tracking, Support metrics) 2. Which BigQuery project and dataset contains the data you want to use? 3. Are there specific metrics (e.g., total revenue, active users) or dimensions (e.g., product category, region) you are most interested in?"

STOP AND WAIT for the user to reply. Do not call any tools in this turn.

2. Explore BigQuery Data

Only after the user has responded to your interview questions with the target project/dataset, proceed to explore their BigQuery data using the bq CLI.

[!IMPORTANT] Do NOT assume any table naming conventions (such as dim_ or fct_ prefixes). While some datasets use them, many do not. You must identify dimension and fact tables by analyzing their schema (columns, types) and content, not just their names.
  1. List Datasets in the project:
bash
    bq ls --project_id={gcp_project_id}

Look for datasets that match the user's business area (e.g., ecommerce, analytics).

  1. List Tables in the selected dataset:
bash
    bq ls {gcp_project_id}:{dataset_name}

Identify candidate tables:

  • Dimension tables contain reference or lookup data (e.g., users,

products, categories, locations). Look for tables that describe entities.

  • Fact tables contain transactional or event data (e.g., orders,

order_items, events, sessions, payments). Look for tables that contain numeric metrics and timestamps.

  1. Examine Table Schemas for key candidate tables:
bash
    bq show --format=prettyjson {gcp_project_id}:{dataset_name}.{table_name}

Look for timestamps, numeric fields for aggregations, and foreign keys that link tables.

3. Propose the Onboarding Goal

Based on the user's input and your data exploration, propose a specific, actionable dashboard goal.

Example proposal:

"I've explored your dataset {dataset_name} and found some great tables: - {table_1} (contains transactional data with revenue and timestamps) - {table_2} (contains product dimensions like category and brand) I propose we target a Sales Overview Dashboard as our onboarding goal. It will include: 1. Total Revenue over time (daily/weekly). 2. Top Product Categories by sales volume. 3. Order Status Distribution (e.g., completed, pending, cancelled). If this sounds good, I will proceed with setting up the Looker CLI and connecting this data!"

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills