@gifflet/ccmd 1.1.0 → 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,11 +3,14 @@
|
|
|
3
3
|
[](https://go.dev)
|
|
4
4
|
[](LICENSE)
|
|
5
5
|
[](https://goreportcard.com/report/github.com/gifflet/ccmd)
|
|
6
|
+
[](https://sonarcloud.io/summary/new_code?id=gifflet_ccmd)
|
|
6
7
|
[](https://www.npmjs.com/package/@gifflet/ccmd)
|
|
7
8
|
[](https://github.com/sponsors/gifflet)
|
|
8
9
|
|
|
9
10
|
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.
|
|
10
11
|
|
|
12
|
+
<img src="./docs/demo.gif" />
|
|
13
|
+
|
|
11
14
|
## Why ccmd?
|
|
12
15
|
|
|
13
16
|
Managing custom Claude Code commands across multiple projects can be challenging. ccmd solves this by treating commands as versioned, reusable packages:
|
|
@@ -18,7 +21,7 @@ Managing custom Claude Code commands across multiple projects can be challenging
|
|
|
18
21
|
- **Easy sharing**: Share commands with your team or the community through Git repositories
|
|
19
22
|
- **Simple management**: Install, update, and remove commands with familiar package manager semantics
|
|
20
23
|
|
|
21
|
-
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.
|
|
22
25
|
|
|
23
26
|
## Installation
|
|
24
27
|
|
|
@@ -59,11 +62,12 @@ That's it! You've just installed and used your first ccmd command.
|
|
|
59
62
|
| Command | Description |
|
|
60
63
|
|---------|-------------|
|
|
61
64
|
| `ccmd init` | Initialize a new command project |
|
|
62
|
-
| `ccmd
|
|
63
|
-
| `ccmd install
|
|
64
|
-
| `ccmd
|
|
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 |
|
|
65
69
|
| `ccmd update <command>` | Update a specific command |
|
|
66
|
-
| `ccmd remove <command>` | Remove an installed command |
|
|
70
|
+
| `ccmd remove <command>` | Remove an installed command or plugin |
|
|
67
71
|
| `ccmd search <keyword>` | Search for commands in the registry |
|
|
68
72
|
| `ccmd info <command>` | Show detailed command information |
|
|
69
73
|
|
|
@@ -104,6 +108,38 @@ entry: index.md # Optional, defaults to index.md
|
|
|
104
108
|
|
|
105
109
|
> For complete guide with examples, see [Creating Commands](docs/creating-commands.md)
|
|
106
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
|
+
|
|
107
143
|
## Example Commands
|
|
108
144
|
|
|
109
145
|
Here are some commands you can install and try:
|
|
@@ -113,10 +149,20 @@ Here are some commands you can install and try:
|
|
|
113
149
|
ccmd install https://github.com/gifflet/hello-world
|
|
114
150
|
```
|
|
115
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
|
+
|
|
116
161
|
## Documentation
|
|
117
162
|
|
|
118
163
|
- **[Full Documentation](docs/)** - Complete guides and references
|
|
119
164
|
- **[Command Creation Guide](docs/creating-commands.md)** - Create your own commands
|
|
165
|
+
- **[Plugin Creation Guide](examples/creating_plugins.md)** - Create your own plugins
|
|
120
166
|
|
|
121
167
|
## Community
|
|
122
168
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gifflet/ccmd",
|
|
3
|
-
"version": "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": {
|