- Home
- Skills
- Data & Databases
- AdventureWorksDW Analytics
AdventureWorksDW Analytics
by Rupin Saroha
Automate AdventureWorksDW data warehousing with DuckDB, schema validation, and SQL analytical views.
$5
AdventureWorksDW Analytics
Example session with this skill installed
Run the full validation and loading pipeline for the AdventureWorks data in the raw folder. Create the analytical views and show me the data quality report summary.
- Read your context and instructions
- Compiled the adventureworksdw analytics
I have executed the Enterprise BI Suite pipeline. The source schemas were validated, data was loaded into DuckDB, and analytical views were created. Below is the summary of the data quality checks and the warehouse status.
AdventureWorksDW Warehouse Audit
| Check Type | Script | Status | Findings |
|---|---|---|---|
| Schema Validation | validate_schemas.py | PASS | All 12 CSV files match schemas.json |
| Warehouse Load | load_warehouse.py | SUCCESS | 60,855 rows loaded into FactInternetSales |
| Relationship Check | validate_relationships.py | PASS | Foreign key integrity confirmed for DimCustomer |
| Analytical Views | create_views.py | SUCCESS | Created vw_sales, vw_finance, vw_inventory |
| Quality Audit | data_quality_checks.py | ALERT | 14 records in vw_inventory show negative balance |
Analytical Views Status
vw_sales: Aggregated by Date, Product, and Territory.vw_finance: Linked to Organization and Account dimensions.vw_hr: Employee hierarchy and department views active.
Next steps
- Review the 14 negative inventory records in
references/data_quality_report.md. - Use
references/measures.daxto begin building reports in Power BI Desktop. - Execute
python scripts/test_analytics_views.pyfor a deeper drill-down into specific view logic.
Connects securely to your tools. The creator never sees your data.
About this skill
Data engineers often struggle with manual boilerplate when standing up enterprise-grade analytical warehouses. This skill automates the end-to-end pipeline for the AdventureWorksDW dataset, turning raw pipe-delimited CSVs into a structured DuckDB warehouse with validated schemas and analytical views.
What it does
- Schema Validation verifies that source CSV files match the expected AdventureWorksDW column counts and types before loading.
- Warehouse Loading handles the ingestion of raw data into a local DuckDB instance using optimized Python scripts.
- Analytical View Creation generates SQL views for key business domains including Sales, Finance, HR, Inventory, and Sales Quotas.
- Data Quality Auditing runs automated checks for relationship integrity, row counts, and business logic exceptions like negative inventory.
- BI Reference Generation provides DAX measure definitions and Power Query guides to accelerate Power BI dashboard development.
How it works
- Source Check identifies the presence of required AdventureWorksDW CSV files in the raw data directory.
- Schema Audit runs the validation script to detect mismatches between files and the
schemas.jsondefinition. - Ingestion executes the warehouse loader to populate the
enterprise_bi.duckdbdatabase. - View Deployment runs the SQL transformation layer to create analytical views ready for reporting.
- Quality Gate performs final relationship and data quality tests to ensure the warehouse is consistent.
Frameworks & tools
The skill utilizes Python 3.10+, DuckDB for the OLAP engine, and pandas for data manipulation. It includes support for Streamlit and Plotly for optional dashboarding, alongside DAX and Power Query for BI tool integration.
Why this beats prompting it yourself
Standard LLM prompts often hallucinate table relationships or miss specific AdventureWorksDW schema nuances. This skill uses a fixed set of tested Python scripts and SQL definitions, ensuring the resulting warehouse is technically sound and business-accurate.
Use cases
- Scaffold a local BI development environment for AdventureWorksDW.
- Validate data integrity before importing into a production Power BI instance.
- Generate standard DAX measures and SQL views for retail analytics.
Known limitations
Requires specific AdventureWorksDW pipe-delimited CSV files. Uses local DuckDB storage only and does not include automated Power BI Service publishing or production auth.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 12 days ago
- Software
Python
Permissions
What's inside
Frequently Asked Questions
New in Data & Databases
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.