case-convert

Convert text between different case styles. Use when the user asks to convert text to camelCase, snake_case, kebab-case, PascalCase, UPPERCASE, lowercase, Title Case, CONSTANT_CASE, dot.case, path/case, Sentence case, inverse case, alternate case, or any other case format.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "case-convert" with this command: npx skills add ohernandez-dev-blossom/case-convert

Case Converter

Convert text between 15 different case styles simultaneously.

Input

  • The text to convert
  • Optionally, the target case style (if not specified, show all 15)

Output

  • The converted text in the requested case style(s)
  • If no target specified, show all 15 transformations

Instructions

Apply each transformation exactly as follows:

  1. lowercases.toLowerCase() Example: hello world example

  2. UPPERCASEs.toUpperCase() Example: HELLO WORLD EXAMPLE

  3. Title Case — Capitalize each word EXCEPT articles/prepositions when not first: Small words (keep lowercase unless first): a, an, and, as, at, but, by, for, in, nor, of, on, or, so, the, to, up, yet, via, with Always capitalize: first word of the string, first word after ., !, ? Example: Hello World Example (but: The Art of War)

  4. Sentence case — Lowercase everything; capitalize first letter of each sentence (after ., !, ? followed by whitespace, and the very first character) Example: Hello world example. Another sentence.

  5. camelCase — Remove non-word characters (replace with space), trim, lowercase, then uppercase the first letter of every subsequent word, remove all spaces Example: helloWorldExample

  6. PascalCase — Same as camelCase but also capitalize the very first letter Example: HelloWorldExample

  7. snake_case — Lowercase, remove non-word non-space characters, replace spaces with _, collapse consecutive _ Example: hello_world_example

  8. kebab-case — Lowercase, remove non-word non-space characters, replace spaces with -, collapse consecutive - Example: hello-world-example

  9. CONSTANT_CASE — Uppercase, remove non-word non-space characters, replace spaces with _, collapse consecutive _ Example: HELLO_WORLD_EXAMPLE

  10. dot.case — Lowercase, remove non-word non-space characters, replace spaces with ., collapse consecutive . Example: hello.world.example

  11. path/case — Lowercase, remove non-word non-space characters, replace spaces with /, collapse consecutive / Example: hello/world/example

  12. iNVERSE cASE — For each character: if uppercase → lowercase, if lowercase → uppercase, else unchanged Example: hELLO wORLD eXAMPLE

  13. aLtErNaTe CaSe — For each character at index i: if i is even → lowercase, if i is odd → uppercase Example: hElLo wOrLd eXaMpLe

  14. esreveR — Reverse the entire string character by character Example: elpmaxE dlroW olleH

  15. SpOnGeBoB cAsE — Iterate through alphabetic characters only, alternating upper/lower (non-alphabetic characters pass through unchanged, but do NOT advance the alternation counter) Example: hElLo WoRlD eXaMpLe

Options

  • target — specific case name (if omitted, output all 15)
  • batchMode — if true, apply the transformation to each line independently

Examples

Request: "Convert 'hello world' to camelCase"

Output: helloWorld


Request: "Convert 'USER_LOGIN_COUNT' to all cases"

Output:

  • lowercase: user_login_count
  • UPPERCASE: USER_LOGIN_COUNT
  • Title Case: User_login_count
  • Sentence case: User_login_count
  • camelCase: userLoginCount
  • PascalCase: UserLoginCount
  • snake_case: user_login_count
  • kebab-case: user-login-count
  • CONSTANT_CASE: USER_LOGIN_COUNT
  • dot.case: user.login.count
  • path/case: user/login/count
  • iNVERSE cASE: user_login_count
  • aLtErNaTe CaSe: uSeR_lOgIn_cOuNt
  • esreveR: TNUOC_NIGOL_RESU
  • SpOnGeBoB cAsE: uSeR_lOgIn_cOuNt

Request: "snake_case this: 'My Component Name'"

Output: my_component_name

Error Handling

  • If input is empty, return an empty string for all cases
  • If target case style is not recognized, list all 15 available styles and ask which one the user wants
  • For very long inputs (>10,000 characters), process normally but note the length

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Gigo Lobster Resume

🦞 GIGO · gigo-lobster-resume: 续跑入口:v2 stable 当前会清理旧 checkpoint 并从头重跑;保留此 slug 作为旧 checkpoint 兼容入口。 Triggers: 继续试吃 / 恢复评测 / resume tasting / continue lobster...

Registry SourceRecently Updated
General

YiHui CONTEXT MODE

context-mode is an MCP server that saves 98% of your context window by sandboxing tool outputs. It routes large file reads, shell outputs, and web fetches th...

Registry SourceRecently Updated
General

xinyi-drink

Use when users ask about 新一好喝/新一咖啡 drinks, stores, menu, activities, Skill用户大礼包, today drink recommendations, afternoon tea, feeling sleepy, or personalized...

Registry SourceRecently Updated
General

vedic-destiny

吠陀命盘分析中文入口。用于完整命盘研判、命主盘 Rashi chart 与九分盘 Navamsha chart 联读、既往事件回看、出生时间稳定度判断、事业主题、婚姻主题、时空盘专题,以及基于 Jagannatha Hora PDF、星盘截图或文本命盘数据的系统拆盘。当用户提到完整星盘、事业方向、婚姻问题、关系窗...

Registry SourceRecently Updated