warehouse
できること
データウェアハウスの分析を計画し、見直すのを助けます。安全かつ分かりやすく進むように支援します。どのデータを使うか、どのように分析するか、結果をどう確実に示すかを明確に定めます。
使う場面
- ✓データウェアハウスのデータを使って、ビジネス上の問いに答えたいとき。
- ✓SQLクエリを用意し、それが正しく安全かを確かめたいとき。
- ✓どのデータを、いつ集め、どんな前提を置いたのかを記録として残したいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/warehouse/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“先四半期の売上件数を知りたいです。ブラジルのアクティブな顧客だけを対象にする場合、この分析はどのように計画するのがよいですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
まず、問い、必要なデータ(顧客や売上など)、対象期間を明確にすることから始めます。次に、データが信頼できるかを確認し、個人情報を露出させない安全なクエリを計画します。最後に、重要な詳細をすべて含めて結果をまとめる手助けをします。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Warehouse Analysis
Overview
Use this skill to turn a business question into a careful, reproducible warehouse-analysis plan. It is vendor-neutral and assumes no particular schema, semantic layer, connector, or command-line tool.
The skill defaults to read-only work. It helps identify the data needed, review a proposed query, and communicate results without overstating what the evidence supports.
When to Use
- The user wants to answer a business question using an authorized data warehouse.
- A proposed SQL query needs a review for grain, joins, filters, privacy, or interpretation risks.
- An analysis needs a clear record of scope, freshness, assumptions, and source tables.
Do not use this skill for warehouse administration, pipeline repair, access escalation, schema mutation, or production data changes.
Required Inputs
Before proposing a query, establish:
- The decision or question the analysis should inform.
- The population, metric, dimensions, and time window.
- The authorized warehouse or query interface available to the user.
- The relevant schema documentation or table metadata.
- Any privacy, retention, regional, or minimum-group-size constraints.
If a required input is missing, ask a focused question. Never invent table names, column names, business definitions, credentials, or query results.
Workflow
1. Define the analytical contract
Restate the request as:
- Question: what is being measured or compared.
- Population: which entities are included and excluded.
- Metric: numerator, denominator, aggregation, and unit.
- Window: dates, timezone, and whether the period is complete.
- Decision: how the result will be used.
Call out ambiguous terms such as “active,” “customer,” “revenue,” or “last month.” Resolve ambiguity before querying.
2. Find governed sources
Prefer documented metrics, curated models, and governed tables over raw event streams. Use only schema information supplied by the user or available through an authorized interface.
For each proposed source, record:
- table or model name;
- expected grain and primary key;
- freshness or maximum available date;
- owner or documentation reference;
- known exclusions and quality warnings.
If the source cannot be verified, label the plan as provisional and stop before presenting numerical conclusions.
3. Draft a read-only query
Create a query only when the real schema is known. The query should:
- select only the columns needed for the stated question;
- filter the requested time window explicitly;
- use qualified column names and deterministic joins;
- guard division by zero and null-sensitive calculations;
- avoid row-level personal data when an aggregate answers the question;
- include a conservative row limit for exploratory output when appropriate.
Do not emit guessed SQL with fictional identifiers. If no authorized execution tool is available, provide the reviewed query for the user to run rather than claiming it was executed.
4. Review before execution
Check the proposed query against this list:
- Does every join preserve the intended grain?
- Can a one-to-many join duplicate the numerator or denominator?
- Are test, deleted, internal, or incomplete records handled deliberately?
- Are timezone boundaries and partial periods explicit?
- Does the query expose identifiers or small groups unnecessarily?
- Would a simpler aggregate answer reduce data access?
- Are metric definitions consistent with the documented source?
Revise any failed check before execution. For sensitive or high-impact decisions, ask for review by the data owner or another qualified analyst.
5. Execute only with authorization
Run a query only through a user-authorized, read-only interface. Do not request credentials in chat, bypass access controls, broaden permissions, or turn a read-only task into a write operation.
Stop if the interface is unavailable, the scope exceeds the user's authorization, or the result would reveal restricted personal or confidential data.
6. Validate the result
Before interpreting output:
- compare row counts and totals with a trusted reference when one exists;
- inspect null rates, duplicates, and unexpected categories;
- test whether conclusions change under reasonable window or filter choices;
- separate observed values from hypotheses about their causes.
Do not infer causality from a descriptive query. Do not hide contradictory or incomplete evidence.
…
よくある質問
データウェアハウスとは何ですか?
企業が分析のために、整理された大量のデータを蓄積しておく大規模な保管場所です。
クエリとは何ですか?
データベースに対して特定の情報を取得または分析するために出す依頼のことで、通常はSQLなどの言語を使います。
クエリを実行する前に見直すのはなぜ重要なのですか?
クエリが正しい答えを返すか、機密データを露出させないか、情報を重複させないか、日付やフィルタなど重要な条件をすべて考慮しているかを確かめるためです。
詳細
作者による元の説明
Plan and review read-only data warehouse analysis with explicit scope, privacy, provenance, and validation checks.
人気
- GitHubのスター
- 48k
- ランキング
- #6140
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。