---
Orchestrates adding argument parsing to CLI tools with parallel agent execution for multiple features.
/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 adding argument parsing features to CLI tool, launching parallel agents for 3+ parsing features.
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 parsing features to implement
Actions:
Phase 3: Detect Existing CLI Framework Goal: Identify the framework to match patterns
Actions:
Phase 4: Gather Requirements (for all parsing features) Goal: Collect specifications
Actions:
Phase 5: Launch Agent(s) for Implementation Goal: Delegate to cli-feature-impl agent(s)
Actions:
Decision: 1-2 features = single/sequential agents, 3+ features = PARALLEL agents
For 1-2 Parsing Features:
Task( description="Add argument parsing to CLI", subagent_type="cli-tool-builder:cli-feature-impl", prompt="You are cli-feature-impl. Add comprehensive argument parsing to the CLI.
Framework: {detected_framework} Language: {detected_language}
Parsing Features: {features} Requirements:
Use Skill(cli-tool-builder:{framework}-patterns) for patterns. Generate argument parsing code, validators, help text.
Deliverable: Working argument parsing integrated into CLI" )
For 3+ Parsing Features - CRITICAL: Send ALL Task() calls in ONE MESSAGE:
Task(description="Add parsing feature 1", subagent_type="cli-tool-builder:cli-feature-impl", prompt="Add argument parsing feature '{feature_1}'. Framework: {framework} Language: {language} Feature type: {feature_1} Validation: {validation_1} Use Skill(cli-tool-builder:{framework}-patterns). Deliverable: Argument parsing code for {feature_1}")
Task(description="Add parsing feature 2", subagent_type="cli-tool-builder:cli-feature-impl", prompt="Add argument parsing feature '{feature_2}'. Framework: {framework} Language: {language} Feature type: {feature_2} Validation: {validation_2} Use Skill(cli-tool-builder:{framework}-patterns). Deliverable: Argument parsing code for {feature_2}")
Task(description="Add parsing feature 3", subagent_type="cli-tool-builder:cli-feature-impl", prompt="Add argument parsing feature '{feature_3}'. Framework: {framework} Language: {language} Feature type: {feature_3} Validation: {validation_3} Use Skill(cli-tool-builder:{framework}-patterns). Deliverable: Argument parsing code for {feature_3}")
[Continue for all N parsing features...]
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 parsing features were added
Actions:
Phase 7: Summary Goal: Report results and next steps
Actions: