A collection of useful plugins for Claude Code CLI, focusing on translation and text processing capabilities.
npx claudepluginhub Yomiamy/claude-code-plugintranslation service
math service
A collection of useful plugins for Claude Code CLI, focusing on translation and text processing capabilities.
/to-ch - Translate text to Traditional Chinese/to-en - Translate text to EnglishBoth commands maintain technical terminology accuracy during translation.
/abs - 計算數值的絕對值。若輸入不是數字,則回報錯誤訊息。git clone https://github.com/yourusername/claude-code-plugin.git
cd claude-code-plugin
claude plugin add ./
claude plugin add @ry/claude-code-plugins
claude /abs "-15"
Output:
15
如果輸入非數字:
claude /abs "hello"
Output:
請輸入數值
claude /to-ch "Hello, World! This is a technical document."
Output:
你好,世界!這是一個技術文件。
claude /to-en "這是一個測試訊息,包含技術術語。"
Output:
This is a test message containing technical terminology.
claude-code-plugin/
├── plugin.json # Plugin configuration
├── plugins/
│ ├── math/
│ │ ├── .claude-plugin/
│ │ │ └── plugin.json # math plugin 設定檔
│ │ └── commands/
│ │ └── abs.md # abs(絕對值)指令 prompt
│ └── translation/
│ ├── .claude-plugin/
│ │ └── plugin.json
│ └── commands/
│ ├── to-ch.md # Chinese translation prompt
│ └── to-en.md # English translation prompt
├── package.json # NPM package configuration
├── README.md # This file
├── LICENSE # MIT License
├── .gitignore # Git ignore rules
└── .npmignore # NPM ignore rules
commands/ directory:touch commands/your-command.md
plugin.json:{
"name": "your-command",
"description": "Command description",
"prompt": "commands/your-command.md"
}
claude /your-command "test input"
npm run validate
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
RY
/abs/to-ch)/to-en)If you encounter any issues or have questions, please open an issue.