Skip to content

Latest commit

 

History

History
66 lines (51 loc) · 1.92 KB

File metadata and controls

66 lines (51 loc) · 1.92 KB

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:

{
  "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

{
  "name": "plugin-name",
  "description": "Plugin description",
  "version": "0.1.0",
  "author": {
    "name": "Tiger",
    "url": "https://github.com/DropFan"
  }
}