writing-sql

Format SQL statements with consistent vertical keyword alignment.

7|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/borkweb/skills --skill writing-sql-borkweb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-sql
Source: https://github.com/borkweb/skills/tree/main/skills/core/writing-sql
Command: npx skills add https://github.com/borkweb/skills --skill writing-sql-borkweb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the common challenge of maintaining consistent SQL code style and formatting, particularly for teams with diverse SQL backgrounds, enhancing code readability and maintainability.

Core Features & Use Cases

  • Vertical Formatting: Standardizes SQL keywords and sub-clauses vertically.
  • Case Sensitivity: Enforces uppercase keyword casing for uniformity.
  • SQL Components: Handles SQL DML (Data Manipulation Language) and DDL (Data Definition Language) operations.
  • Use Case: A team can adopt this Skill to ensure all new and existing SQL scripts in their project adhere to a consistent, professional standard.

Quick Start

Activate the SQL formatting Skill and apply it to all .sql files and migration scripts within the project.

Frequently Asked Questions about writing-sql

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I maintain consistent SQL coding style across a team?

To maintain consistent SQL coding style across a team, apply standardized vertical formatting and uppercase keyword casing to all DML and DDL statements. This ensures uniform readability for project integration.

What is vertical formatting for SQL statements?

Vertical formatting for SQL statements is a convention that standardizes the vertical alignment of SQL keywords and sub-clauses. It enforces consistent uppercase keyword casing to improve code readability and maintainability.

Does this SQL formatting approach work with DDL and DML scripts?

Yes, this SQL formatting approach works with both DDL and DML scripts. It standardizes vertical formatting and uppercase keyword casing for Data Manipulation Language and Data Definition Language operations throughout the software development lifecycle.

How do I standardize SQL keywords and sub-clauses in migration scripts?

To standardize SQL keywords and sub-clauses in migration scripts, activate the formatting Skill and apply it to your .sql files. It vertically aligns keywords and enforces uppercase casing for professional consistency.

What do I need to know to enforce SQL formatting conventions?

To enforce SQL formatting conventions, you need SQL language proficiency and awareness of basic coding conventions. It addresses team inconsistencies by standardizing vertical formatting, casing, and sub-clause alignment.