sql-formatting
CommunityConsistent SQL style for readable queries.
Authordaominah
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Enforces a consistent, readable SQL style to reduce review friction, minimize diff noise, and make queries and migrations easier to understand and maintain.
Core Features & Use Cases
- Spacing and Punctuation: Require a space before opening and after closing parentheses for clarity.
- Indentation and Structure: Use 4-space indentation and increase indentation for subordinate clause parts broken across lines.
- Alignment and Documentation: Align columns and assignments within the same clause and add comments to clarify ambiguous column names.
- Use Case: Apply these rules when cleaning up legacy queries, preparing migration scripts, or during code review to ensure uniform SQL style across the codebase.
Quick Start
Format the following SQL to use a space before opening and after closing parentheses, 4-space indentation, and aligned columns.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sql-formatting Download link: https://github.com/daominah/gostructure/archive/main.zip#sql-formatting Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.