Refactored commands to extract reusable skills following the Commands → Skills separation pattern. Each command is now <50 lines and references skill files for detailed knowledge. Plugins refactored: - claude-config-maintainer: 5 commands → 7 skills - code-sentinel: 3 commands → 2 skills - contract-validator: 5 commands → 6 skills - data-platform: 10 commands → 6 skills - doc-guardian: 5 commands → 6 skills (replaced nested dir) - git-flow: 8 commands → 7 skills Skills contain: workflows, validation rules, conventions, reference data, tool documentation Commands now contain: YAML frontmatter, agent assignment, skills list, brief workflow steps, parameters Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.3 KiB
1.3 KiB
description
| description |
|---|
| Interactive setup wizard for contract-validator plugin |
/initial-setup - Contract-Validator Setup Wizard
Skills to Load
- skills/visual-output.md
- skills/mcp-tools-reference.md
Important: This command uses Bash, Read, Write tools - NOT MCP tools (they work only after setup + restart).
Workflow
-
Display header per
skills/visual-output.md -
Check Python version:
python3 --versionRequires 3.10+. Stop if below.
-
Locate MCP server:
- Installed:
~/.claude/plugins/marketplaces/leo-claude-mktplace/mcp-servers/contract-validator/ - Source:
~/claude-plugins-work/mcp-servers/contract-validator/
- Installed:
-
Check/create venv:
ls .venv/bin/python || (python3 -m venv .venv && .venv/bin/pip install -r requirements.txt) -
Verify MCP server:
.venv/bin/python -c "from mcp_server.server import ContractValidatorMCPServer; print('OK')" -
Display success per
skills/visual-output.md -
Inform user: Session restart required for MCP tools.
Post-Setup Commands
/validate-contracts- Full marketplace validation/check-agent- Validate single agent/list-interfaces- Show all plugin interfaces
No Configuration Required
This plugin reads plugin manifests and README files directly - no credentials needed.