/marketplace-forge:setup-marketplacefrom Marketplace Forge
Teaches Claude to create or set up a GitHub repository marketplace for Claude Code plugins. Use when the user asks for, or a task involves, creating or setting up a plugin marketplace.
Ships in Marketplace Forge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Setup Marketplace creates a Claude Code plugin marketplace from scratch, ready to publish on GitHub. It asks the user only what needs their decision, shows the full architecture for approval, and writes each approved file from its template.
Use it once, at the start, when the marketplace does not exist yet: the target is an empty folder, a new repository, or a repository with no .claude-plugin/marketplace.json. The GitHub repository may still not exist, and it can be public or private. Files already in the target are kept, and the skill changes one only after the user approves the change.
Do not use it once the target has a catalog, even an empty one: from then on, every change belongs to maintain-marketplace-docs. It does not create or edit plugins, and it does not create the GitHub repository, push or publish. It does not cover a marketplace hosted outside GitHub or kept on one machine only.
marketplace.json. Create nothing inside plugins/.references/, and every template from assets/.marketplace.json, and every Claude Code command in the documents, as the official Claude Code documentation defines them, because Claude Code reads that file and runs those commands.claude plugin validate --strict turns the no-plugins warning into a failure, so an empty catalog never passes it. Validate the setup without --strict.plugins/ reaches the repository with the first plugin. Leave it empty; a .gitkeep would break the rule above.@org alone. Use @username or @org/team-name.Each file has one reference that says how to write it and which template to use. Read a file's reference only when that file is in the approved architecture, right before writing it in step 5, so that no instruction for a file the user removed is loaded. Four references also act earlier: official-sources.md in steps 3 and 4, inspection-and-verification.md in steps 2 and 6 to 8, codeowners.md and tooling.md for their checks at the gate.
| Reference | Covers |
|---|---|
| official-sources.md | Reading order, official sections, changelog window, the marketplace name check |
| inspection-and-verification.md | Target inspection, existing files, git init, verification commands, report template |
| codeowners.md | The code owners check; .github/CODEOWNERS |
| tooling.md | The Q7 version check; .gitignore, .nvmrc or .python-version |
| catalog.md | .claude-plugin/marketplace.json, the empty plugins/ |
| readme.md | README.md and the private access note |
| changelog.md | CHANGELOG.md |
| license.md | LICENSE, NOTICE |
| code-of-conduct.md | CODE_OF_CONDUCT.md |
| contributing.md | CONTRIBUTING.md |
| security.md | SECURITY.md |
| support.md | SUPPORT.md |
| decision-records.md | docs/adr/, setup decision records |
| debt-ledgers.md | docs/maintenance/ |
| issue-templates.md | .github/ISSUE_TEMPLATE/, labels, the user's own templates |
| pull-request-template.md | .github/PULL_REQUEST_TEMPLATE.md, the user's own templates |
| validation-workflow.md | .github/workflows/validate.yml |
Copy this checklist and tick each step as it is done:
- [ ] 1 Interview: ask the seven questions below
- [ ] 2 Target: inspect it (inspection-and-verification.md)
- [ ] 3 Sources: read the official sections and the changelog window (official-sources.md)
- [ ] 4 Gate: run the checks, show the architecture, apply each change, wait for approval
- [ ] 5 Write: run every "Before writing" step, then write each approved file from its reference
- [ ] 6 Git: initialize it when the target is not a repository (inspection-and-verification.md)
- [ ] 7 Verify: validation loop below
- [ ] 8 Report: fill the report template (inspection-and-verification.md)
Ask only these questions in step 1: each one decides something no default can. Use AskUserQuestion, up to four per call; without it, as in claude -p, ask in plain text and wait. Skip a question the user already answered.
| # | Question | Decides |
|---|---|---|
| Q1 | Marketplace name, kebab-case | Catalog name; the title |
| Q2 | GitHub owner/repo; it need not exist yet | Repository links; code owners |
| Q3 | Public or private | Defaults below; SECURITY variant; README access note and scope badge |
| Q4 | Maintainer name, and an email someone reads | Catalog owner, copyright holder, conduct contact, private security contact |
| Q5 | License: one of AGPL-3.0, Apache-2.0, BSD-2-Clause, BSD-3-Clause, BSL-1.0, CC0-1.0, EPL-2.0, GPL-2.0, GPL-3.0, LGPL-2.1, MIT, MPL-2.0, Unlicense, or none. Public and none: warn once that nobody may then use, change or share the plugins | LICENSE, NOTICE, license lines |
| Q6 | What kind of plugins it will hold, and the goal | Catalog description, categories, private audience |
| Q7 | Maintenance environment: none, Node, Python or other. Node: major version (24). Python: minor version (3.13) | .nvmrc or .python-version |
The default architecture. Required files stay; every other file is in by default and leaves when the user asks.
<marketplace>/
├── .claude-plugin/
│ └── marketplace.json required
├── plugins/ required, empty
├── docs/ written while decision records or debt ledgers stay
│ ├── adr/ decision records: in
│ │ ├── README.md
│ │ ├── ADR_YYYY-MM-DD_decision-slug.md
│ │ └── decisions/
│ │ └── .gitkeep plus one record per accepted setup decision
│ └── maintenance/ debt ledgers: in
│ ├── pending-debt.md
│ └── resolved-debt.md
├── .github/
│ ├── ISSUE_TEMPLATE/ issue forms: public in, private out; or the user's own
│ │ ├── bug_report.yml
│ │ ├── plugin_proposal.yml
│ │ └── config.yml
│ ├── PULL_REQUEST_TEMPLATE.md in while pull requests are welcome; or the user's own (several: PULL_REQUEST_TEMPLATE/)
│ ├── CODEOWNERS in
│ └── workflows/
│ └── validate.yml in
├── .gitignore in; merged into an existing one
├── .nvmrc or .python-version Q7 Node or Python
├── README.md in
├── CHANGELOG.md in
├── CONTRIBUTING.md in; open or issues-only variant
├── CODE_OF_CONDUCT.md in
├── SECURITY.md in; public or private variant
├── SUPPORT.md in
├── LICENSE Q5 not none
└── NOTICE Q5 Apache-2.0
| Value | Default |
|---|---|
| Title | Q1 in Title Case |
| Description | One sentence drafted from Q6 |
| Categories, and what each covers | Drafted from Q6 |
| Private audience | Drafted from Q6 |
| Contribution model | Public: pull requests welcome. Private: issues only |
| Plugin versioning | Bump version on every release. Alternative: commit-based, plugins omit version |
| Code owners | From Q2, as codeowners.md says |
| Issue form labels | bug on bug reports, enhancement on plugin proposals |
| Setup decision records | None. Offered: license, contribution model, plugin versioning |
| Security response days | 5 and 10 |
| Support expectation | Responses are best effort. |
| Default branch | As {{DEFAULT_BRANCH}} below |
| Date | Today in UTC |
The user sees everything before anything is written, so the approval covers exactly what lands on disk.
When a file is removed, every other written file must stop pointing to it, because a link or a mention of a missing file misleads the reader. Each reference lists those lines under "Variant lines"; step 5 applies them.
Each reference lists which shared values its templates use, and defines its own.
| Placeholder | Value |
|---|---|
{{MARKETPLACE_NAME}} | Q1 |
{{MARKETPLACE_TITLE}} | The approved title |
{{MARKETPLACE_DESCRIPTION}} | The approved description |
{{REPO_URL}} | https://github.com/ and Q2 |
{{DEFAULT_BRANCH}} | In an existing repository: git symbolic-ref --short HEAD. Otherwise: main |
{{LICENSE_SPDX}} | Q5, when not none |
{{SECURITY_URL}} | Public: {{REPO_URL}}/security/advisories/new. Private: {{REPO_URL}}/blob/{{DEFAULT_BRANCH}}/SECURITY.md |
Tick every item in step 7 and copy the ticked list into the report. Mark an item that does not apply to this run "n/a" with the reason, such as LICENSE when Q5 is none, so a skipped check is never mistaken for a passed one.
Rules
- [ ] The interview came first; before the gate, only its questions were asked
- [ ] The user approved the architecture before the first write, and it includes every change they asked
- [ ] Every existing file that changed was shown to the user and approved first
- [ ] Nothing was written outside the target, and nothing inside plugins/
- [ ] No invented fact: dates from `date -u`, contacts and decisions from the user, license text from the GitHub API
Workflow
- [ ] The official sections and the changelog window were read; each difference from a reference or template was applied and is in the report
- [ ] The marketplace name passed the name check
- [ ] Every "Before writing" step ran before the first write
Files
- [ ] Every file of the approved architecture exists under its real name, and nothing else was written
- [ ] Each variant matches the answers: SECURITY public or private, CONTRIBUTING open or issues-only, LICENSE and NOTICE by Q5, .nvmrc or .python-version by Q7
- [ ] The catalog holds name, owner, description and an empty plugins array, and no version unless the user asked
- [ ] plugins/ exists and is empty
- [ ] An existing .gitignore was merged, not replaced
- [ ] The user's own templates were written unchanged
Content
- [ ] No {{PLACEHOLDER}} left, except the debt ledgers' entry-format fields, the ADR template's fields and the user's own templates
- [ ] Each shared value is identical in every file: name, title, repository URL, default branch, license
- [ ] No written file points to a file that was not written
- [ ] Every Claude Code command in the documents matches the official sections read in step 3
- [ ] LICENSE equals the GitHub API text; only its [year] and [fullname] fields, where the text has them, are filled
- [ ] Every CODEOWNERS owner is @username or @org/team-name
- [ ] Setup decision records, if any, hold only the user's answers
Validation
- [ ] Git is on the approved default branch, when this run initialized it
- [ ] Every written .yml file parses, or the check is reported as not verified
- [ ] `claude plugin validate .` exits 0, and its only warning is the no-plugins warning
- [ ] The report lists every written file, the output of each check, what was not verified, and the next steps
assets/docs/decision-record-template.md (opens in a new tab)assets/docs/decision-records-index-template.md (opens in a new tab)assets/docs/pending-debt-ledger-template.md (opens in a new tab)assets/docs/resolved-debt-ledger-template.md (opens in a new tab)assets/github/bug-report-form-template.yml (opens in a new tab)assets/github/code-owners-template.txt (opens in a new tab)assets/github/issue-chooser-config-template.yml (opens in a new tab)assets/github/plugin-proposal-form-template.yml (opens in a new tab)assets/github/pull-request-body-template.md (opens in a new tab)assets/github/validation-workflow-template.yml (opens in a new tab)assets/root/code-of-conduct-contributor-covenant-template.md (opens in a new tab)assets/root/contributing-guide-issues-only-template.md (opens in a new tab)assets/root/contributing-guide-open-template.md (opens in a new tab)assets/root/env/node/node-version-template.txt (opens in a new tab)assets/root/env/python-uv/python-version-template.txt (opens in a new tab)assets/root/git-ignore-template.txt (opens in a new tab)assets/root/marketplace-changelog-template.md (opens in a new tab)assets/root/notice-apache-2-template.txt (opens in a new tab)assets/root/project-root-readme-template.md (opens in a new tab)assets/root/readme-private-access-note-template.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/maintain-marketplace-docsUse when working in a plugin marketplace project and a task involves writing or editing a README.md, CHANGELOG.md, LICENSE, NOTICE, CONTRIBUTING.md, an ADR or a debt ledger./marketplace-forgeBuilds, changes, verifies, releases and fixes Claude Code plugins and plugin marketplaces from the current official documentation. Use when a task creates or edits marketplace.json or plugin.json, or a plugin's skills, agents, hooks, mods, MCP or LSP servers, output styles, channels or monitors; when it writes plugin evals; when it versions, tags, hosts or distributes a plugin; or when a plugin or marketplace fails to add, install, load or behave.npx claudepluginhub nerymurillohnd/claude-essentials --plugin marketplace-forgeOther plugins' skills for the same job