Skip to content
Back to skills

Data Sql Analysis

ASecurity

Use when reviewing or creating SQL for analysis, metric definitions, joins, filters, aggregation, and validation queries.

  • 21 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 6, 2026
developmentsql

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add BlueSkyXN/Codex-is-all-you-need --skill data-sql-analysis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data Sql Analysis?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Data Sql Analysis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/blueskyxn-data-sql-analysis/badge)](https://www.skillsdirectory.com/skills/blueskyxn-data-sql-analysis)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: data-sql-analysis
description: Use when reviewing or creating SQL for analysis, metric definitions, joins, filters, aggregation, and validation queries.
metadata:
  version: "0.2"
  updated: "2026-06-11"
---

# SQL Analysis Skill

Use this workflow for SQL review or SQL-based analysis.

## Steps

1. Identify the business question and expected output grain.
2. Review source tables and join keys.
3. Check join cardinality and risk of fan-out or dropped rows.
4. Check filters, date ranges, timezone assumptions, null handling, and status fields.
5. Review grouping, window functions, and aggregation logic.
6. Verify numerator, denominator, and metric definitions.
7. Add validation queries for row counts, totals, duplicates, and edge cases.
8. Explain limitations and ambiguous definitions.

## Do not

- Do not execute destructive SQL.
- Do not assume metric definitions that are not stated.
- Do not hide ambiguous filters, time ranges, or denominators.

## Output

Return:

1. Query purpose and grain
2. Logic review
3. Metric definition review
4. Risk list
5. Validation queries
6. Recommended changes

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.