Text transform
Convert text to all common cases in one call: camelCase, slug-form, and snake_case. The 'name this variable/URL/column' workflow.
When to use this pack
A developer or content pipeline has a human-readable string and needs it in multiple programming conventions at once — for a JS variable (camel), a URL path (slug), and a database column (snake).
Tools in this pack
-
Case convert
$0.001
POST /api/case
Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, lower, UPPER.
-
Slugify
$0.001
POST /api/slugify
Turn any text into a URL-safe slug (lowercase, hyphenated, diacritics stripped).
-
Case convert
$0.001
POST /api/case
Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, lower, UPPER.
Workflow
- Convert to camelCase with case {to:"camel"} — for JavaScript/TypeScript variable names.
- Convert to a URL slug with slugify — lowercase, hyphens, URL-safe.
- Convert to snake_case with case {to:"snake"} — for database columns and Python variables.
Run it in Claude
claude mcp add agent402 -s user -- npx -y agent402-mcp@latest
Then paste this prompt into Claude:
Transform "Hello World Example" using Agent402: (1) case {text, to:"camel"} → helloWorldExample. (2) slugify {text} → hello-world-example. (3) case {text, to:"snake"} → hello_world_example. Return all three.
← All skill packs