@gifflet/ccmd 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  [![Go Version](https://img.shields.io/badge/Go-1.23+-00ADD8.svg)](https://go.dev)
4
4
  [![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
5
5
  [![Go Report Card](https://goreportcard.com/badge/github.com/gifflet/ccmd)](https://goreportcard.com/report/github.com/gifflet/ccmd)
6
+ [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=gifflet_ccmd&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=gifflet_ccmd)
6
7
  [![NPM](https://nodei.co/npm/@gifflet/ccmd.svg?style=mini)](https://www.npmjs.com/package/@gifflet/ccmd)
7
8
  [![Sponsor](https://img.shields.io/badge/sponsor-30363D?logo=GitHub-Sponsors&color=5c5c5c)](https://github.com/sponsors/gifflet)
8
9
 
@@ -20,7 +21,7 @@ Managing custom Claude Code commands across multiple projects can be challenging
20
21
  - **Easy sharing**: Share commands with your team or the community through Git repositories
21
22
  - **Simple management**: Install, update, and remove commands with familiar package manager semantics
22
23
 
23
- Think of ccmd as "npm for Claude Code commands" - centralize your AI tooling configurations and use them anywhere.
24
+ Think of ccmd as "npm for Claude Code commands and plugins" - centralize your AI tooling configurations and use them anywhere.
24
25
 
25
26
  ## Installation
26
27
 
@@ -61,11 +62,12 @@ That's it! You've just installed and used your first ccmd command.
61
62
  | Command | Description |
62
63
  |---------|-------------|
63
64
  | `ccmd init` | Initialize a new command project |
64
- | `ccmd install <repo>` | Install a command from a Git repository |
65
- | `ccmd install` | Install all commands from ccmd.yaml |
66
- | `ccmd list` | List installed commands |
65
+ | `ccmd init --plugin` | Initialize a new plugin project |
66
+ | `ccmd install <repo>` | Install a command or plugin from a Git repository (auto-detected) |
67
+ | `ccmd install` | Install all commands and plugins from ccmd.yaml |
68
+ | `ccmd list` | List installed commands and plugins |
67
69
  | `ccmd update <command>` | Update a specific command |
68
- | `ccmd remove <command>` | Remove an installed command |
70
+ | `ccmd remove <command>` | Remove an installed command or plugin |
69
71
  | `ccmd search <keyword>` | Search for commands in the registry |
70
72
  | `ccmd info <command>` | Show detailed command information |
71
73
 
@@ -106,6 +108,38 @@ entry: index.md # Optional, defaults to index.md
106
108
 
107
109
  > For complete guide with examples, see [Creating Commands](docs/creating-commands.md)
108
110
 
111
+ ## Plugin Support
112
+
113
+ ccmd also manages Claude Code plugins — packages that extend Claude Code itself rather than defining slash commands.
114
+
115
+ ### Installing a Plugin
116
+
117
+ ```bash
118
+ ccmd install gifflet/review-plugin
119
+ ```
120
+
121
+ ccmd automatically detects whether a repository is a plugin or a command by reading the `type` field in its `ccmd.yaml`. No special flags are needed.
122
+
123
+ ### Creating a Plugin
124
+
125
+ ```bash
126
+ mkdir my-plugin && cd my-plugin
127
+ ccmd init --plugin
128
+ ```
129
+
130
+ ### Example ccmd.yaml for a Plugin
131
+
132
+ ```yaml
133
+ type: plugin
134
+ name: my-plugin
135
+ version: 1.0.0
136
+ description: Extends Claude Code with custom capabilities
137
+ author: Your Name
138
+ repository: https://github.com/username/my-plugin
139
+ ```
140
+
141
+ > For complete guide, see [Creating Plugins](docs/creating-commands.md)
142
+
109
143
  ## Example Commands
110
144
 
111
145
  Here are some commands you can install and try:
@@ -115,10 +149,20 @@ Here are some commands you can install and try:
115
149
  ccmd install https://github.com/gifflet/hello-world
116
150
  ```
117
151
 
152
+ ## Example Plugins
153
+
154
+ Here are some plugins you can install and try:
155
+
156
+ - **review-plugin**: AI-powered code review plugin for Claude Code
157
+ ```bash
158
+ ccmd install gifflet/review-plugin
159
+ ```
160
+
118
161
  ## Documentation
119
162
 
120
163
  - **[Full Documentation](docs/)** - Complete guides and references
121
164
  - **[Command Creation Guide](docs/creating-commands.md)** - Create your own commands
165
+ - **[Plugin Creation Guide](examples/creating_plugins.md)** - Create your own plugins
122
166
 
123
167
  ## Community
124
168
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gifflet/ccmd",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "description": "Simple command-line tool for managing custom commands in Claude Code. Install and share commands from Git repositories with the ease of a package manager.",
5
5
  "main": "index.js",
6
6
  "scripts": {