|
| 1 | +# Plugin-Dev Project Overview |
| 2 | + |
| 3 | +## Purpose |
| 4 | + |
| 5 | +A **plugin marketplace** containing the **plugin-dev** plugin - a comprehensive toolkit for developing Claude Code plugins. Provides 10 specialized skills, 3 agents, and 4 slash commands for building high-quality plugins and marketplaces. |
| 6 | + |
| 7 | +## Version |
| 8 | + |
| 9 | +Current: v0.3.4 |
| 10 | + |
| 11 | +## Two-Level Architecture |
| 12 | + |
| 13 | +| Level | Path | Purpose | |
| 14 | +| ------ | ------------------------------------------------ | ------------------------------------ | |
| 15 | +| Root | `/.claude-plugin/marketplace.json` | Marketplace manifest listing plugins | |
| 16 | +| Plugin | `/plugins/plugin-dev/.claude-plugin/plugin.json` | Individual plugin manifest | |
| 17 | + |
| 18 | +**Important**: When testing locally, point to the plugin directory: |
| 19 | + |
| 20 | +```bash |
| 21 | +claude --plugin-dir plugins/plugin-dev # Correct |
| 22 | +claude --plugin-dir . # Wrong (loads marketplace) |
| 23 | +``` |
| 24 | + |
| 25 | +## Repository Structure |
| 26 | + |
| 27 | +``` |
| 28 | +plugin-dev/ # Marketplace root |
| 29 | +├── .claude-plugin/ |
| 30 | +│ └── marketplace.json # Marketplace manifest |
| 31 | +├── plugins/ |
| 32 | +│ └── plugin-dev/ # The actual plugin |
| 33 | +│ ├── .claude-plugin/ |
| 34 | +│ │ └── plugin.json # Plugin manifest |
| 35 | +│ ├── agents/ # 3 agents |
| 36 | +│ │ ├── agent-creator.md |
| 37 | +│ │ ├── skill-reviewer.md |
| 38 | +│ │ └── plugin-validator.md |
| 39 | +│ ├── commands/ # 4 commands |
| 40 | +│ │ ├── start.md |
| 41 | +│ │ ├── create-plugin.md |
| 42 | +│ │ ├── create-marketplace.md |
| 43 | +│ │ └── plugin-dev-guide.md |
| 44 | +│ └── skills/ # 10 skills |
| 45 | +│ ├── agent-development/ |
| 46 | +│ ├── command-development/ |
| 47 | +│ ├── hook-development/ |
| 48 | +│ ├── marketplace-structure/ |
| 49 | +│ ├── mcp-integration/ |
| 50 | +│ ├── plugin-settings/ |
| 51 | +│ ├── plugin-structure/ |
| 52 | +│ └── skill-development/ |
| 53 | +└── .github/workflows/ # CI/CD workflows |
| 54 | +``` |
| 55 | + |
| 56 | +## Tech Stack |
| 57 | + |
| 58 | +- **Content**: Primarily markdown files |
| 59 | +- **Scripts**: Bash shell scripts in `skills/*/scripts/` |
| 60 | +- **CI/CD**: GitHub Actions workflows |
| 61 | +- **Linting**: markdownlint-cli2 for markdown, prettier for formatting, shellcheck for scripts |
| 62 | + |
| 63 | +## The 10 Skills |
| 64 | + |
| 65 | +1. `hook-development` - Event-driven automation with prompt-based hooks |
| 66 | +2. `mcp-integration` - Model Context Protocol server configuration |
| 67 | +3. `plugin-structure` - Directory layout, manifest config, headless/CI mode, GitHub Actions, plugin caching, CLI commands |
| 68 | +4. `plugin-settings` - Configuration via .claude/plugin-name.local.md files, memory/rules system |
| 69 | +5. `command-development` - Slash commands with frontmatter |
| 70 | +6. `agent-development` - Autonomous agents with AI-assisted generation |
| 71 | +7. `skill-development` - Creating skills with progressive disclosure, model/hooks/visibility budget |
| 72 | +8. `marketplace-structure` - Plugin marketplace creation and distribution |
| 73 | +9. `lsp-integration` - Language Server Protocol server configuration |
| 74 | +10. `plugin-dev-guide` - Meta-skill for navigating plugin-dev capabilities |
| 75 | + |
| 76 | +## Skill Structure (Progressive Disclosure) |
| 77 | + |
| 78 | +Each skill follows this pattern: |
| 79 | + |
| 80 | +- `SKILL.md` - Core content (1,500-2,500 words, lean, with brief pointers to references) |
| 81 | +- `references/` - Detailed documentation loaded as needed (800-1,500 words per file) |
| 82 | +- `examples/` - Complete working examples for copy-paste |
| 83 | +- `scripts/` - Utility scripts (executable without loading into context) |
| 84 | + |
| 85 | +## Recent Enhancements (v0.3.4) |
| 86 | + |
| 87 | +Added 5 new reference files from claude-docs audit: |
| 88 | +- `skill-development/references/advanced-frontmatter.md` - model, hooks, visibility budget |
| 89 | +- `plugin-structure/references/headless-ci-mode.md` - headless/CI compatibility |
| 90 | +- `plugin-structure/references/github-actions.md` - GitHub Actions integration |
| 91 | +- `plugin-settings/references/memory-rules-system.md` - CLAUDE.md, rules, hierarchy |
| 92 | +- `plugin-structure/references/advanced-topics.md` - consolidated advanced topics |
0 commit comments