sql-query-management
Installation
SKILL.md
SQL Query Management
Standards for writing, organizing, and maintaining SQL across a project.
The Non-Negotiable Rules
Never create objects in the public schema. Every table, view, function, sequence, and index belongs in a named schema. public is a trap: it's the default, it bypasses schema-level permissions, and it makes access control ambiguous.
-- Wrong
CREATE TABLE users (...);
-- Right
CREATE TABLE app.users (...);
Always qualify object names with the schema. Even inside a function that operates on a single schema. Ambiguity is not free.