From marketplace-validator-plugin
Detects if a directory is a Claude marketplace, plugin, multi-target, or unknown by checking for marketplace.json and plugin.json files, reporting JSON with type, path, files found, and confidence.
How this command is triggered — by the user, by Claude, or both
Slash command
/marketplace-validator-plugin:detect-targetvalidation-orchestrator/The summary Claude sees in its command listing — used to decide when to auto-load this command
## Operation: Detect Target Type Automatically detect whether the validation target is a marketplace or plugin based on file structure. ### Parameters from $ARGUMENTS - **path**: Path to the target directory (required) - Format: `path:/path/to/target` or `path:.` for current directory - Default: `.` (current directory) ### Detection Logic Execute the target detection algorithm: The detection script will: 1. Check for `.claude-plugin/marketplace.json` → **Marketplace** 2. Check for `plugin.json` → **Plugin** 3. Check for both → **Multi-target** 4. Check for neither → **Unknown** ...
Automatically detect whether the validation target is a marketplace or plugin based on file structure.
path:/path/to/target or path:. for current directory. (current directory)Execute the target detection algorithm:
# Run the target detector script
bash .scripts/target-detector.sh "$TARGET_PATH"
The detection script will:
.claude-plugin/marketplace.json → Marketplaceplugin.json → PluginExtract Path Parameter
Parse $ARGUMENTS for path parameter
IF path not provided:
SET path="."
Execute Detection
RUN .scripts/target-detector.sh "$path"
CAPTURE output and exit code
Report Results
Output format:
{
"target_type": "marketplace|plugin|multi-target|unknown",
"path": "/absolute/path/to/target",
"files_found": ["marketplace.json", "plugin.json"],
"confidence": "high|medium|low"
}
Detect current directory:
/validation-orchestrator detect path:.
Detect specific path:
/validation-orchestrator detect path:/path/to/plugin
Return a structured detection report with:
Request: $ARGUMENTS
npx claudepluginhub dhofheinz/open-plugins --plugin marketplace-validator-plugin/validateValidates Claude plugin structure, manifest (plugin.json), paths, naming conventions, and components (commands, agents, skills, hooks) for common issues.
/validate-pluginValidates Claude Code plugin structure, schema, and naming against official requirements. Checks file existence, JSON validity, kebab-case naming, issues warnings, and provides recommendations for plugin-path (defaults to current dir).