---
Orchestrates multi-platform CLI package distribution setup with parallel agent deployment.
/plugin marketplace add vanman2024/cli-builder/plugin install cli-builder@cli-builderšØ EXECUTION NOTICE FOR CLAUDE
When you invoke this command via SlashCommand, the system returns THESE INSTRUCTIONS below.
YOU are the executor. This is NOT an autonomous subprocess.
Immediately after SlashCommand returns, start executing Phase 0, then Phase 1, etc.
See @CLAUDE.md section "SlashCommand Execution - YOU Are The Executor" for detailed explanation.
Arguments: $ARGUMENTS
Goal: Orchestrate setting up distribution packaging for CLI tool, launching parallel agents for 3+ platforms.
Architectural Context:
This command is an orchestrator that:
Phase 1: Load Architectural Framework Goal: Understand composition and parallelization patterns
Actions:
Phase 2: Parse Arguments & Determine Mode Goal: Count how many distribution platforms to configure
Actions:
Phase 3: Detect Existing CLI Framework Goal: Identify the framework and language
Actions:
Phase 4: Gather Requirements (for all platforms) Goal: Collect specifications
Actions:
Phase 5: Launch Agent(s) for Implementation Goal: Delegate to cli-feature-impl agent(s)
Actions:
Decision: 1-2 platforms = single/sequential agents, 3+ platforms = PARALLEL agents
For 1-2 Distribution Platforms:
Task( description="Add package distribution to CLI", subagent_type="cli-tool-builder:cli-feature-impl", prompt="You are cli-feature-impl. Add distribution packaging to the CLI.
Framework: {detected_framework} Language: {detected_language}
Distribution Platforms: {platforms} Requirements:
Use Skill(cli-tool-builder:{framework}-patterns) for patterns. Generate package configuration, release workflows, installation docs.
Deliverable: Working package distribution setup for CLI" )
For 3+ Distribution Platforms - CRITICAL: Send ALL Task() calls in ONE MESSAGE:
Task(description="Add platform 1", subagent_type="cli-tool-builder:cli-feature-impl", prompt="Add distribution packaging for '{platform_1}'. Framework: {framework} Language: {language} Platform: {platform_1} Tool name: {tool_name} Version: {version} Use Skill(cli-tool-builder:{framework}-patterns). Deliverable: Package config for {platform_1}")
Task(description="Add platform 2", subagent_type="cli-tool-builder:cli-feature-impl", prompt="Add distribution packaging for '{platform_2}'. Framework: {framework} Language: {language} Platform: {platform_2} Tool name: {tool_name} Version: {version} Use Skill(cli-tool-builder:{framework}-patterns). Deliverable: Package config for {platform_2}")
Task(description="Add platform 3", subagent_type="cli-tool-builder:cli-feature-impl", prompt="Add distribution packaging for '{platform_3}'. Framework: {framework} Language: {language} Platform: {platform_3} Tool name: {tool_name} Version: {version} Use Skill(cli-tool-builder:{framework}-patterns). Deliverable: Package config for {platform_3}")
[Continue for all N platforms...]
DO NOT wait between Task() calls - send them ALL at once!
Agents run in parallel. Proceed to Phase 6 only after ALL complete.
Phase 6: Verification Goal: Confirm all platforms were configured
Actions:
Phase 7: Summary Goal: Report results and next steps
Actions: