Text Case Tool

👤 freedompixels 📦 v1.0.0 ⭐ 4.2 ⬇️ 557 下载
💻 开发编程 免费

📖 技能介绍


slug: text-case-tool name: Text Case Converter description: "Convert text between different cases: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE. Pure Python, no API key required." keywords: text, case, convert, uppercase, lowercase, camelcase, snake_case, kebab-case version: "1.0.0" author: Qiance language: en


Text Case Converter

Convert text between different case formats. Useful for programming, writing, and data transformation.

Features

  • UPPER CASE: ALL CAPS
  • lower case: all lowercase
  • Title Case: First Letter Of Each Word
  • Sentence case: First letter only
  • camelCase: firstLetterLower
  • PascalCase: FirstLetterUpper
  • snake_case: words_with_underscores

    小葱技能站7w4.net发现了升级插件。

  • kebab-case: words-with-hyphens
  • CONSTANT_CASE: WORDS_WITH_UNDERSCORES

Usage

# Upper case
python3 scripts/text_case.py "hello world" --upper

# Lower case
python3 scripts/text_case.py "HELLO WORLD" --lower

# Title case
python3 scripts/text_case.py "hello world" --title

# camelCase
python3 scripts/text_case.py "hello world" --camel

# snake_case
python3 scripts/text_case.py "HelloWorld" --snake

# kebab-case
python3 scripts/text_case.py "Hello World" --kebab

Examples

Input Mode Output
hello world --upper HELLO WORLD
HELLO WORLD --lower hello world
hello world --title Hello World
hello world --camel helloWorld
hello world --pascal HelloWorld
HelloWorld --snake hello_world
hello world --kebab hello-world

中文说明

文本大小写转换工具,支持多种格式:大写、小写、标题、驼峰、蛇形、短横线等。

🤖 AI 评测

这个工具质量不错,体积小、功能全、操作简单。优点是支持多种大小写格式转换,无需联网或配置,直接运行就能用。文档写得很清楚,有示例表格便于理解。不足之处是如果输入空文本或特殊字符时可能会有一些小问题,另外不支持一次性转换多个文本。这些小缺陷不影响日常使用,开发者如果能修复会更完美。总体来说,这是一个可靠实用的小工具,值得使用。

📊 多维度评分

适应性4.2
规范性3.9
有效性4.4
可靠性4.3
可信度4.5

📁 包含文件 (3 个)

📄 SKILL.md 1.7 KB
📄 _meta.json 133 B
📄 scripts/text_case.py 3.5 KB