一键导入
sql-lint
SQL code style check - Use SQLFluff to check SQL statement style and syntax (supports PostgreSQL, MySQL, SQLite, etc.)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
SQL code style check - Use SQLFluff to check SQL statement style and syntax (supports PostgreSQL, MySQL, SQLite, etc.)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
AI Agent code quality check - Use Ruff to check code standards for LangChain, AutoGen, and other AI Agent projects
Database migration management - Use Flyway and Atlas for version-controlled database schema migrations
Dockerfile best practices check - Use hadolint to validate Dockerfile security, performance, and compliance
Format JavaScript/TypeScript code with Prettier
Format Python code with Black
Auto-generate project changelog
| name | sql-lint |
| description | SQL code style check - Use SQLFluff to check SQL statement style and syntax (supports PostgreSQL, MySQL, SQLite, etc.) |
Use SQLFluff to check SQL code quality, supporting multiple database dialects:
| Tool | Installation |
|---|---|
| Python 3.8+ | python.org |
| SQLFluff | pip install sqlfluff |
Check single file:
.\.agent\skills\sql-lint\scripts\lint.ps1 -File query.sql
Specify database dialect:
.\.agent\skills\sql-lint\scripts\lint.ps1 -Dialect postgres
Auto-fix:
.\.agent\skills\sql-lint\scripts\lint.ps1 -Fix
| Dialect | Database |
|---|---|
postgres | PostgreSQL |
mysql | MySQL/MariaDB |
sqlite | SQLite |
bigquery | Google BigQuery |
snowflake | Snowflake |
tsql | SQL Server |
Create .sqlfluff:
[sqlfluff]
dialect = postgres
templater = jinja
exclude_rules = L003,L009
[sqlfluff:indentation]
indent_unit = space
tab_space_size = 2
[sqlfluff:rules:L010]
capitalisation_policy = upper