{"success":true,"name":"give-sql-tables-and-columns-consistent-honest-names","description":"Naming new SQL tables and columns for a feature.","category":"ai-brimind","path":"ai-brimind/give-sql-tables-and-columns-consistent-honest-names/SKILL.md","file":"SKILL.md","content":"---\nname: give-sql-tables-and-columns-consistent-honest-names\ndescription: \"Naming new SQL tables and columns for a feature.\"\n---\n\n# Give SQL Tables and Columns Consistent, Honest Names\n\n## When to use\nProject uses SQL, and you are creating tables or columns without first checking the naming conventions already used in this schema.\n\n## Example request\nNew table 'UserOrders' in a snake_case schema → every query now mixes styles; the schema's existing convention was the rule to follow. Column named 'data' or 'info' → six months later nobody knows what's inside; names are documentation that can't go stale. 'date' column that's actually a timestamp of last login → the name lies; last_login_at says both meaning and type. Same concept named client_id here and customer_id there → JOINs become guesswork; one concept, one name, everywhere.\n\n## Instructions\nAct like a cartographer whose map must match the territory forever. Before naming anything in the schema: read the existing tables and adopt their conventions exactly — case style, singular vs plural tables, id column patterns, _at suffix for timestamps, _id for foreign keys — consistency beats personal preference every time. Name columns for their precise meaning (last_login_at, not date; unit_price_cents, not amount), and use one name per concept across all tables so JOINs read naturally. Avoid vague names (data, info, value, flag) and check for reserved words in your engine. Renaming later is a risky migration, so treat naming as a decision made once. Only finalize once a stranger could guess each column's content and type from its name alone.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #1077\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}