- Home
- Skills
- Data & Databases
- quick commerce analytics etl
Works with the AI Agents you already use
quick commerce analytics etl
Production ETL and Star Schema generator for quick-commerce delivery analytics and Power BI dashboards.
$9
quick commerce analytics etl
Example session with this skill installed
Process the raw orders in sample_data/sample_orders.csv with a 15-minute SLA and generate the analytics tables and DAX measures.
- Read your context and instructions
- Compiled the quick commerce analytics
I have executed the quick-commerce ETL pipeline on the provided dataset. The raw order logs were validated for integrity, features like peak-hour flags and SLA breaches were engineered, and the data was partitioned into a Star Schema.
Analytics Pipeline Deliverables
1. Data Quality & Feature Engineering Summary
The pipeline processed the orders with a 15-minute SLA. Missing timestamps were imputed and currency values were normalized.
| Metric | Value |
|---|---|
| Total Orders Processed | 20 |
| SLA Breach Count | 4 |
| Peak Hour Orders | 12 |
| Data Quality Status | Passed |
2. SQL Star Schema DDL
CREATE TABLE fact_orders (
order_id VARCHAR(50) PRIMARY KEY,
customer_id VARCHAR(50),
store_id VARCHAR(50),
order_timestamp TIMESTAMP,
delivery_duration_mins FLOAT,
is_sla_breached INT,
net_revenue DECIMAL(18,2),
is_peak_hour INT
);
CREATE TABLE dim_customers (
customer_id VARCHAR(50) PRIMARY KEY,
customer_name VARCHAR(100),
customer_segment VARCHAR(50)
);
3. Power BI DAX Measures
SLA Breach Rate =
DIVIDE(
CALCULATE(COUNTROWS(fact_orders), fact_orders[is_sla_breached] = 1),
[Total Orders],
0
)
Net Revenue = SUM(fact_orders[net_revenue])
On-Time Delivery % =
DIVIDE(
CALCULATE(COUNTROWS(fact_orders), fact_orders[delivery_status] = "On Time"),
[Total Orders],
0
)
Next steps
- Run
sql/star_schema.sqlagainst your target database (PostgreSQL/Snowflake). - Import the generated CSV files from
output_datainto your warehouse. - Copy the DAX measures into your Power BI report to visualize fulfillment performance.
Connects securely to your tools. The creator never sees your data.
About this skill
Raw grocery delivery logs are often messy, containing missing timestamps and inconsistent SLA data that break downstream dashboards. This skill provides a production-grade ETL pipeline and analytics engineering framework specifically designed for the high-velocity requirements of 10-15 minute delivery platforms.
What it does
- Automated Data Validation cleans raw order streams by normalizing strings and enforcing monetary integrity for revenue and fees.
- Smart Timestamp Imputation handles missing delivery times by calculating expected values based on SLA windows.
- Advanced Feature Engineering calculates delivery durations, detects SLA breaches, and flags peak-hour demand windows automatically.
- Dimensional Modeling transforms flat order logs into an optimized Star Schema with dedicated fact and dimension tables.
- Dashboard Readiness generates production-grade DAX measures for core KPIs like GMV, Net Revenue, and SLA Breach Rate.
How it works
- Prepare Data by placing raw grocery order CSV files into the input directory.
- Execute ETL using the Python CLI script to run validation, feature engineering, and schema partitioning.
- Load Warehouse by applying the generated SQL DDL to create the Star Schema in your database.
- Build Dashboards by importing the processed tables and applying the provided DAX measures in Power BI.
Frameworks & tools
Python 3.9+ with pandas, SQL for warehouse DDL, and DAX for Power BI analytics.
Why this beats prompting it yourself
Writing ETL logic for time-sensitive delivery SLAs requires complex window logic and edge-case handling for missing timestamps. This skill provides a tested architecture that ensures data integrity and high-performance analytical queries without manual prompt engineering.
Use cases
- Analyzing dark-store fulfillment performance across different cities.
- Calculating real-time SLA breach rates during morning and evening peak hours.
- Building executive dashboards to track customer retention and Net Revenue.
- Modeling delivery partner efficiency using specific duration metrics.
Known limitations
The script requires order_timestamp to be present. It assumes a localized timezone for peak-hour flagging. Data export is currently optimized for CSV and SQL formats.
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.
Requires order_timestamp to be present. Peak-hour flagging assumes consistent local timezones. Primary export formats are CSV and SQL.
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 1 day ago
- Accounts
Google AI
Groq
OpenAI
Anthropic
- Software
Pythonpandas =2.0.0
Runs completely locally and offline. Requires no third-party cloud API keys, root permissions, or global system packages.
Permissions
Allowed Hosts