AI Agent Hub
Back to plugins
🧰

dsh-case

Web Tools Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install ZhijiangTang/dsh-case

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install ZhijiangTang/dsh-case inside DeepSeek Harness to install; the source repository is at https://github.com/ZhijiangTang/dsh-case

About this plugin

Inconsistent naming conventions are a small but recurring pain point in daily development: renaming a variable, drafting an API doc, or running a code review often forces you to toggle between camelCase and snake_case by hand or by opening an online converter. dsh-case collapses that friction into a single tool call.

It registers a case_convert tool that supports free conversion among camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, UPPER, lower, and Title Case. The built-in tokenizer first splits on delimiters, then detects case boundaries, consecutive acronym runs, and digit-letter boundaries within each fragment, so HTTPApi splits correctly into HTTP / Api, my2Factor becomes my2 / Factor, and version2 is never broken apart. The source style can be auto-detected or set explicitly; empty or symbol-only input is returned as-is without errors.

Pure ESM, zero dependencies, no build step. It suits developers who frequently normalize identifiers in DSH workflows, engineers who need a consistent naming convention across API documentation, and any team that wants to turn repetitive style switching into a one-line function call.

Use Cases

  • Enforcing a consistent naming convention across a team
  • Converting field names in API documentation to the target style
  • Verifying identifier naming consistency during code review

Best For

  • Developers who frequently convert identifier naming styles
  • Engineers needing a consistent naming convention in API docs
  • Engineering teams that value code style consistency