{"id":"a53b2728-f7b8-4c8b-81c8-8c88e7029e0c","shortId":"SPS4CB","kind":"skill","title":"Normalize dbt SQL and Jinja templates into consistent review-ready style with sqlfmt","tagline":"Use sqlfmt to reformat dbt-oriented SQL and Jinja-heavy query files into a stable style before code review, CI checks, or agent-generated handoff.","description":"# Normalize dbt SQL and Jinja templates into consistent review-ready style with sqlfmt\n\nUse sqlfmt to reformat dbt-oriented SQL and Jinja-heavy query files into a stable style before code review, CI checks, or agent-generated handoff.\n\n## Prerequisites\n\nsqlfmt CLI\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- #### Recommended Installation: Use uv\n- [Install uv](https://docs.astral.sh/uv/getting-started/installation/#standalone-installer). From a POSIX shell, run:\n- uv tool install \"shandy-sqlfmt[jinjafmt]\"\n- **Use pip or something pip-like:**\n\nRequirements and caveats from upstream:\n- ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/shandy-sqlfmt)\n- **sqlfmt integrates with your workflow.** As a CLI written in Python, it's easy to install locally on any OS and run in CI. Plays well with dbt, pre-commit, SQLFluff, VSCode, and GitHub Actions. sqlfmt powers the dbt...\n- sqlfmt is a command-line tool that is built in Python and runs on MacOS, Linux, and Windows. It is distributed\n\nBasic usage or getting-started notes:\n- **sqlfmt is fast.** Forget about formatting your code, and spend your time on business logic instead. sqlfmt processes hundreds of files per second and only operates on files that have changed since the last run.\n- Please visit [docs.sqlfmt.com](https://docs.sqlfmt.com) for more information on Getting Started, Integrations, the sqlfmt Style, and an API Reference. Or keep reading for an excerpt from the full docs.\n- #### Try it first\n\n- Source: https://github.com/tconbeer/sqlfmt\n- Extracted from upstream docs: https://raw.githubusercontent.com/tconbeer/sqlfmt/HEAD/README.md\n\n## Documentation\n\n- https://sqlfmt.com\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt/)","tags":["normalize","dbt","sql","and","jinja","templates","into","consistent","review","ready","style","with"],"capabilities":["skill","source-agentskillexchange","skill-normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,872 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:11:26.390Z","embedding":null,"createdAt":"2026-05-18T13:17:56.189Z","updatedAt":"2026-05-18T19:11:26.390Z","lastSeenAt":"2026-05-18T19:11:26.390Z","tsv":"'/pypi/pyversions/shandy-sqlfmt)':138 '/skills/normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt/)':293 '/tconbeer/sqlfmt':277 '/tconbeer/sqlfmt/head/readme.md':284 '/uv/getting-started/installation/#standalone-installer).':108 'action':174 'agent':40,82,288 'agent-gener':39,81 'agentskillexchange.com':292 'agentskillexchange.com/skills/normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt/)':291 'api':259 'basic':201 'built':188 'busi':221 'caveat':130 'chang':238 'check':37,79 'ci':36,78,162 'cli':87,146 'code':34,76,215 'command':183 'command-lin':182 'commit':169 'consist':8,50 'dbt':2,20,44,62,166,178 'dbt-orient':19,61 'distribut':200 'doc':270,281 'docs.astral.sh':107 'docs.astral.sh/uv/getting-started/installation/#standalone-installer).':106 'docs.sqlfmt.com':245,246 'document':285 'easi':152 'environ':99 'excerpt':266 'exchang':290 'extract':278 'fast':210 'file':28,70,228,235 'first':273 'forget':211 'format':213 'full':269 'generat':41,83 'get':205,251 'getting-start':204 'github':173 'github.com':276 'github.com/tconbeer/sqlfmt':275 'handoff':42,84 'heavi':26,68 'hundr':226 'img.shields.io':137 'img.shields.io/pypi/pyversions/shandy-sqlfmt)':136 'inform':249 'instal':88,92,101,104,116,154 'instead':223 'integr':140,253 'jinja':5,25,47,67 'jinja-heavi':24,66 'jinjafmt':120 'keep':262 'last':241 'like':127 'line':184 'linux':195 'local':155 'logic':222 'maco':194 'match':97 'normal':1,43 'note':207 'oper':233 'orient':21,63 'os':158 'path':95 'per':229 'pip':122,126 'pip-lik':125 'play':163 'pleas':243 'posix':111 'power':176 'pre':168 'pre-commit':167 'prerequisit':85 'process':225 'pypi':133 'python':134,149,190 'queri':27,69 'raw.githubusercontent.com':283 'raw.githubusercontent.com/tconbeer/sqlfmt/head/readme.md':282 'read':263 'readi':11,53 'recommend':100 'refer':260 'reformat':18,60 'requir':128 'review':10,35,52,77 'review-readi':9,51 'run':113,160,192,242 'second':230 'setup':94 'shandi':118 'shandy-sqlfmt':117 'shell':112 'sinc':239 'skill':289 'skill-normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt' 'someth':124 'sourc':274,287 'source-agentskillexchange' 'spend':217 'sql':3,22,45,64 'sqlfluff':170 'sqlfmt':14,16,56,58,86,119,139,175,179,208,224,255 'sqlfmt.com':286 'stabl':31,73 'start':206,252 'style':12,32,54,74,256 'templat':6,48 'time':219 'tool':115,185 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'tri':271 'upstream':91,132,280 'usag':202 'use':15,57,89,102,121 'uv':103,105,114 'version':135 'visit':244 'vscode':171 'well':164 'window':197 'workflow':143 'written':147","prices":[{"id":"52a05956-9718-48da-a117-ae4604477b40","listingId":"a53b2728-f7b8-4c8b-81c8-8c88e7029e0c","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:17:56.189Z"}],"sources":[{"listingId":"a53b2728-f7b8-4c8b-81c8-8c88e7029e0c","source":"github","sourceId":"agentskillexchange/skills/normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt","isPrimary":false,"firstSeenAt":"2026-05-18T13:17:56.189Z","lastSeenAt":"2026-05-18T19:11:26.390Z"}],"details":{"listingId":"a53b2728-f7b8-4c8b-81c8-8c88e7029e0c","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"b158139c0630da64732022f7d97fbd6f677596c3","skill_md_path":"skills/normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Normalize dbt SQL and Jinja templates into consistent review-ready style with sqlfmt","description":"Use sqlfmt to reformat dbt-oriented SQL and Jinja-heavy query files into a stable style before code review, CI checks, or agent-generated handoff."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt"},"updatedAt":"2026-05-18T19:11:26.390Z"}}