feat(marketplace): command consolidation + 8 new plugins (v8.1.0 → v9.0.0) [BREAKING]
Phase 1b: Rename all ~94 commands across 12 plugins to /<noun> <action> sub-command pattern. Git-flow consolidated from 8→5 commands (commit variants absorbed into --push/--merge/--sync flags). Dispatch files, name: frontmatter, and cross-reference updates for all plugins. Phase 2: Design documents for 8 new plugins in docs/designs/. Phase 3: Scaffold 8 new plugins — saas-api-platform, saas-db-migrate, saas-react-platform, saas-test-pilot, data-seed, ops-release-manager, ops-deploy-pipeline, debug-mcp. Each with plugin.json, commands, agents, skills, README, and claude-md-integration. Marketplace grows from 12→20. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -91,7 +91,7 @@ You are an agent definition validator. Your role is to verify that a specific ag
|
||||
|
||||
## Example Interaction
|
||||
|
||||
**User**: /check-agent Orchestrator
|
||||
**User**: /cv check-agent Orchestrator
|
||||
|
||||
**Agent**:
|
||||
1. Parses CLAUDE.md, finds Orchestrator agent
|
||||
@@ -101,7 +101,7 @@ You are an agent definition validator. Your role is to verify that a specific ag
|
||||
5. Validates data flow: no data producers/consumers used
|
||||
6. Reports: "Agent Orchestrator: VALID - all 3 tool references found"
|
||||
|
||||
**User**: /check-agent InvalidAgent
|
||||
**User**: /cv check-agent InvalidAgent
|
||||
|
||||
**Agent**:
|
||||
1. Parses CLAUDE.md, agent not found
|
||||
|
||||
@@ -93,7 +93,7 @@ You are a contract validation specialist. Your role is to perform comprehensive
|
||||
|
||||
## Example Interaction
|
||||
|
||||
**User**: /validate-contracts ~/claude-plugins-work
|
||||
**User**: /cv validate ~/claude-plugins-work
|
||||
|
||||
**Agent**:
|
||||
1. Discovers 12 plugins in marketplace
|
||||
|
||||
@@ -13,15 +13,15 @@ This marketplace uses the contract-validator plugin for cross-plugin compatibili
|
||||
|
||||
| Command | Purpose |
|
||||
|---------|---------|
|
||||
| `/validate-contracts` | Full marketplace compatibility validation |
|
||||
| `/check-agent` | Validate single agent definition |
|
||||
| `/list-interfaces` | Show all plugin interfaces |
|
||||
| `/cv validate` | Full marketplace compatibility validation |
|
||||
| `/cv check-agent` | Validate single agent definition |
|
||||
| `/cv list-interfaces` | Show all plugin interfaces |
|
||||
|
||||
### Validation Workflow
|
||||
|
||||
Run before merging plugin changes:
|
||||
|
||||
1. `/validate-contracts` - Check for conflicts
|
||||
1. `/cv validate` - Check for conflicts
|
||||
2. Review errors (must fix) and warnings (should review)
|
||||
3. Fix issues before merging
|
||||
|
||||
@@ -91,7 +91,7 @@ Avoid generic names that may conflict:
|
||||
| `/setup` | Setup wizard |
|
||||
|
||||
# GOOD - Plugin-specific prefix
|
||||
| `/data-setup` | Data platform setup wizard |
|
||||
| `/data setup` | Data platform setup wizard |
|
||||
```
|
||||
|
||||
### Document All Tools
|
||||
@@ -125,20 +125,20 @@ This agent uses tools from:
|
||||
|
||||
```
|
||||
# Before merging new plugin
|
||||
/validate-contracts
|
||||
/cv validate
|
||||
|
||||
# Check specific agent after changes
|
||||
/check-agent Orchestrator
|
||||
/cv check-agent Orchestrator
|
||||
```
|
||||
|
||||
### Plugin Development
|
||||
|
||||
```
|
||||
# See what interfaces exist
|
||||
/list-interfaces
|
||||
/cv list-interfaces
|
||||
|
||||
# After adding new command, verify no conflicts
|
||||
/validate-contracts
|
||||
/cv validate
|
||||
```
|
||||
|
||||
### CI/CD Integration
|
||||
@@ -148,5 +148,5 @@ Add to your pipeline:
|
||||
```yaml
|
||||
- name: Validate Plugin Contracts
|
||||
run: |
|
||||
claude --skill contract-validator:validate-contracts --args "${{ github.workspace }}"
|
||||
claude --skill contract-validator:cv-validate --args "${{ github.workspace }}"
|
||||
```
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
# /check-agent - Validate Agent Definition
|
||||
---
|
||||
name: cv check-agent
|
||||
---
|
||||
|
||||
# /cv check-agent
|
||||
|
||||
## Skills to Load
|
||||
- skills/visual-output.md
|
||||
@@ -9,7 +13,7 @@
|
||||
## Usage
|
||||
|
||||
```
|
||||
/check-agent <agent_name> [claude_md_path]
|
||||
/cv check-agent <agent_name> [claude_md_path]
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@@ -38,7 +42,7 @@
|
||||
## Examples
|
||||
|
||||
```
|
||||
/check-agent Planner
|
||||
/check-agent Orchestrator ./CLAUDE.md
|
||||
/check-agent data-analysis ~/project/CLAUDE.md
|
||||
/cv check-agent Planner
|
||||
/cv check-agent Orchestrator ./CLAUDE.md
|
||||
/cv check-agent data-analysis ~/project/CLAUDE.md
|
||||
```
|
||||
@@ -1,4 +1,8 @@
|
||||
# /dependency-graph - Generate Dependency Visualization
|
||||
---
|
||||
name: cv dependency-graph
|
||||
---
|
||||
|
||||
# /cv dependency-graph
|
||||
|
||||
## Skills to Load
|
||||
- skills/visual-output.md
|
||||
@@ -10,7 +14,7 @@
|
||||
## Usage
|
||||
|
||||
```
|
||||
/dependency-graph [marketplace_path] [--format <mermaid|text>] [--show-tools]
|
||||
/cv dependency-graph [marketplace_path] [--format <mermaid|text>] [--show-tools]
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@@ -41,15 +45,15 @@
|
||||
## Examples
|
||||
|
||||
```
|
||||
/dependency-graph
|
||||
/dependency-graph --show-tools
|
||||
/dependency-graph --format text
|
||||
/dependency-graph ~/claude-plugins-work
|
||||
/cv dependency-graph
|
||||
/cv dependency-graph --show-tools
|
||||
/cv dependency-graph --format text
|
||||
/cv dependency-graph ~/claude-plugins-work
|
||||
```
|
||||
|
||||
## Integration
|
||||
|
||||
Use with `/validate-contracts`:
|
||||
1. Run `/dependency-graph` to visualize
|
||||
2. Run `/validate-contracts` to find issues
|
||||
Use with `/cv validate`:
|
||||
1. Run `/cv dependency-graph` to visualize
|
||||
2. Run `/cv validate` to find issues
|
||||
3. Fix and regenerate
|
||||
@@ -1,4 +1,8 @@
|
||||
# /list-interfaces - Show Plugin Interfaces
|
||||
---
|
||||
name: cv list-interfaces
|
||||
---
|
||||
|
||||
# /cv list-interfaces
|
||||
|
||||
## Skills to Load
|
||||
- skills/visual-output.md
|
||||
@@ -9,7 +13,7 @@
|
||||
## Usage
|
||||
|
||||
```
|
||||
/list-interfaces [marketplace_path]
|
||||
/cv list-interfaces [marketplace_path]
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@@ -41,6 +45,6 @@
|
||||
## Examples
|
||||
|
||||
```
|
||||
/list-interfaces
|
||||
/list-interfaces ~/claude-plugins-work
|
||||
/cv list-interfaces
|
||||
/cv list-interfaces ~/claude-plugins-work
|
||||
```
|
||||
@@ -1,8 +1,9 @@
|
||||
---
|
||||
name: cv setup
|
||||
description: Interactive setup wizard for contract-validator plugin
|
||||
---
|
||||
|
||||
# /cv-setup - Contract Validator Setup Wizard
|
||||
# /cv setup
|
||||
|
||||
## Skills to Load
|
||||
- skills/visual-output.md
|
||||
@@ -40,9 +41,9 @@ description: Interactive setup wizard for contract-validator plugin
|
||||
|
||||
## Post-Setup Commands
|
||||
|
||||
- `/validate-contracts` - Full marketplace validation
|
||||
- `/check-agent` - Validate single agent
|
||||
- `/list-interfaces` - Show all plugin interfaces
|
||||
- `/cv validate` - Full marketplace validation
|
||||
- `/cv check-agent` - Validate single agent
|
||||
- `/cv list-interfaces` - Show all plugin interfaces
|
||||
|
||||
## No Configuration Required
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
---
|
||||
name: cv status
|
||||
description: Marketplace-wide health check across all installed plugins
|
||||
---
|
||||
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
# /validate-contracts - Full Contract Validation
|
||||
---
|
||||
name: cv validate
|
||||
---
|
||||
|
||||
# /cv validate
|
||||
|
||||
## Skills to Load
|
||||
- skills/visual-output.md
|
||||
@@ -10,7 +14,7 @@
|
||||
## Usage
|
||||
|
||||
```
|
||||
/validate-contracts [marketplace_path]
|
||||
/cv validate [marketplace_path]
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@@ -40,6 +44,6 @@
|
||||
## Examples
|
||||
|
||||
```
|
||||
/validate-contracts
|
||||
/validate-contracts ~/claude-plugins-work
|
||||
/cv validate
|
||||
/cv validate ~/claude-plugins-work
|
||||
```
|
||||
18
plugins/contract-validator/commands/cv.md
Normal file
18
plugins/contract-validator/commands/cv.md
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
description: Cross-plugin compatibility validation
|
||||
---
|
||||
|
||||
# /cv
|
||||
|
||||
Cross-plugin compatibility validation and agent verification.
|
||||
|
||||
## Sub-commands
|
||||
|
||||
| Sub-command | Description |
|
||||
|-------------|-------------|
|
||||
| `/cv validate` | Full marketplace compatibility validation |
|
||||
| `/cv check-agent` | Validate single agent definition |
|
||||
| `/cv list-interfaces` | Show all plugin interfaces |
|
||||
| `/cv dependency-graph` | Mermaid visualization of plugin dependencies |
|
||||
| `/cv setup` | Setup wizard for contract-validator MCP |
|
||||
| `/cv status` | Marketplace-wide health check |
|
||||
@@ -65,6 +65,6 @@ Available MCP tools for contract-validator operations.
|
||||
## Error Handling
|
||||
|
||||
If MCP tools fail:
|
||||
1. Check if `/cv-setup` has been run
|
||||
1. Check if `/cv setup` has been run
|
||||
2. Verify session was restarted after setup
|
||||
3. Check MCP server venv exists and is valid
|
||||
|
||||
Reference in New Issue
Block a user