Restructure into proper Claude Code plugin format
- Move tea/ → skills/tea/ so the plugin loader can find the skill - Add .claude-plugin/plugin.json with name, version, description, author, keywords - Add MIT LICENSE file - Update README with marketplace install command and corrected manual install paths Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
49
README.md
49
README.md
@@ -24,48 +24,57 @@ When installed, Claude will know how to use `tea` to:
|
||||
|
||||
## Installation
|
||||
|
||||
Skills in Claude Code live inside plugin packages under `~/.claude/plugins/`. To install this skill, copy the `tea/` folder into a plugin's `skills/` directory.
|
||||
|
||||
### Option A — standalone plugin (recommended)
|
||||
|
||||
Create a minimal plugin structure and drop the skill in:
|
||||
### From the Claude Code marketplace (once listed)
|
||||
|
||||
```bash
|
||||
PLUGIN_DIR=~/.claude/plugins/cache/local-plugins/tea-skill/1.0.0
|
||||
mkdir -p "$PLUGIN_DIR/skills"
|
||||
cp -r tea "$PLUGIN_DIR/skills/"
|
||||
/plugin install tea@claude-plugins-official
|
||||
```
|
||||
|
||||
### Manual install
|
||||
|
||||
Clone and register as a local plugin:
|
||||
|
||||
```bash
|
||||
git clone https://gittea.kammenstraatha.duckdns.org/admin/tea-skill
|
||||
PLUGIN_DIR=~/.claude/plugins/cache/local-plugins/tea/1.0.0
|
||||
mkdir -p "$PLUGIN_DIR"
|
||||
cp -r tea-skill/* "$PLUGIN_DIR/"
|
||||
```
|
||||
|
||||
Then register it in `~/.claude/plugins/installed_plugins.json` under the `"plugins"` key:
|
||||
|
||||
```json
|
||||
"tea-skill@local-plugins": [{
|
||||
"tea@local-plugins": [{
|
||||
"scope": "user",
|
||||
"installPath": "/home/YOUR_USER/.claude/plugins/cache/local-plugins/tea-skill/1.0.0",
|
||||
"installPath": "/home/YOUR_USER/.claude/plugins/cache/local-plugins/tea/1.0.0",
|
||||
"version": "1.0.0",
|
||||
"installedAt": "2025-01-01T00:00:00.000Z",
|
||||
"lastUpdated": "2025-01-01T00:00:00.000Z"
|
||||
}]
|
||||
```
|
||||
|
||||
### Option B — clone and symlink
|
||||
### Clone and symlink (for development)
|
||||
|
||||
```bash
|
||||
git clone https://github.com/yourname/tea-skill
|
||||
PLUGIN_DIR=~/.claude/plugins/cache/local-plugins/tea-skill/1.0.0
|
||||
mkdir -p "$PLUGIN_DIR/skills"
|
||||
ln -s "$(pwd)/tea-skill/tea" "$PLUGIN_DIR/skills/tea"
|
||||
git clone https://gittea.kammenstraatha.duckdns.org/admin/tea-skill
|
||||
PLUGIN_DIR=~/.claude/plugins/cache/local-plugins/tea/1.0.0
|
||||
mkdir -p "$PLUGIN_DIR"
|
||||
ln -s "$(pwd)/tea-skill/.claude-plugin" "$PLUGIN_DIR/.claude-plugin"
|
||||
ln -s "$(pwd)/tea-skill/skills" "$PLUGIN_DIR/skills"
|
||||
```
|
||||
|
||||
Then register as above. With a symlink, pulling the repo updates the skill immediately.
|
||||
With symlinks, pulling the repo updates the skill immediately.
|
||||
|
||||
## Structure
|
||||
|
||||
```
|
||||
tea/
|
||||
├── SKILL.md # Main skill instructions
|
||||
└── references/
|
||||
└── commands.md # Full command & flag reference
|
||||
.claude-plugin/
|
||||
└── plugin.json # Plugin metadata
|
||||
skills/
|
||||
└── tea/
|
||||
├── SKILL.md # Main skill instructions
|
||||
└── references/
|
||||
└── commands.md # Full command & flag reference
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Reference in New Issue
Block a user