Files
leo-claude-mktplace/plugins/contract-validator/commands/initial-setup.md
lmiranda 7c8a20c804 refactor: extract skills from commands across 8 plugins
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>
2026-01-30 17:32:24 -05:00

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

  1. Display header per skills/visual-output.md

  2. Check Python version:

    python3 --version
    

    Requires 3.10+. Stop if below.

  3. Locate MCP server:

    • Installed: ~/.claude/plugins/marketplaces/leo-claude-mktplace/mcp-servers/contract-validator/
    • Source: ~/claude-plugins-work/mcp-servers/contract-validator/
  4. Check/create venv:

    ls .venv/bin/python || (python3 -m venv .venv && .venv/bin/pip install -r requirements.txt)
    
  5. Verify MCP server:

    .venv/bin/python -c "from mcp_server.server import ContractValidatorMCPServer; print('OK')"
    
  6. Display success per skills/visual-output.md

  7. 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.