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>
71 lines
2.0 KiB
Markdown
71 lines
2.0 KiB
Markdown
# /list-interfaces - Show Plugin Interfaces
|
|
|
|
## Visual Output
|
|
|
|
When executing this command, display the plugin header:
|
|
|
|
```
|
|
┌──────────────────────────────────────────────────────────────────┐
|
|
│ ✅ CONTRACT-VALIDATOR · List Interfaces │
|
|
└──────────────────────────────────────────────────────────────────┘
|
|
```
|
|
|
|
Then proceed with the interface listing.
|
|
|
|
Display what each plugin in the marketplace produces and accepts.
|
|
|
|
## Usage
|
|
|
|
```
|
|
/list-interfaces [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
|
|
- Read each plugin's README.md
|
|
|
|
2. **Parse interfaces**:
|
|
- Extract commands (slash commands offered by plugin)
|
|
- Extract agents (autonomous agents defined)
|
|
- Extract tools (MCP tools provided)
|
|
- Identify tool categories and features
|
|
|
|
3. **Display summary**:
|
|
- Table of plugins with command/agent/tool counts
|
|
- Detailed breakdown per plugin
|
|
- Tool categories and their contents
|
|
|
|
## Output Format
|
|
|
|
```
|
|
| Plugin | Commands | Agents | Tools |
|
|
|-------------|----------|--------|-------|
|
|
| projman | 12 | 4 | 26 |
|
|
| data-platform| 7 | 2 | 32 |
|
|
| ... | ... | ... | ... |
|
|
|
|
## projman
|
|
- Commands: /sprint-plan, /sprint-start, ...
|
|
- Agents: Planner, Orchestrator, Executor, Code Reviewer
|
|
- Tools: list_issues, create_issue, ...
|
|
```
|
|
|
|
## Examples
|
|
|
|
```
|
|
/list-interfaces
|
|
/list-interfaces ~/claude-plugins-work
|
|
```
|
|
|
|
## Available Tools
|
|
|
|
Use these MCP tools:
|
|
- `parse_plugin_interface` - Parse individual plugin README
|
|
- `generate_compatibility_report` - Get full interface data (JSON format)
|