Back to skills
SKILL.md
Quickstart
ASecurityUse this skill when the user wants to lint, fix, or format SQL files with sqruff, the fast Rust-based SQLFluff-compatible linter.
- 58 stars
- 0 votes
- 0 copies
- 1 view
- Added November 8, 2026
Works with
Security analysis
100/100npx -y skills add javimosch/supercli --skill quickstart --agent claude-codeAre you the author of Quickstart?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/javimosch-quickstart-53da2961)---
name: sqruff
description: Use this skill when the user wants to lint, fix, or format SQL files with sqruff, the fast Rust-based SQLFluff-compatible linter.
---
# sqruff Plugin
sqruff is a fast SQL linter and formatter in Rust, compatible with SQLFluff rules and
`.sqlfluff` config. Supports 20+ dialects (ansi, postgres, mysql, bigquery, snowflake,
duckdb, clickhouse, ...).
## Commands
### Linting
- `sqruff sql lint [path]` — Lint a file or directory
- `sqruff sql fix [path]` — Auto-fix violations
- `sqruff rules list` — List lint rules
- `sqruff dialects list` — List supported dialects
- `sqruff _ _` — Passthrough (`sqruff parse`, `sqruff lsp`)
## Usage Examples
- "Lint all SQL in models/ against the postgres dialect"
- "Auto-fix SQL style issues in this repo"
- "Show me the parse tree of this query"
- "List available lint rules"
## Installation
```bash
cargo install sqruff
# or: brew install sqruff
# or: pipx install sqruff
```
## Examples
```bash
# Lint with dialect
sqruff lint models/ --dialect postgres
# Machine-readable output
sqruff lint models/ --format json
# Fix with safety limits
sqruff fix models/ --dialect snowflake
# Inspect parse tree
sqruff parse query.sql --dialect duckdb
```
## Key Features
- SQLFluff rule compatibility, reads `.sqruff` or `.sqlfluff` config
- `--format human|github-annotation|json` for CI integration
- `sqruff lsp` — built-in language server for editor integration
- Orders of magnitude faster than Python SQLFluff
Attribution
Related skills
View all in tools →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.