Marketplace Architecture¶
Understand the two-level architecture of the Talent Factory Claude Plugins marketplace and how plugins are distributed to users.
Overview¶
The marketplace uses a two-level architecture that separates the marketplace catalog from individual plugin definitions:
graph TD
A["Marketplace Level<br/>.claude-plugin/marketplace.json"] --> B["Plugin: git-workflow"]
A --> C["Plugin: project-management"]
A --> D["Plugin: code-quality"]
A --> E["Plugin: education"]
A --> F["Plugin: core"]
A --> G["Plugin: obsidian"]
B --> B1["commands/"]
B --> B2["agents/"]
B --> B3["skills/"]
B --> B4["references/"]
style A fill:#4a90d9,color:#fff Level 1: Marketplace¶
The marketplace is defined in .claude-plugin/marketplace.json at the repository root. It acts as a catalog listing all available plugins.
Structure¶
Key Fields¶
| Field | Purpose |
|---|---|
name | Marketplace identifier (used in settings) |
owner | Organization maintaining the marketplace |
plugins[] | Array of available plugin entries |
plugins[].source | Relative path to the plugin directory |
plugins[].tags | Searchable keywords for discovery |
Level 2: Plugins¶
Each plugin is self-contained in its own directory under plugins/. A plugin defines its metadata, commands, agents, and optional resources.
Directory Structure¶
plugin.json¶
| JSON | |
|---|---|
Plugin Components¶
Commands¶
Commands are Markdown files in commands/ that users invoke with /command-name. They contain:
- YAML frontmatter - Metadata (description, allowed tools, arguments)
- Markdown body - Instructions that Claude follows when executing the command
| Markdown | |
|---|---|
Agents¶
Agents are specialized AI assistants defined in agents/. They have specific expertise and can be triggered automatically or referenced by name.
| Markdown | |
|---|---|
Skills¶
Skills are reusable capabilities in skills/. Each skill has a SKILL.md defining its behavior and optional supporting scripts.
| Text Only | |
|---|---|
References¶
References in references/ provide supporting documentation that commands and agents can link to for detailed information without bloating the main command file.
| Text Only | |
|---|---|
Distribution Flow¶
Users don't clone this repository. Instead, Claude Code fetches plugin definitions directly from GitHub.
sequenceDiagram
participant U as User
participant CC as Claude Code
participant GH as GitHub
participant MP as Marketplace
U->>CC: Add marketplace to settings
CC->>GH: Fetch marketplace.json
GH-->>CC: Return plugin catalog
CC-->>U: Show available plugins
U->>CC: Enable plugin
CC->>GH: Fetch plugin files
GH-->>CC: Return commands, agents, skills
CC-->>U: Commands available (/commit, /create-pr, ...) User Configuration¶
Users add the marketplace in .claude/settings.json:
| JSON | |
|---|---|
Propagation¶
When plugin changes are pushed to the repository, users receive updates automatically when Claude Code refreshes the marketplace index. No manual update is required.
Current Plugin Catalog¶
| Plugin | Version | Commands | Agents | Skills | Purpose |
|---|---|---|---|---|---|
| git-workflow | 2.0.0 | 3 | — | 2 | Git operations |
| project-management | 2.2.0 | 4 | — | — | PRD, planning, tasks |
| code-quality | 2.0.0 | 1 | 4 | — | Code review, linting |
| education | 1.2.0 | 1 | 1 | 1 | Teaching aids |
| core | 2.1.0 | 8 | 3 | 1 | Development utilities |
| obsidian | 1.0.1 | — | — | 1 | Obsidian integration |
Branch Model¶
The repository uses a two-branch model:
gitGraph
commit id: "Release v1.0"
branch develop
commit id: "Feature A"
commit id: "Feature B"
checkout main
merge develop id: "Release v2.0"
checkout develop
commit id: "Feature C"
commit id: "Fix D"
checkout main
merge develop id: "Release v2.1" | Branch | Purpose | Access |
|---|---|---|
main | Production releases | PRs only, 1 approval required |
develop | Integration branch | Maintainer direct push, PRs for contributors |
feature/* | New features | Created from develop |
fix/* | Bug fixes | Created from develop |
docs/* | Documentation | Created from develop |
No Build Step¶
This repository contains only configuration files (JSON, Markdown, YAML). There is no compilation, transpilation, or build step. Validation is purely structural and syntactic, handled by CI/CD workflows.
Related Resources¶
- Plugin Development - Create your own plugins
- marketplace.json Reference - Marketplace format specification
- plugin.json Reference - Plugin metadata specification
- CI/CD - Automated validation workflows