DeepSeek Harness plugin

dsh-case

DSH plugin: case/naming conversion tool (case_convert).

Jump to install

Source facts

Repository
ZhijiangTang/dsh-case
Latest update
Aug 16, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/ZhijiangTang/dsh-case
Plugin: dsh-case
Author: ZhijiangTang

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-case

DSH 插件:命名/大小写风格转换工具,注册一个 case_convert 工具。

纯 ESM、零依赖、无构建步骤。

安装

dsh plugin --profile <name> add file:./plugins/dsh-case
# 或发布后
dsh plugin --profile <name> add dsh-case

工具 case_convert

参数:

参数类型必填说明
textstring待转换文本
targetstring(enum)目标风格
sourcestring(enum)源风格,默认 auto 自动检测

返回值(规范 JSON 对象):

{ "input": "...", "target": "camelCase", "source": "snake_case", "output": "...", "words": ["..."] }

各 target 示例

hello_world(snake_case)为输入:

target输出
camelCasehelloWorld
PascalCaseHelloWorld
snake_casehello_world
kebab-casehello-world
CONSTANT_CASEHELLO_WORLD
UPPERHELLO WORLD
lowerhello world
Title CaseHello World

分词规则

1. 按分隔符 -_、空白、. 切词。 2. 在无分隔符片段内按大小写边界切词: - 小写 → 大写(helloWorldhello / World) - 连续大写后接小写(HTTPApiHTTP / Api) - 数字后接「大写 + 小写」(my2Factormy2 / Factor) 3. 数字粘合到相邻单词,不单独成词:version2version2;开头的 2FA 保持为一个整体不拆分。 4. 空输入或纯符号输入原样返回,words 为空数组。

source 用于 auto 检测时的判定(分隔符 + 连续大写规则);分词算法对全部分隔符与大小写边界一视同仁,因此 source 主要作为结果中的标注,不影响转换正确性。