Warehouse SQL style
SkillDatabases & dataHow to query the shop warehouse (tables, joins, date ranges).
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the Warehouse SQL style skill
What this skill tells your AI
The instructions your AI receives, as published by everruns/everruns in examples/serve/revenue-analyst/agent/skills/sql-style/SKILL.md and read by ahel’s review.
Tables:
orders(id INTEGER, placed_at TEXT /* YYYY-MM-DD */, amount_cents INTEGER)refunds(order_id INTEGER, refunded_at TEXT, amount_cents INTEGER)
Rules:
- Money is stored in cents. Divide by
100.0only in the final projection. - Net revenue =
SUM(o.amount_cents - COALESCE(r.amount_cents, 0))withLEFT JOIN refunds r ON r.order_id = o.id. - Date ranges are half-open:
placed_at >= :start AND placed_at < :end. - Always filter by date. A query without
WHEREscans every order and needs a person's approval.
Signals
- GitHub stars
- 54
- Forks
- 5
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
sql-style- Source
- github.com/everruns/everruns
More in Databases & data
connect
Skill · composiohq
More in Databases & dataanalytics
Skill · coreyhaines31
More in Databases & dataazure-kusto
Skill · microsoft
More in Databases & dataagentic-os
Skill · affaan-m
More in Databases & dataai-regression-testing
Skill · affaan-m
More in Databases & datasupabase
Skill · supabase
More in Databases & data
Skill · composiohq
More in Databases & dataanalytics
Skill · coreyhaines31
More in Databases & dataazure-kusto
Skill · microsoft
More in Databases & dataagentic-os
Skill · affaan-m
More in Databases & dataai-regression-testing
Skill · affaan-m
More in Databases & datasupabase
Skill · supabase
More in Databases & data