s2005

SQL Formatter Skill — Data skill for Claude Code

Data community

A Claude Agent Skill that formats SQL code following Oracle Database 19 best practices with consistent style, UPPERCASE keywords, lowercase identifiers, and proper indentation.

How to install SQL Formatter Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open s2005/sql-formatter-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What SQL Formatter Skill does

A Claude Agent Skill that formats SQL code following Oracle Database 19 best practices with consistent style, UPPERCASE keywords, lowercase identifiers, and proper indentation.

Alternatives in Data

  • Private GPT — Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more 57.5k ★
  • SQL Queries — Generate SQL queries from natural language across major dialects 7.8k ★
  • Pipeline Feature — Add a feature to the FFmpeg transcode pipeline following Tunarr's pipeline builder pattern 2.5k ★

README

SQL Formatter

A Claude Agent Skill that formats SQL code following Oracle Database 19 best practices with consistent style, UPPERCASE keywords, lowercase identifiers, and proper indentation.

Overview

This skill provides Claude with comprehensive SQL code formatting rules for Oracle Database 19. It transforms unformatted SQL queries into well-structured, properly indented, and professionally styled code that improves readability and maintainability.

**Available for multiple platforms:**

  • Claude Code: Install as a skill via marketplace
  • VS Code: Install as a custom chat mode for GitHub Copilot

What This Skill Does

The SQL Formatter skill enables Claude to:

  • Apply 13 formatting rules consistently across all SQL code
  • Format keywords as UPPERCASE and identifiers as lowercase
  • Align columns and conditions vertically for readability
  • Structure CTEs, joins, and CASE expressions correctly
  • Handle DDL and DML statements (SELECT, INSERT, UPDATE, DELETE, CREATE, etc.)
  • Preserve Oracle SQL syntax while improving presentation

Key Formatting Conventions

  • Keywords: UPPERCASE (SELECT, FROM, WHERE, etc.)
  • Identifiers: lowercase (column names, table names, aliases)
  • Indentation: 4 spaces (no tabs)
  • First item on clause line: First column/condition starts on same line as clause keyword
  • Vertical alignment: Subsequent items align vertically below

Installation

For VS Code Users (GitHub Copilot Chat)

Click the button below to install the custom chat mode in VS Code:

[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fs2005%2Fsql-formatter-skill%2Fmain%2F.github%2Fchatmodes%2Fsql-formatter.chatmode.md) [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Instal