sqlfluff

Community

Enforce consistent SQL style automatically

Authorivanshamaev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill removes SQL style drift by linting and auto-formatting SQL according to a configurable rule set, so teams catch inconsistencies before they reach production.

Core Features & Use Cases

  • SQL linting with configurable quality gates: Run checks locally and in CI to enforce formatting and conventions (e.g., indentation, keyword casing, aliasing).
  • dbt-templated SQL support: Render dbt Jinja macros and models via the dbt templater so linting applies to compiled SQL.
  • Auto-fixing and safe/unsafe corrections: Apply deterministic fixes with sqlfluff fix, with control over potentially unsafe transformations.
  • Developer workflow integration: Use pre-commit hooks and GitHub Actions annotations to surface violations inline on PRs.
  • Custom rule extensibility: Implement custom SQLFluff rules as a plugin to meet organization-specific standards.

Quick Start

Install SQLFluff and the dbt templater, then lint a dbt models directory using the target dialect and templater settings.

Dependency Matrix

Required Modules

None required

Components

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: sqlfluff
Download link: https://github.com/ivanshamaev/de-agent-skills/archive/main.zip#sqlfluff

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.