From marketplace-builder
Evaluates a repository's structure and scaffolds Claude Code skill marketplace infrastructure. Use when the user asks to build a marketplace, set up a skill marketplace, create a plugin marketplace, scaffold marketplace files, make a repo into a marketplace, or evaluate marketplace readiness. Does not audit individual SKILL.md quality (use skill-reviewer) or CLAUDE.md content quality (use claude-md-optimizer).
npx claudepluginhub shawn-sandy/agentics --plugin marketplace-builderThis skill uses the workspace's default tool permissions.
Evaluate a repository and scaffold the files needed to turn it into a Claude Code skill marketplace.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
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.
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 claude-md-optimizer 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 structureclaude-md-optimizer 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 .