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

    小蔥技能站7w4.net每天更新,海量AI技能等你發現。

  • camelCase: firstLetterLower
  • PascalCase: FirstLetterUpper
  • snake_case: words_with_underscores
  • 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