Validate plugin structure and compliance using plugin-validator agent
Validate plugin structure and compliance using plugin-validator agent. Use this before deploying plugins to ensure they follow framework conventions and security requirements.
/plugin marketplace add vanman2024/domain-plugin-builder/plugin install domain-plugin-builder@ai-dev-marketplace<plugin-name>šØ EXECUTION NOTICE FOR CLAUDE
When you invoke this command via SlashCommand(/domain-plugin-builder:validate ...), the system returns THESE INSTRUCTIONS below.
YOU are the executor. This is NOT an autonomous subprocess.
Immediately after SlashCommand returns, start executing Phase 0, then Phase 1, etc.
See @CLAUDE.md section "SlashCommand Execution - YOU Are The Executor" for detailed explanation.
CRITICAL: All generated files must follow security rules:
@~/.claude/plugins/marketplaces/dev-lifecycle-marketplace/docs/security/SECURITY-RULES.md
Key requirements:
your_service_key_here.env files with .gitignore.env.example with placeholders onlyArguments: $ARGUMENTS
Goal: Validate that a Claude Code plugin is properly structured, follows framework conventions, and is ready for deployment.
CRITICAL EXECUTION INSTRUCTIONS:
!{tool command} syntax shows you WHAT to execute - use the real tool to DO ITCore Principles:
Phase 0: Create Todo List
Create todo list for all phases below.
Phase 1: Verify Plugin Exists and Determine Mode
Check if we're in a plugin directory or need to look in plugins/:
!{bash test -f .claude-plugin/plugin.json && echo "standalone" || (test -d "plugins/$ARGUMENTS" && echo "marketplace" || echo "not-found")}
Store mode:
If not found, display error:
Phase 2: Invoke Plugin Validator Agent
Launch the plugin-validator agent to perform comprehensive validation:
Task(description="Validate plugin structure and compliance", subagent_type="domain-plugin-builder:plugin-validator", prompt="You are the plugin-validator agent. Perform comprehensive validation on $PLUGIN_PATH.
Run all validation scripts:
Verify:
Deliverable: Complete validation report with pass/fail status, critical issues, warnings, and recommendations.")
Phase 3: Summary
Display validation completion message:
Validation Complete for: $ARGUMENTS
See detailed report above from plugin-validator agent.
If validation passed, next steps:
If validation failed: