---
Adds interactive prompt capabilities to CLI tools with validation and conditional logic.
/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 interactive prompt capabilities to CLI tool, launching parallel agents for 3+ prompt types.
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 prompt types to implement
Actions:
Phase 3: Detect Existing CLI Framework Goal: Identify the framework and language
Actions:
Phase 4: Gather Requirements (for all prompt types) Goal: Collect specifications
Actions:
Phase 5: Launch Agent(s) for Implementation Goal: Delegate to cli-feature-impl agent(s)
Actions:
Decision: 1-2 prompt types = single/sequential agents, 3+ prompt types = PARALLEL agents
For 1-2 Prompt Types:
Task( description="Add interactive prompts to CLI", subagent_type="cli-tool-builder:cli-feature-impl", prompt="You are cli-feature-impl. Add interactive prompt capabilities to the CLI.
Framework: {detected_framework} Language: {detected_language}
Prompt Type: {prompt_type} Requirements:
Use Skill(cli-tool-builder:{framework}-patterns) for patterns. Use Skill(cli-tool-builder:inquirer-patterns) for interactive prompt patterns. Generate prompt code, validation, example files.
Deliverable: Working interactive prompts integrated into CLI" )
For 3+ Prompt Types - CRITICAL: Send ALL Task() calls in ONE MESSAGE:
Task(description="Add prompt type 1", subagent_type="cli-tool-builder:cli-feature-impl", prompt="Add interactive prompt for '{type_1}'. Framework: {framework} Language: {language} Prompt type: {type_1} Validation: {validation_1} Use Skill(cli-tool-builder:inquirer-patterns). Deliverable: Interactive prompt code for {type_1}")
Task(description="Add prompt type 2", subagent_type="cli-tool-builder:cli-feature-impl", prompt="Add interactive prompt for '{type_2}'. Framework: {framework} Language: {language} Prompt type: {type_2} Validation: {validation_2} Use Skill(cli-tool-builder:inquirer-patterns). Deliverable: Interactive prompt code for {type_2}")
Task(description="Add prompt type 3", subagent_type="cli-tool-builder:cli-feature-impl", prompt="Add interactive prompt for '{type_3}'. Framework: {framework} Language: {language} Prompt type: {type_3} Validation: {validation_3} Use Skill(cli-tool-builder:inquirer-patterns). Deliverable: Interactive prompt code for {type_3}")
[Continue for all N prompt types...]
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 prompt types were added
Actions:
Phase 7: Summary Goal: Report results and next steps
Actions: