/plugin-engineering:public-marketplace-devfrom Plugin Engineering
Use only when a new public plugin marketplace hosted on GitHub must be set up from scratch, once, at its start, whenever the user asks to create, establish, build or scaffold one, or the task needs a marketplace repository that does not exist yet, even when the user only says they want to publish or distribute plugins to other people. Builds the complete operating environment and architecture the marketplace will need, ready for its first plugin, including the repository's folders and subfolders, the marketplace catalog, the plugins folder layout, versioning and releases, validation, user instructions, CI/CD workflows, repository files and the folders for its maintenance. Teaches Claude to build it with cli-commands-guide for the exact commands, and to run test-and-evals on the result before reporting the work as done. Not for writing a plugin or its components, testing or debugging a plugin on its own, or maintaining a marketplace that already exists.
Trending skills
7-day visitors to each skill page
Ships in Plugin Engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The files in references/ are copies of official pages from the Claude Code docs, the Claude plugin docs on claude.com, the Claude Platform docs and the Claude Help Center, pruned to what matters for plugins that a public GitHub marketplace serves to third parties, who install them on their own machines. One file, official-source-validation.md, is not a copy: it is the procedure this skill uses to check facts against the release notes. Answer and build from these files instead of from memory.
The work is done when every fact you state or write comes from one of these files or from its live source page, and every version-sensitive fact has passed the validation loop below.
cli-commands-guide skill with the Skill tool and follow it, whether or not a plugin command runs: it holds how plugins install, load and update and the exact form of every plugin command (claude plugin …, /plugin, /reload-plugins, --plugin-dir, --plugin-url) you run, write or explain, Step 6 included. Once it is loaded, don't invoke it again unless the conversation was compacted. If the skill is not available, read https://code.claude.com/docs/en/plugins/cli-reference.md instead.## Contents list, then read only the sections the task needs.## Documentation References section is its source page. Fetch it when a section is missing, thin or possibly outdated.url, npm, archive and command plugin sources, local-folder or zip distribution, and administrator deployment procedures. For any of them, read the source page.cli-reference.md: the one in 01-plugins-core/ covers the plugin commands, the one in 05-cli-diagnostics/ the general claude command line.cli-commands-guide skill; the standing rules say when to load it. The plugin commands file points to it section by section, and names the official page to read when that skill is not available.> **View the image** or > **Read the example** points to a file in assets/. Open it when the section needs what it shows. The index below names each asset with its page.Copy this checklist and tick each item as you complete it:
Task Progress:
- [ ] Step 1: Pick the files for the task (the file index in this `SKILL.md`)
- [ ] Step 2: Read each file's `## Contents`, then the sections the task needs
- [ ] Step 3: Open every asset those sections point to
- [ ] Step 4: Draft the answer or the change from those sections
- [ ] Step 5: Validate each version-sensitive fact (`references/05-cli-diagnostics/official-source-validation.md`)
- [ ] Step 6: Validate the changed plugin or marketplace (run `claude plugin validate --strict <directory>`)
- [ ] Step 7: Deliver, citing the source page of each fact
Step 1: Pick the files. Find the task's topic in the file index and take every file whose condition matches. A task that touches several components needs the file for each side: a plugin hook needs the hooks files, the manifest reference and the platform support tables. The result is the list of files to read.
Step 2: Read the sections. Read each file's ## Contents list, then the matching sections in full. The result is the passages the task rests on, each with its file and heading.
Step 3: Open the assets. Open each assets/ file that a section you read points to. The result is the layout or example the draft follows.
Step 4: Draft. Choose the branch that fits the task:
The result is a draft with each fact traced to its file and section.
Step 5: Validate the facts. Run the validation loop below on every version-sensitive fact in the draft.
Step 6: Validate the files. Only when Step 4 changed plugin or marketplace files: run claude plugin validate --strict <directory> on each changed plugin directory and on the marketplace root. It passes when it exits 0 and prints Validation passed. On exit 1, read each error and warning with its path, fix the file, and run it again. Exit 2 means the validator itself failed, such as on an unreadable path. Where the claude CLI isn't available, as in claude.ai chat, say that this step was skipped. For the flags and the --json report, read plugin validate in the cli-commands-guide skill, which the standing rules load before this run.
Step 7: Deliver. Give the result with the source page URL of each fact, and say which facts the release notes changed.
If Step 5 finds a fact that changed, was removed or can't be confirmed, return to Step 4. If Step 6 fails, return to Step 4.
references/05-cli-diagnostics/official-source-validation.md is the validator. It sets which facts count as version-sensitive, the sources to read, which source wins, and how to read only the releases newer than these copies.
When to validate, Source precedence and Read a range of Claude Code releases sections.Procedure gives it, and the release entry that shows itWhen you audit existing files instead of drafting, follow that file's Procedure and Report format, and change no file until the user decides.
Each file is listed with when to read it. Assets are listed under the page that points to them.
.claude/ setup.plugin.json that binds a channel.plugin.json field, path forms, and the userConfig and environment variable schemas.
plugin.json that sets most fields.marketplace.json and test the marketplace locally.marketplace.json field, plugin entries, and the plugin and marketplace source objects.cli-commands-guide skill.claude plugin eval cases, grade them, and gate CI on the score.
relevance block that makes Claude Code suggest a plugin.claude-code-hint tag; title and source only.agents/ directory.if condition decide whether a hook runs.force-for-plugin field.subagentStatusLine setting a plugin can ship a default for.model or effort.settings.json keys that bear on plugins.claude plugin command can't show the approval dialog.claude commands and flags.SKILL.md file.assets/agent-skills-architecture.png (opens in a new tab)assets/agent-skills-bundling-content.png (opens in a new tab)assets/agent-skills-context-window.png (opens in a new tab)assets/agent-skills-executable-scripts.png (opens in a new tab)assets/agent-skills-simple-file.png (opens in a new tab)assets/channel-architecture.png (opens in a new tab)assets/channel-permission-relay.png (opens in a new tab)assets/components-channel-example.json (opens in a new tab)assets/hook-resolution.png (opens in a new tab)assets/hooks-lifecycle.png (opens in a new tab)assets/manifest-channel-example.json (opens in a new tab)assets/manifest-full-example.json (opens in a new tab)assets/mods-el-box-light.png (opens in a new tab)assets/mods-el-button-light.png (opens in a new tab)assets/mods-el-button-plain-focused-light.png (opens in a new tab)assets/mods-el-code-light.png (opens in a new tab)assets/mods-el-diff-light.png (opens in a new tab)assets/mods-el-input-focused-light.png (opens in a new tab)assets/mods-el-input-light.png (opens in a new tab)assets/mods-el-input-typed-light.png (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nerymurillohnd/the-claude-factory --plugin plugin-engineering4 skills in this plugin
/cli-commands-guideUse for all work that writes, builds, audits, validates, tests, debugs, renames, removes, releases, tags or maintains plugins, their components (skills, subagents, hooks, scripts, MCP and LSP servers, commands, mods), dependencies and marketplaces, across any surface and environment (Claude Code CLI, desktop, web and cloud environments, claude.ai, Cowork, Agent SDK) and any distribution method (public or private GitHub marketplaces, plugins without a marketplace, claude.ai uploads, the Anthropic Directory, local plugins), even when the user only names a plugin command or pastes its output. Teaches Claude to use this skill as the base for all of that work, alone when no other skill fits, and alongside every specialized skill for the task. Gives the exact, current syntax and behavior of every claude plugin and claude plugin marketplace subcommand, /plugin form, /reload-plugins, --plugin-dir and --plugin-url, with flags, JSON fields, exit codes and minimum versions, and the gotchas that break plugin work./test-and-evalsUse right after a plugin is created and after every change to a plugin, its skills, agents, hooks, MCP or LSP servers, mods or marketplace, before the work is reported as done, and when the user asks to test, validate, check or review a plugin before publishing or releasing it, or to write, run, fix or read plugin evals (claude plugin eval, eval init, graders, mocks, CI gates). Runs the checks that cost nothing first, strict validation, loading from the folder, mod tests, an install the way users receive it and the directory and policy review, then builds an eval suite only after the user says yes to it and its cost. Not for a plugin that fails to install, load or run, which troubleshoot-and-debug diagnoses./troubleshoot-and-debugUse when a Claude Code plugin or marketplace won't add, install, enable, update, load or run, when the user pastes a plugin error, an Errors tab entry or a failing claude plugin command, or when the wrong copy, scope or version of a plugin loaded, a change did nothing, or a plugin's skill, agent, hook, MCP or LSP server or mod is missing or misbehaves, on the terminal, the desktop app, cloud sessions, project threads, Claude, Cowork or the Agent SDK. Finds the loading stage and the documented cause from the exact message or the state on disk and in settings, sweeps every place the same cause reaches, applies the fix in one pass and verifies it once. Not for testing a working plugin or writing evals, which test-and-evals covers.Other plugins' skills for the same job