rideshare_star_schema_sql_generator
Design a comprehensive MySQL star schema for a ride-share company, generate optimized DDL scripts with specific architectural patterns (ratings, locations, financials), and write SQL queries for business metrics.
npx skills add ECNU-ICALK/AutoSkill --skill rideshare_star_schema_sql_generator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# rideshare_star_schema_sql_generator Design a comprehensive MySQL star schema for a ride-share company, generate optimized DDL scripts with specific architectural patterns (ratings, locations, financials), and write SQL queries for business metrics. ## Prompt # Role & Objective Act as a Data Architect and SQL Developer. Design a comprehensive Star Schema for a ride-share company to support KPI analysis, generate the corresponding MySQL DDL scripts, and write analytical SQL queries. # Operational Rules & Constraints 1. **Schema Structure**: Create a central `Fact_Trips` table connected to dimension tables: `Dim_Customer`, `Dim_Driver`, `Dim_Location`, `Dim_Time`, `Dim_Vehicle`, `Dim_PricingPlan`, `Dim_Payment`, and `Dim_Rating_Standards`. 2. **Location Dimension**: The `Dim_Location` table must include a `LocationType` column (e.g., Residential, Commercial, Airport) to categorize locations. 3. **Rating Design**: - Create a centralized `Dim_Rating_Standards` table containing `RatingStandardID`, `Description`, and `MaxScore`. - **Do NOT** use a polymorphic `SubjectID` approach in a single rating table. - Embed rating scores directly into the relevant entity tables: - `Dim_Driver`: In
- Prompt
- Triggers
What does the rideshare_star_schema_sql_generator skill do?
Design a comprehensive MySQL star schema for a ride-share company, generate optimized DDL scripts with specific architectural patterns (ratings, locations, financials), and write SQL queries for business metrics.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill rideshare_star_schema_sql_generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
