Updated: - projman: 4 commands + 4 skills + integration snippet - git-flow: 4 commands + 3 skills + integration snippet - pr-review: 1 command cross-reference - cmdb-assistant: 1 command + 1 skill - data-platform: 8 commands + integration snippet - viz-platform: 11 commands + integration snippet - contract-validator: 1 command + 1 skill + 1 agent Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
3.0 KiB
3.0 KiB
description
| description |
|---|
| Configure projman - full setup, quick project init, or sync after repo move |
PM Setup
Skills Required
- skills/mcp-tools-reference.md
- skills/repo-validation.md
- skills/setup-workflows.md
Purpose
Unified setup command for all configuration needs.
Important:
- Uses Bash, Read, Write, AskUserQuestion - NOT MCP tools
- MCP tools won't work until after setup + session restart
- Tokens must be entered manually for security
Invocation
/pm-setup # Auto-detect appropriate mode
/pm-setup --full # Full wizard (MCP + system + project)
/pm-setup --quick # Project-only setup
/pm-setup --sync # Update after repo move
/pm-setup --clear-cache # Clear plugin cache (between sessions only)
Mode Detection
If no argument provided, auto-detect:
-
Check
~/.config/claude/gitea.env- Missing → full mode
-
Check project
.env- Missing → quick mode
-
Compare
.envwith git remote- Mismatch → sync mode
- Match → offer reconfigure or exit
Mode: Full
Execute skills/setup-workflows.md → Full Setup Workflow
Phases:
- Environment validation (Python 3.10+)
- MCP server setup (venv + requirements)
- System-level config (
~/.config/claude/gitea.env) - Project-level config (
.env) - Final validation
Mode: Quick
Execute skills/setup-workflows.md → Quick Setup Workflow
Steps:
- Verify system config exists
- Verify git repository
- Check existing
.env - Detect org/repo from git remote
- Validate via API
- Create/update
.env - Check
.gitignore
Mode: Sync
Execute skills/setup-workflows.md → Sync Workflow
Steps:
- Read current config
- Detect git remote
- Compare values
- Show changes
- Validate new values
- Update
.env - Confirm
Mode: Clear Cache (--clear-cache)
Clear plugin cache to force fresh configuration reload.
WARNING: Only run between sessions, never mid-session. Clearing cache mid-session destroys MCP tool venv paths and breaks all MCP operations.
Steps:
- Execute:
rm -rf ~/.claude/plugins/cache/leo-claude-mktplace/ - Inform user: "Cache cleared. Restart Claude Code for changes to take effect."
When to use:
- After updating the marketplace (
git pullor reinstall) - When MCP servers show stale configuration
- When plugin changes don't take effect
Visual Output
╔══════════════════════════════════════════════════════════════════╗
║ 📋 PROJMAN ║
║ ⚙️ SETUP ║
║ [Mode: Full | Quick | Sync] ║
╚══════════════════════════════════════════════════════════════════╝