sqlfluff/sqlfluff
GitHubA modular SQL linter and auto-formatter with support for multiple dialects and templated code.
- hacktoberfest
- pypi
- sql
- sql-linter
- Stars:
- 10k
- Language:
- Python
- Default branch:
- main
- Last scored:
At a glance
- Rank
- #26 of 401
- Top 6% · #8 of 56 Python repos
- Checks passed
- 11 of 17
- Full list below
- Best set up for
- Claude Code
- Score 94.7
- Needs most work for
- Cursor
- Biggest fix: Cursor rules (.cursor/rules) (+11.5 pts)
What it has
What it's missing
What to fix first
Showing fixes for Claude Code
- 1Manageable sizeIf possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.+5.3 pts
Score for each AI agent
Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →
Does sqlfluff/sqlfluff have agent instructions?
An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.
- AGENTS.md / CLAUDE.md
AGENTS.md(new tab) · 11,495 characters- Agent-specific files
- None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
- Repos that have one
- 29 of 56 Python repos · 221 of 401 repos on the leaderboard · See examples →
All 17 checks · 11 passed
How sqlfluff/sqlfluff compares
- vs leaderboard average
- 19.1 pts above
- Average 66.8
- vs Python average
- 14.9 pts above
- Average 71.0
- Stars among Python repos
- #55 of 56
Missing here, and how many repos have it
- Skills (.agents/skills) · passed by 17% of leaderboard repos, 20% of Python repos
- Cursor rules (.cursor/rules) · passed by 4% of leaderboard repos, 7% of Python repos
Passes checks most repos miss
- Reproducible dev env · only 22% of repos pass it
- Pre-commit / git hooks · only 29% of repos pass it
One fix for the most agents: Manageable size would raise the score for all 9 agents, by up to 5.7 points.
Similar repos
Same language and host as this repo, closest in overall score.
- Python · 46.2k ★
- getsentry/sentry86.9Python · 45.7k ★
- scrapy/scrapy86.8Python · 65.2k ★
- apache/airflow86.3Python · 47.4k ★
- BerriAI/litellm85.2Python · 62.7k ★
- pytorch/pytorch84.6Python · 105.1k ★
Same topics, any language
Repos tagged with the same GitHub topics, most shared first.
- pingcap/tidb89.6Go · SQL
- Rust · SQL
- getnao/nao84.4TypeScript · SQL
- Python · SQL
- Rust · SQL
- apache/flink74.9Java · SQL
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](https://agentfriendlycode.com/repo/github/sqlfluff/sqlfluff)Check the score on every pull request
A GitHub Action posts one comment per pull request with how the score changed and why.