kit/plugins/marketplace-builder/skills/building-marketplaces/SKILL.md
Scaffolds a Claude Code plugin marketplace for a repository. Evaluates the repo structure and generates the required config files and README. Use when the user asks to build or scaffold a marketplace.
npx skillsauth add shawn-sandy/agentics building-marketplacesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Evaluate a repository and scaffold the files needed to turn it into a Claude Code skill marketplace.
Freedom level: Rigid — Execute all six steps in the order listed. Do not skip, combine, or reorder them.
Does not audit SKILL.md quality (use skill-reviewer) or CLAUDE.md content (use memory-tools).
Determine which repository to evaluate:
Confirm the target with the user before proceeding: "I'll evaluate <path> for marketplace readiness."
Scan the target repository and collect these metrics. For each marketplace-related file, classify its status as missing, present and valid, or present but broken (exists but missing required fields or has structural issues).
| Category | What to check |
|----------|---------------|
| Git status | Initialized? Has remote? Current branch? |
| Claude Code files | CLAUDE.md, .claude/rules/ (count rule files), CLAUDE.local.md |
| Marketplace files | .claude-plugin/marketplace.json (status + field check), any root-level plugin.json |
| Plugin directories | Count plugins/*/ folders; for each, check .claude-plugin/plugin.json presence |
| Skills & commands | Scan for skills/*/SKILL.md and commands/*.md under each plugin |
| Project docs | README.md, LICENSE, CONTRIBUTING.md, CHANGELOG.md, .gitignore |
| Package manifest | package.json, Cargo.toml, pyproject.toml, setup.py, go.mod, or similar |
| Build/test scripts | Scripts defined in manifest; test directories present |
| CI/CD | .github/workflows/, .gitlab-ci.yml, Jenkinsfile, or similar |
| Directory listing | Top-level directory structure |
Present the inventory as a summary table before proceeding.
Marketplace file validation (when present):
For .claude-plugin/marketplace.json, check:
name (kebab-case), owner (object with name), plugins (array)claude-code-marketplace, claude-code-plugins, claude-plugins-official, anthropic-marketplace, anthropic-plugins, agent-skills, life-sciencesname, source./, no ../ traversal)For each plugin.json, check:
name, description, versionplugin.json and marketplace.json for the same pluginReport broken files with specific issues found.
Load references/audit-dimensions.md for scoring criteria.
Score each of the 5 dimensions 0, 1, or 2. Maximum total: 10 points.
Output a structured report:
## Marketplace Readiness Report
**Repository:** <path>
**Git:** <initialized/remote status>
### Inventory Summary
| Item | Status |
|------|--------|
| CLAUDE.md | [missing / present / present but incomplete] |
| .claude/rules/ | [N rule files / missing] |
| marketplace.json | [missing / valid / present but broken: <issue>] |
| Plugin directories | [N found, M valid] |
| Skills detected | [N total across plugins] |
| README.md | [present / missing] |
| Package manifest | [type or missing] |
| CI/CD | [type or missing] |
### Scores
| Dimension | Score | Max |
|-----------|-------|-----|
| Repository Foundation | [n] | 2 |
| Project Documentation | [n] | 2 |
| Code Organization | [n] | 2 |
| Developer Experience | [n] | 2 |
| Marketplace Readiness | [n] | 2 |
| **Total** | **[n]** | **10** |
**Grade:** [see scale in audit-dimensions.md]
After the table:
Based on the scan results, offer to generate files the repository is missing. Only offer files that are actually needed — skip anything already present and valid.
Ask: "Based on the audit, I can scaffold the following files. Which would you like me to generate?"
Present a numbered list of what can be scaffolded. For each item, show a code block with the proposed content before asking for confirmation.
Scaffolding options (offer only what's missing or broken):
.claude-plugin/marketplace.json — if missing or broken. Generate per official schema from references/marketplace-templates.md. Derive name from repo directory name, owner.name from git config user.name or package manifest author. If marketplace.json already exists and is valid, offer to add new plugin entries instead.CLAUDE.md — if missing. Generate a minimal stub with section headings and TODO placeholders (Project Overview, Tech Stack, Repository Structure, Common Commands, Conventions). Do not attempt to fill in content — defer to memory-tools for quality..claude/rules/ starter files — if directory is missing. Generate generic starter rules for plugin authoring conventions and marketplace configuration. Content from references/marketplace-templates.md..gitignore additions — if missing entries for .claude/worktrees/ and CLAUDE.local.md.plugins/<name>/.claude-plugin/plugin.json + plugins/<name>/skills/<skill-name>/SKILL.md stub. Ask the user for the plugin name and skill name. Validate proposed plugin name does not duplicate an existing marketplace entry.CLAUDE.local.md — if missing. Generate a template with machine-specific path placeholders..claude/settings.json — optional, offer separately. Add extraKnownMarketplaces entry for team distribution.When generating plugin entries for marketplace.json, briefly mention the 6 plugin source types (relative path, github, url, git-subdir, npm, pip) and default to relative path for local plugins.
For each file the user wants scaffolded:
<path>?"Never batch-write multiple files without individual confirmation. If the user declines a file, skip it and move to the next.
After all files are written (or declined), suggest next steps:
claude plugin validate . to verify marketplace structurememory-tools to improve the generated CLAUDE.mdskill-reviewer to audit any SKILL.md filesclaude --plugin-dir ./plugins/<name>Use for rapid pre-assessment without running the full audit:
Repository Foundation
.claude/rules/ directory exists with at least one rule fileProject Documentation
Code Organization
Developer Experience
Marketplace Readiness
.claude-plugin/marketplace.json exists with name, owner, pluginsplugins/ with valid plugin.jsonname and source fields./, no ../)skills/ or commands/claude plugin validate .development
Turns a React component into a social card with preview, code, and props table. Builds a static preview and screenshots react-card.html via Playwright. Use when asked to share a React component.
data-ai
Refine-prompt: interviews users and assembles a structured AI prompt using Anthropic best-practice techniques. Use when the user runs /plan-agent:refine-prompt or asks to refine a prompt.
development
Plan review Agent Team. Reviews HTML implementation plans in parallel, synthesizes findings, and applies improvements in place. Use when the user asks to review or improve an implementation plan.
data-ai
Craft-prompt: interviews users and assembles a structured AI prompt using Anthropic best-practice techniques. Use when the user runs /plan-agent:craft-prompt or asks to craft a prompt.