Automatically detect whether the validation target is a marketplace or plugin based on file structure.
From marketplace-validator-pluginnpx claudepluginhub dhofheinz/open-plugins --plugin marketplace-validator-pluginvalidation-orchestrator/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