CLAUDE.md · git:20260208.aa47dc6 · 2026-02-08 · sha256 27c26cd1fd6b349b
CLAUDE.md git:20260208.aa47dc6A
Immutable. This exact content is served forever at /api/v1/blob/27c26cd1fd6b349b.
# Claude Code Plugins Collection
This is a Claude Code plugin marketplace repository.
## Repository Structure
```
.claude-plugin/
marketplace.json # Marketplace manifest, declares all available plugins
plugins/
<plugin-name>/ # Self-developed plugin directory
.claude-plugin/
plugin.json # Plugin metadata
commands/ # User-invokable slash commands
agents/ # Subagent definitions
skills/ # Skill modules
hooks/ # Hook configurations
```
## Plugin Management
- **Self-developed plugins** — Source code lives directly under `plugins/<name>/`
- **Curated plugins** — Referenced in `marketplace.json` via GitHub source pointing to external repos
## Development Guidelines
### Adding a Self-developed Plugin
1. Create a plugin directory under `plugins/`
2. Create `.claude-plugin/plugin.json` with metadata (this is the single source of truth)
3. Add an entry to the `plugins` array in `marketplace.json` with a relative path as source
4. Run `bash scripts/sync-plugins.sh` to auto-sync metadata to `marketplace.json` and `README.md`
> **Note:** `plugin.json` is the single source of truth for self-developed plugins. Do NOT manually edit plugin metadata in `marketplace.json` or `README.md` — run the sync script instead.
### Adding a Curated Plugin
Add an entry to the `plugins` array in `marketplace.json` using the GitHub source format:
```json
{
"name": "plugin-name",
"source": { "source": "github", "repo": "owner/repo" },
"description": "Description"
}
```
### Component Naming Conventions
- Commands: `commands/<command-name>.md`
- Agents: `agents/<agent-name>.md`
- Skills: `skills/<skill-name>/SKILL.md`
- Hooks: `hooks/hooks.json`
### plugin.json Template
```json
{
"name": "plugin-name",
"description": "Plugin description",
"version": "0.1.0",
"author": {
"name": "Tiger",
"url": "https://github.com/DropFan"
}
}
```