coding-guidelines-sql
Installation
SKILL.md
SQL Coding Guidelines
These conventions apply to all SQL written on the BME data platform (SparkSQL, Databricks SQL, T-SQL). The goal is consistency across layers and teams — when in doubt, follow the principle of least surprise: names should be readable, predictable, and close to the source system.
General Rules
- English only — all identifiers, comments, and aliases.
- Lowercase — keywords, identifiers, aliases, CTE names.
- Snake case —
sales_amount,order_backlog, notSalesAmount. - Singular —
sales_order,sales_date, notsales_orders. - Double quotes for string literals.
- Backticks (
`) for special-character identifiers in SparkSQL / sink targets — these are excluded from SQL formatting tools. - Square brackets (
[]) for special-character identifiers in legacy T-SQL only.
Related skills
More from bmsuisse/skills
autoresearch
>
15codeunit-analyzer
>
14deslop
>
14coding-guidelines-python
>
13init-app-stack
Use this skill whenever the user wants to bootstrap, scaffold, or initialize a new full-stack app with a Vite + React + TanStack + shadcn/ui frontend and a FastAPI + Postgres backend. Triggers on requests like "create a new app", "set up a project", "scaffold a full-stack app", "init a new project", or anything involving starting a fresh React/FastAPI application from scratch.
12databricks-sql-autotuner
>
12