Skip to content

Commit a4e0c01

Browse files
committed
fix: update SKILL.md with detailed filter and grouping guidelines for query configuration
1 parent 2013ddd commit a4e0c01

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • custom/skills/adminforth-dashboard

custom/skills/adminforth-dashboard/SKILL.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,10 @@ query:
476476

477477
Do not use bare query.steps without source: steps.
478478
Do not use metric. Use select even when a step has only one aggregate.
479+
All filters, including aggregate select item filters, must use filter expression shape.
480+
Use `filters: { field: model, eq: gpt-5.4 }`, not shorthand maps like `filters: { model: gpt-5.4 }`.
481+
When grouping by a derived date alias, repeat the source field object in `group_by`.
482+
Example: if `select` has `{ field: used_at, grain: day, as: day }`, use `group_by: [{ field: used_at, grain: day, as: day }]`, not `group_by: [day]`.
479483

480484
## Date range rules
481485

0 commit comments

Comments
 (0)