spencermarx avatar

V3 CLI Modernization

If you're working with claude-flow v3 and tired of a 108KB monolithic CLI file, this breaks it down into focused modules under 500 lines each while adding interactive prompts and deeper hooks integration. It introduces a command registry system with middleware stacks, fuzzy matching for typos, and decorator-based subcommands that actually feel modern. The interactive mode is solid for swarm initialization where you pick topologies and configure agents through prompts instead of remembering flags. Most useful when you're building complex workflows that need intelligent command chaining rather than bash scripts held together with duct tape. Targets sub-200ms command response times, which matters more than you'd think once your CLI grows past a dozen commands.

GitHub stars
240
last updated
Jun 11, 2026

Install

$ npx -y skills add spencermarx/open-code-review --skill 'V3 CLI Modernization' --agent claude-code

Installs into .claude/skills of the current project.

Files

V3 CLI Modernization

What This Skill Does

Modernizes claude-flow v3 CLI with interactive prompts, intelligent command decomposition, enhanced hooks integration, performance optimization, and comprehensive workflow automation capabilities.

Quick Start

# Initialize CLI modernization analysis
Task("CLI architecture", "Analyze current CLI structure and identify optimization opportunities", "cli-hooks-developer")

# Modernization implementation (parallel)
Task("Command decomposition", "Break down large CLI files into focused modules", "cli-hooks-developer")
Task("Interactive prompts", "Implement intelligent interactive CLI experience", "cli-hooks-developer")
Task("Hooks enhancement", "Deep integrate hooks with CLI lifecycle", "cli-hooks-developer")

CLI Architecture Modernization

Current State Analysis

Current CLI Issues:
├── index.ts: 108KB monolithic file
├── enterprise.ts: 68KB feature module
├── Limited interactivity: Basic command parsing
├── Hooks integration: Basic pre/post execution
└── No intelligent workflows: Manual command chaining

Sponsors

Details

Repository
github.com/spencermarx/open-code-review
Categories
Frontend Development, Git & Pull Requests, Code Review & Quality, Automation & Workflows, CLI & Terminal
License
Apache-2.0
First seen
Jun 11, 2026

More from spencermarx/open-code-review

All 31
1spences10 avatarerror-handling-patternsspences10/devhub-crmSvelte 5 error handling. Use for error boundaries, async await expressions, loading states, and form errors.0skills.sh installs
2sponsiolabs avatarconfiguresponsiolabs/sponsioUse after `/plugin install sponsio-claude-code` to wire the runtime end-to-end. The plugin install only registers hooks + skills; the contract library and per-e0skills.sh installs
3srbhr avatardesign-principlessrbhr/Resume-MatcherSwiss International Style for Resume Matcher. Invoke ONLY when designing new UI components or modifying existing component styles.0skills.sh installs
4sunbigfly avatarppt-agentsunbigfly/ppt-agent-skills专业 PPT 演示文稿全流程 AI 生成助手。模拟顶级 PPT 设计公司的完整工作流(需求调研到资料搜集到大纲策划到策划稿到设计稿),输出高质量 HTML 格式演示文稿。当用户提到制作 PPT、做演示文稿、做 slides、做幻灯片、做汇报材料、做培训课件、做路演 deck、做产品介绍页面时触发此技能。即使用户只说"帮0skills.sh installs
5telagod avatarbuilding-agent-systemstelagod/code-abyssAI agent and LLM system engineering reference covering single-agent dev (ReAct, tool calling, plan-execute), multi-agent coordination (swarm, role decomposition0skills.sh installs
6telagod avatardeveloping-mobile-appstelagod/code-abyssMobile development knowledge reference covering iOS (SwiftUI), Android (Jetpack Compose), React Native, and Flutter. Use when building mobile apps, working with0skills.sh installs