apache/airflow/sql-reporting
Claude Code and agent skill by apache/airflow
- community
Checking that the SKILL.md file is still in the repository.
Conventions and review steps for writing analytics SQL against the warehouse. Use whenever the task involves querying tables, building a report, or aggregating metrics.
Install
npx vskill@latest install apache/airflow/sql-reportingSKILL.md
The same SKILL.md was published earlier as apache/airflow/sql-reporting.
SQL Reporting Skill
Apply this skill before writing or running any analytics SQL so reports stay consistent and safe.
When to Use This Skill
Use this skill when the task involves:
- Querying warehouse tables for a metric, report, or dashboard figure
- Aggregating rows (counts, sums, rolling windows)
- Cross-referencing two or more tables
Conventions
- Always
SELECTexplicit column names, neverSELECT *. - Filter on a partition/date column first to bound the scan.
- Alias aggregates with snake_case names (
order_count, notcount(*)). - Cap exploratory queries with
LIMITunless an aggregate already collapses
the result set.
- Prefer
COUNT(DISTINCT ...)over a sub-query when de-duplicating.
Review Checklist (run before returning an answer)
- [ ] No
SELECT *. - [ ] A date or partition predicate is present.
- [ ] Every aggregate has an explicit alias.
- [ ] The query reads only from tables the task actually needs.
Output Format
Return the final SQL in a fenced ```sql block, then one sentence describing what the query returns.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingproviders/common/ai/src/airflow/providers/common/ai/example_dags/skills/sql-reporting/SKILL.md
Popularity
- Repository stars
- 45,840
- Repository forks
- 17,252
- 7-day trend score
- 54
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/apache/airflow/sql-reporting)