From 169b79446c822f976fdfd2f1b34aae0d9573be57 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Mar 2026 05:48:13 +0000 Subject: [PATCH 1/2] Initial plan From 074c4291fb60dc653dae3c01d88f85db5e7a81b4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Mar 2026 05:50:44 +0000 Subject: [PATCH 2/2] Fix skill markdown example names to match skill IDs Co-authored-by: aravindh28 <54079536+aravindh28@users.noreply.github.com> --- .../california-schools-semantic-model/SKILL.md | 12 ++++++------ .../debit-card-specializing-semantic-model/SKILL.md | 12 ++++++------ .../european-football-2-semantic-model/SKILL.md | 12 ++++++------ src/skills/formula-1-semantic-model/SKILL.md | 12 ++++++------ 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/skills/california-schools-semantic-model/SKILL.md b/src/skills/california-schools-semantic-model/SKILL.md index 76d916f..3373904 100644 --- a/src/skills/california-schools-semantic-model/SKILL.md +++ b/src/skills/california-schools-semantic-model/SKILL.md @@ -18,9 +18,9 @@ when you need deeper detail beyond what is in this file. | Resource | What it contains | How to load | |---|---|---| -| Extended gotchas | Edge cases, NULL handling details, type pitfalls | `read_skill_resource("california-schools-template-semantic-model", "references/gotchas.md")` | -| Metric definitions | Full formulas for FRPM rate, SAT composite, etc. | `read_skill_resource("california-schools-template-semantic-model", "references/metrics.md")` | -| Query patterns | Canonical SQL for common questions (top schools, county stats, etc.) | `read_skill_resource("california-schools-template-semantic-model", "references/query_patterns.md")` | +| Extended gotchas | Edge cases, NULL handling details, type pitfalls | `read_skill_resource("california-schools-semantic-model", "references/gotchas.md")` | +| Metric definitions | Full formulas for FRPM rate, SAT composite, etc. | `read_skill_resource("california-schools-semantic-model", "references/metrics.md")` | +| Query patterns | Canonical SQL for common questions (top schools, county stats, etc.) | `read_skill_resource("california-schools-semantic-model", "references/query_patterns.md")` | **When to load resources:** - If you are unsure about a metric formula → load `references/metrics.md` @@ -65,7 +65,7 @@ when you need deeper detail beyond what is in this file. For extended gotchas and edge cases, call: ```python read_skill_resource( - skill_name="california-schools-template-semantic-model", + skill_name="california-schools-semantic-model", resource_name="references/gotchas.md" ) ``` @@ -84,7 +84,7 @@ There is no direct join between `frpm` and `satscores`; always go through `schoo For canonical query patterns (top schools by SAT score, FRPM rate by county, etc.), call: ```python read_skill_resource( - skill_name="california-schools-template-semantic-model", + skill_name="california-schools-semantic-model", resource_name="references/query_patterns.md" ) ``` @@ -94,7 +94,7 @@ read_skill_resource( For full metric formulas and calculation details, call: ```python read_skill_resource( - skill_name="california-schools-template-semantic-model", + skill_name="california-schools-semantic-model", resource_name="references/metrics.md" ) ``` diff --git a/src/skills/debit-card-specializing-semantic-model/SKILL.md b/src/skills/debit-card-specializing-semantic-model/SKILL.md index 79a87c1..fd8b1b8 100644 --- a/src/skills/debit-card-specializing-semantic-model/SKILL.md +++ b/src/skills/debit-card-specializing-semantic-model/SKILL.md @@ -15,9 +15,9 @@ metadata: | Resource | What it contains | How to load | |---|---|---| -| Extended gotchas | YYYYMM date format, Czech product names, country codes, segment values | `read_skill_resource("debit-card-semantic-model", "references/gotchas.md")` | -| Metric definitions | Spend per customer, monthly consumption, station-level aggregates | `read_skill_resource("debit-card-semantic-model", "references/metrics.md")` | -| Query patterns | Canonical SQL for customer spend, station queries, product filtering | `read_skill_resource("debit-card-semantic-model", "references/query_patterns.md")` | +| Extended gotchas | YYYYMM date format, Czech product names, country codes, segment values | `read_skill_resource("debit-card-specializing-semantic-model", "references/gotchas.md")` | +| Metric definitions | Spend per customer, monthly consumption, station-level aggregates | `read_skill_resource("debit-card-specializing-semantic-model", "references/metrics.md")` | +| Query patterns | Canonical SQL for customer spend, station queries, product filtering | `read_skill_resource("debit-card-specializing-semantic-model", "references/query_patterns.md")` | **When to load resources:** - If filtering by date or month → load `references/gotchas.md` (date is an integer, not a DATE column) @@ -60,7 +60,7 @@ metadata: For extended gotchas and SQL examples, call: ```python read_skill_resource( - skill_name="debit-card-semantic-model", + skill_name="debit-card-specializing-semantic-model", resource_name="references/gotchas.md" ) ``` @@ -83,7 +83,7 @@ For canonical query patterns (spend by segment, monthly trends, station country breakdowns), call: ```python read_skill_resource( - skill_name="debit-card-semantic-model", + skill_name="debit-card-specializing-semantic-model", resource_name="references/query_patterns.md" ) ``` @@ -94,7 +94,7 @@ For full metric formulas (total spend, monthly consumption, station-level aggregates), call: ```python read_skill_resource( - skill_name="debit-card-semantic-model", + skill_name="debit-card-specializing-semantic-model", resource_name="references/metrics.md" ) ``` diff --git a/src/skills/european-football-2-semantic-model/SKILL.md b/src/skills/european-football-2-semantic-model/SKILL.md index 828bf15..429c3d4 100644 --- a/src/skills/european-football-2-semantic-model/SKILL.md +++ b/src/skills/european-football-2-semantic-model/SKILL.md @@ -15,9 +15,9 @@ metadata: | Resource | What it contains | How to load | |---|---|---| -| Extended gotchas | API IDs vs primary keys, time-series attribute joins, home/away goal logic | `read_skill_resource("european-football-semantic-model", "references/gotchas.md")` | -| Metric definitions | Win rates, average goals per match, player ratings, form metrics | `read_skill_resource("european-football-semantic-model", "references/metrics.md")` | -| Query patterns | Team standings, top-rated players, head-to-head records | `read_skill_resource("european-football-semantic-model", "references/query_patterns.md")` | +| Extended gotchas | API IDs vs primary keys, time-series attribute joins, home/away goal logic | `read_skill_resource("european-football-2-semantic-model", "references/gotchas.md")` | +| Metric definitions | Win rates, average goals per match, player ratings, form metrics | `read_skill_resource("european-football-2-semantic-model", "references/metrics.md")` | +| Query patterns | Team standings, top-rated players, head-to-head records | `read_skill_resource("european-football-2-semantic-model", "references/query_patterns.md")` | **When to load resources:** - If joining teams or players to matches → load `references/gotchas.md` (API ID vs id is critical) @@ -62,7 +62,7 @@ metadata: For extended gotchas and SQL examples, call: ```python read_skill_resource( - skill_name="european-football-semantic-model", + skill_name="european-football-2-semantic-model", resource_name="references/gotchas.md" ) ``` @@ -88,7 +88,7 @@ For canonical query patterns (season standings, top scorers, player ratings), call: ```python read_skill_resource( - skill_name="european-football-semantic-model", + skill_name="european-football-2-semantic-model", resource_name="references/query_patterns.md" ) ``` @@ -98,7 +98,7 @@ read_skill_resource( For full metric formulas (goals per game, win rates, player rating trends), call: ```python read_skill_resource( - skill_name="european-football-semantic-model", + skill_name="european-football-2-semantic-model", resource_name="references/metrics.md" ) ``` diff --git a/src/skills/formula-1-semantic-model/SKILL.md b/src/skills/formula-1-semantic-model/SKILL.md index c3c2bb8..d7987d3 100644 --- a/src/skills/formula-1-semantic-model/SKILL.md +++ b/src/skills/formula-1-semantic-model/SKILL.md @@ -15,9 +15,9 @@ metadata: | Resource | What it contains | How to load | |---|---|---| -| Extended gotchas | Time string vs milliseconds, NULL positions, positionText values, standings pitfalls | `read_skill_resource("formula1-semantic-model", "references/gotchas.md")` | -| Metric definitions | Points totals, win counts, pit stop averages, championship standings | `read_skill_resource("formula1-semantic-model", "references/metrics.md")` | -| Query patterns | Driver standings, constructor wins, fastest laps, DNF analysis | `read_skill_resource("formula1-semantic-model", "references/query_patterns.md")` | +| Extended gotchas | Time string vs milliseconds, NULL positions, positionText values, standings pitfalls | `read_skill_resource("formula-1-semantic-model", "references/gotchas.md")` | +| Metric definitions | Points totals, win counts, pit stop averages, championship standings | `read_skill_resource("formula-1-semantic-model", "references/metrics.md")` | +| Query patterns | Driver standings, constructor wins, fastest laps, DNF analysis | `read_skill_resource("formula-1-semantic-model", "references/query_patterns.md")` | **When to load resources:** - If the query involves timing or lap times → load `references/gotchas.md` (time columns are strings) @@ -63,7 +63,7 @@ metadata: For extended gotchas and SQL examples, call: ```python read_skill_resource( - skill_name="formula1-semantic-model", + skill_name="formula-1-semantic-model", resource_name="references/gotchas.md" ) ``` @@ -87,7 +87,7 @@ races.raceId ──→ constructorstandings.raceId For canonical query patterns (season champions, win counts, fastest laps), call: ```python read_skill_resource( - skill_name="formula1-semantic-model", + skill_name="formula-1-semantic-model", resource_name="references/query_patterns.md" ) ``` @@ -98,7 +98,7 @@ For full metric formulas (points per season, pit stop averages, constructor wins call: ```python read_skill_resource( - skill_name="formula1-semantic-model", + skill_name="formula-1-semantic-model", resource_name="references/metrics.md" ) ```