AGENT SKILL

sql-formatter

Formats SQL files with uppercase keywords and one clause per line. Use when the user asks to format SQL.

适用职业数据分析师
使用场景后端与接口
License 许可
Unlicense
最近更新
2026-11-15
Stars
★ 21
Forks
9

01 前言 Front Matter

name
sql-formatter
description
Formats SQL files with uppercase keywords and one clause per line. Use when the user asks to format SQL.
allowed-tools
[ "Read", "Edit" ]

03 SKILL.md 正文

SQL Formatter

  1. Read the SQL file.
  2. Uppercase keywords, put each clause (SELECT, FROM, WHERE, GROUP BY, ORDER BY) on its own line.
  3. Indent column lists by two spaces and keep comments where they are.

04 同仓库更多 Skills