Add single-line visual headers to 66 command files across 10 plugins: - clarity-assist (2 commands): 💬 - claude-config-maintainer (5 commands): ⚙️ - cmdb-assistant (11 commands): 🖥️ - code-sentinel (3 commands): 🔒 - contract-validator (5 commands): ✅ - data-platform (10 commands): 📊 - doc-guardian (5 commands): 📝 - git-flow (8 commands): 🔀 - pr-review (7 commands): 🔍 - viz-platform (10 commands): 🎨 Each command now displays a consistent header at execution start: ┌────────────────────────────────────────────────────────────────┐ │ [icon] PLUGIN-NAME · Command Description │ └────────────────────────────────────────────────────────────────┘ Addresses #275 (other plugin commands visual output) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
63 lines
2.0 KiB
Markdown
63 lines
2.0 KiB
Markdown
# /validate-contracts - Full Contract Validation
|
|
|
|
## Visual Output
|
|
|
|
When executing this command, display the plugin header:
|
|
|
|
```
|
|
┌──────────────────────────────────────────────────────────────────┐
|
|
│ ✅ CONTRACT-VALIDATOR · Full Validation │
|
|
└──────────────────────────────────────────────────────────────────┘
|
|
```
|
|
|
|
Then proceed with the validation.
|
|
|
|
Run comprehensive cross-plugin compatibility validation for the entire marketplace.
|
|
|
|
## Usage
|
|
|
|
```
|
|
/validate-contracts [marketplace_path]
|
|
```
|
|
|
|
## Parameters
|
|
|
|
- `marketplace_path` (optional): Path to marketplace root. Defaults to current project root.
|
|
|
|
## Workflow
|
|
|
|
1. **Discover plugins**:
|
|
- Scan plugins directory for all plugins with `.claude-plugin/` marker
|
|
- Parse each plugin's README.md to extract interface
|
|
|
|
2. **Run compatibility checks**:
|
|
- Perform pairwise compatibility validation between all plugins
|
|
- Check for command name conflicts
|
|
- Check for tool name overlaps
|
|
- Identify interface mismatches
|
|
|
|
3. **Validate CLAUDE.md agents**:
|
|
- Parse agent definitions from CLAUDE.md
|
|
- Validate all tool references exist
|
|
- Check data flow through agent sequences
|
|
|
|
4. **Generate report**:
|
|
- Summary statistics (plugins, commands, tools, issues)
|
|
- Detailed findings by severity (error, warning, info)
|
|
- Actionable suggestions for each issue
|
|
|
|
## Examples
|
|
|
|
```
|
|
/validate-contracts
|
|
/validate-contracts ~/claude-plugins-work
|
|
```
|
|
|
|
## Available Tools
|
|
|
|
Use these MCP tools:
|
|
- `generate_compatibility_report` - Generate full marketplace report
|
|
- `list_issues` - Filter issues by severity or type
|
|
- `parse_plugin_interface` - Parse individual plugin interface
|
|
- `validate_compatibility` - Check two plugins for conflicts
|