ClaudeCodeMod

All shelves / Marketplaces

Yomiamy/claude-code-plugin

Yomiamy/claude-code-plugin · 0 stars · 2 plugins

Marketplace A collection of useful plugins for Claude Code CLI, focusing on translation and text processing capabilities.

Install

In Claude Code
/plugin marketplace add Yomiamy/claude-code-plugin

Run inside Claude Code, then install plugins from it. Check the repo's README before you run it.

Open the repo

Plugins 2

After adding the marketplace, install one with /plugin install <name>@ry-plugins.

  1. 1translation翻譯文字服務/plugin install translation@ry-plugins
  2. 2math數學運算服務/plugin install math@ry-plugins

Files

README.md

Claude Code Plugin Collection

A collection of useful plugins for Claude Code CLI, focusing on translation and text processing capabilities.

Features

Translation Commands
  • /to-ch - Translate text to Traditional Chinese
  • /to-en - Translate text to English

Both commands maintain technical terminology accuracy during translation.

Math Commands
  • /abs - 計算數值的絕對值。若輸入不是數字,則回報錯誤訊息。

Installation

Local Installation
  1. Clone this repository:
git clone https://github.com/yourusername/claude-code-plugin.git
cd claude-code-plugin
  1. Install the plugin to Claude Code:
claude plugin add ./
NPM Installation (Coming Soon)
claude plugin add @ry/claude-code-plugins

Usage

取絕對值(/abs 指令)
claude /abs "-15"

Output:

15

如果輸入非數字:

claude /abs "hello"

Output:

請輸入數值
Translate to Chinese
claude /to-ch "Hello, World! This is a technical document."

Output:

你好,世界!這是一個技術文件。
Translate to English
claude /to-en "這是一個測試訊息,包含技術術語。"

Output:

This is a test message containing technical terminology.

Plugin Structure

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

Development

Adding New Commands
  1. Create a new prompt file in commands/ directory:
touch commands/your-command.md
  1. Add command definition to plugin.json:
{
  "name": "your-command",
  "description": "Command description",
  "prompt": "commands/your-command.md"
}
  1. Test the command:
claude /your-command "test input"
Testing
npm run validate

Requirements

  • Claude Code CLI >= 0.1.0
  • Node.js >= 18.0.0

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

RY

Changelog

v1.0.1 (2025-12-28)
  • 新增 Math 指令 /abs
v1.0.0 (2025-12-21)
  • Initial release
  • Added Chinese translation command (/to-ch)
  • Added English translation command (/to-en)

Support

If you encounter any issues or have questions, please open an issue.

Related Links

Facts

Kind
Marketplace
Repo
Yomiamy/claude-code-plugin
Group
Uncategorized
Stars
0
Marketplace name
ry-plugins
Owner
RY
License
MIT
Created
2025-12-21
Last push
2025-12-28
Plugins
2

From the same owner

  1. 2601Yomiamy/claude-code-skillYomiamy/claude-code-skill0