warehouse
ما الذي تفعله
تساعد في تخطيط مراجعة تحليلات مستودع البيانات وضمان إنجازها بأمان ووضوح. تحدد بدقة البيانات المستخدمة وطريقة تحليلها وطريقة عرض النتائج بموثوقية.
متى تستخدمها
- ✓عندما تريد الإجابة عن سؤال تجاري باستخدام بيانات من مستودعك.
- ✓إذا كان لديك استعلام SQL وتريد التأكد من صحته وأمانه.
- ✓لإنشاء سجل واضح لما استُخدم من بيانات، ومتى جُمعت، وما الافتراضات التي وُضعت.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/warehouse/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد أن أعرف عدد المبيعات في الربع الأخير، مع الأخذ بالاعتبار العملاء النشطين في البرازيل فقط. ما أفضل طريقة لتخطيط هذا التحليل؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
أولاً تساعد في تحديد السؤال والبيانات اللازمة (كالعملاء والمبيعات) والفترة الزمنية بوضوح. ثم تتحقق من موثوقية البيانات، وتخطط لاستعلام آمن لا يكشف المعلومات الشخصية، وأخيراً تساعد في عرض النتائج مع كل التفاصيل المهمة.
المحتوى التقني (ملف 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.
…
الأسئلة الشائعة
ما هو مستودع البيانات؟
هو مستودع كبير تخزن فيه الشركات كمية كبيرة من البيانات المنظمة للتحليل.
ما هو الاستعلام (query)؟
هو طلب يُوجَّه إلى قاعدة البيانات لاسترجاع معلومات محددة أو تحليلها، ويكون عادةً بلغة مثل SQL.
لماذا من المهم مراجعة الاستعلام قبل تشغيله؟
لضمان أنه سيعطي الإجابة الصحيحة، ولن يكشف بيانات حساسة، ولن يكرر المعلومات، وسيراعي كل التفاصيل المهمة، مثل التواريخ والفلاتر.
التفاصيل
الوصف الأصلي من المؤلف
Plan and review read-only data warehouse analysis with explicit scope, privacy, provenance, and validation checks.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #6140
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
gitcrawl
394kيتيح لوكيلك البحث في أرشيف محفوظ لمشكلات GitHub وطلبات السحب، وتجميع المكرر منها، والتحقق من حالتها الحالية على GitHub.
slacrawl
394kيتيح لوكيلك البحث في رسائل Slack داخل أرشيف محلي وعدّها، والتحقق من مدى حداثة الأرشيف، وتحديثه عند الحاجة.
goplaces
394kيساعد وكيلك على البحث عن الأماكن وعرض تفاصيلها وتقييماتها وتحديد أسمائها عبر Google Places، مع مخرجات JSON للسكربتات.