dshbase

Plugin directory / Data / dsh-sql-format

dsh-sql-format

Verified · install-tested on dsh uckkk

✓ Actively maintained Builds on 2 official DSH packages

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-19Last push
Cross-platformPlatform

What it does

SQL 格式化:子句换行、关键字大写

✅
Our take
Works — verified, early-stage project

SQL 格式化:子句换行、关键字大写 It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-sql-format · SQL 格式化

SQL 子句换行、关键字大写,提升可读性。纯 Node 实现(不解析语义)。

提供的工具

工具 作用
format_sql SQL 格式化

安装

dsh plugin add dsh-sql-format

安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-sql-format"。

用法示例

格式化这条 SQL
→ 调用 format_sql(sql="select * from users where age > 18 order by id desc")

安装

dsh plugin add github:uckkk/dsh-sql-format

安装即在本机运行第三方代码,请自行审阅源码。

安装

dsh plugin add github:uckkk/dsh-sql-format

使用

安装后在会话中调用该插件注册的工具即可。

许可

MIT

安装即在本机运行第三方代码,请自行审阅源码。

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-sql-format for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:uckkk/dsh-sql-format

Headless (CLI) profile:

dsh plugin --profile headless add github:uckkk/dsh-sql-format

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Data

Browse all 7819 plugins →