sqlfmtdbtsqljinja

Reformat dbt-oriented SQL and Jinja-heavy query files with sqlfmt into a stable style for processing before code review, CI checks, or agent-generated handoffs.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "sqlfmtdbtsqljinja" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-aa3f8abe5a90e7281e98d7627522375f04ca3798ebdfbd2ee13c6c862a28b6cf. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Reformat dbt-oriented SQL and Jinja-heavy query files with sqlfmt into a stable style for processing before code review, CI checks, or agent-generated handoffs.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
sqlfmt CLI
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "使用 sqlfmt 将 dbt SQL 和 Jinja 模板标准化为一致的审查就绪样式"
slug: "normalize-dbt-sql-and-jinja-templates-into-consistent-review-ready-style-with-sqlfmt"
version: "1.0.0"
displayName: "使用 sqlfmt 将 dbt SQL 和 Jinja 模板标准化为一致的审查就绪样式"
summary: "使用 sqlfmt 将面向 dbt 的 SQL 和 Jinja 重的查询文件重新格式化为稳定风格,以便在代码审查、CI 检查或代理生成的交接之前进行处理。"
license: "MIT"
description: "使用 sqlfmt 将面向 dbt 的 SQL 和 Jinja 重的查询文件重新格式化为稳定风格,以便在代码审查、CI 检查或代理生成的交接之前进行处理。"
github_stars: 530
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 530

使用 sqlfmt 将 dbt SQL 和 Jinja 模板标准化为一致的审查就绪样式

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.

Prerequisites

sqlfmt CLI

Installation

Use the upstream install or setup path that matches your environment:

  • Recommended Installation: Use uv

  • Install uv. From a POSIX shell, run:
  • uv tool install "shandy-sqlfmt[jinjafmt]"
  • Use pip or something pip-like:

Requirements and caveats from upstream:

  • PyPI - Python Version
  • 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...
  • sqlfmt is a command-line tool that is built in Python and runs on MacOS, Linux, and Windows. It is distributed

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 面向 dbt 开发者和数据工程师,解决 SQL 和 Jinja 模板的代码格式化问题,适用于代码审查、CI 检查等高频刚需场景。
Trigger Precision90/100

Highlights

  • description 明确描述了使用 sqlfmt 格式化 dbt SQL 和 Jinja 模板的场景,触发词精准,覆盖多种变体,边界清晰。
Structure and Standards90/100

Highlights

  • Skill 结构清晰,包含 Prerequisites、Installation、Documentation 等章节,有端到端示例,frontmatter 完整,单文件未超过 500 行。
Execution Reliability85/100

Highlights

  • 工具来源明确(sqlfmt),参数正确,覆盖了主要异常,不可逆操作有确认机制。
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 34
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • docs.astral.sh
  • docs.sqlfmt.com
  • github.com
  • img.shields.io
  • raw.githubusercontent.com
  • sqlfmt.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

sqlfmt CLI

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.