Command validation and discoverability verification with automatic recovery
Validates all commands exist and are discoverable, with automatic recovery for missing commands. Use this to verify your command system integrity after updates or when commands seem unavailable.
/plugin marketplace add bejranonda/LLM-Autonomous-Agent-Plugin-for-Claude/plugin install bejranonda-autonomous-agent@bejranonda/LLM-Autonomous-Agent-Plugin-for-Claudevalidate/The command validation system ensures all commands exist, are discoverable, and function correctly. It validates command structure, checks discoverability, and provides automatic recovery for missing commands.
This command specifically addresses issues like the missing /monitor:dashboard command by validating that all expected commands are present and accessible.
/validate:commands # Validate all commands
/validate:commands --category monitor # Validate specific category
/validate:commands --missing-only # Show only missing commands
/validate:commands --discoverability # Check discoverability features
/validate:commands --recover # Auto-recover missing commands
/validate:commands --test /monitor:dashboard # Test specific command
Validate commands in a specific category only.
/validate:commands --category monitorShow only missing commands, skip validation of existing commands.
/validate:commands --missing-onlyFocus on discoverability validation (examples, descriptions, accessibility).
/validate:commands --discoverabilityAutomatically attempt to recover missing commands.
/validate:commands --recoverTest a specific command for validation.
/validate:commands --test /monitor:dashboard/validate:commands
Output:
š Command System Validation
ā
Overall Score: 96/100
š Commands: 23/23 present
šÆ Discoverable: 22/23 commands
š Valid Syntax: 23/23 commands
[WARN]ļø Issues: 1 discoverability issue
/validate:commands --category monitor
Output:
š Monitor Commands Validation
ā
Category: monitor
š Expected Commands: 2
ā
Commands Found: recommend, dashboard
šÆ All Discoverable: True
š Syntax Valid: True
/validate:commands --missing-only
Output:
ā Missing Commands Detected:
* /monitor:dashboard (CRITICAL)
Reason: File not found
Impact: Dashboard functionality unavailable
Recovery: Auto-recover available
* /workspace:archive (WARNING)
Reason: File not found
Impact: Workspace archive functionality missing
Recovery: Template creation available
/validate:commands --recover
Output:
š Automatic Command Recovery
š Missing Commands Found: 2
š§ Recovery Progress:
ā
/monitor:dashboard restored from Git (commit: a4996ed)
ā /workspace:archive recovery failed (no template available)
š Final Validation:
* Commands Present: 24/25
* Overall Score: 98/100 (+2 points)
/validate:commands --discoverability
Output:
š Command Discoverability Analysis
ā
Overall Discoverability: 87%
š Categories Analysis:
* dev: 100% discoverable
* analyze: 100% discoverable
* validate: 75% discoverable (2 issues)
* monitor: 50% discoverable (1 issue)
šÆ Common Issues:
* Missing usage examples: 3 commands
* Unclear descriptions: 2 commands
* No parameter docs: 5 commands
Critical for plugin development and maintenance.
Essential for code analysis and quality assessment.
Core validation functionality for system integrity.
Tools for debugging and troubleshooting.
Learning and analytics functionality.
Workspace organization and management.
System monitoring and recommendations.
When --recover is enabled, missing commands are recovered using:
Git History Recovery
# Find in Git history
git log --all --full-history -- commands/monitor/dashboard.md
# Restore from commit
git checkout <commit> -- commands/monitor/dashboard.md
Template Creation
Pattern-Based Recovery
For commands that can't be auto-recovered:
Create from Template
---
name: monitor:dashboard
description: Launch system monitoring dashboard
usage: /monitor:dashboard [options]
category: monitor
subcategory: system
---
# Monitoring Dashboard
## Overview
Launch the autonomous agent monitoring dashboard...
Use Similar Command
Command validation score calculation:
Score Interpretation:
Symptoms: Command validation shows missing commands Solutions:
/validate:commands --recoverSymptoms: Commands exist but not easily discoverable Solutions:
Symptoms: Invalid YAML frontmatter or markdown structure Solutions:
Symptoms: Commands in wrong locations or disorganized Solutions:
/workspace:organizeAutomatically validates before:
Automatically validates after:
# Validate with custom rules
/validate:commands --rules custom_rules.json
# Validate specific patterns
/validate:commands --pattern "*/monitor/*.md"
# Exclude specific commands
/validate:commands --exclude "*/test/*.md"
# Validate and fix issues
/validate:commands --fix-discoverability --add-examples
# Validate and generate report
/validate:commands --generate-report --output validation_report.md
Track command system health with:
Use /learn:performance for analytics and /learn:analytics for comprehensive reporting.
/validate:integrity - Complete system integrity validation/validate:all - Full system validation/workspace:organize - Fix file organization issues/learn:analytics - Command system analytics/monitor:recommend - Get system improvement recommendations{
"command_validation": {
"auto_recover": true,
"critical_threshold": 80,
"validate_discoverability": true,
"exclude_patterns": ["*/test/*"],
"notification_level": "warning"
}
}
{
"command_recovery": {
"strategies": ["git_history", "template_creation", "pattern_based"],
"create_backup_before_recovery": true,
"verify_after_recovery": true,
"notification_on_recovery": true
}
}