inquirer-patterns

Generate interactive CLI prompt templates for Node.js inquirer and Python questionary.

Updated Nov 11, 2025
One-click install
npx skills add https://github.com/vanman2024/cli-builder --skill inquirer-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: inquirer-patterns
Source: https://github.com/vanman2024/cli-builder/tree/main/plugins/cli-builder/skills/inquirer-patterns
Command: npx skills add https://github.com/vanman2024/cli-builder --skill inquirer-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill delivers interactive prompt patterns using inquirer (Node.js) and questionary (Python) to build rich CLI workflows.

Core Features & Use Cases

  • Text, List, Checkbox, Password prompts with validation.
  • Autocomplete & Conditional Prompts for dynamic flows.
  • Language Coverage: Node.js and Python templates with real-world examples.
  • Validation & UX: Strong UX patterns and input validation.

Quick Start

Start with a basic prompt, then add advanced prompts and validations for a guided CLI experience.

Frequently Asked Questions about inquirer-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build interactive CLI prompts with validation in Node.js?

Interactive CLI prompts with validation use inquirer to handle text, list, checkbox, and password inputs. This Skill provides reusable inquirer-pattern templates that include built-in validation logic, conditional flows, and error handling for production CLI workflows.

Can I use the same prompt patterns in Python?

Yes. This Skill covers both Node.js (inquirer) and Python (questionary) implementations, so you can apply identical prompt patterns—text, list, checkbox, password, autocomplete, and conditional questions—across both languages.

How do I handle conditional and autocomplete prompts in a CLI?

Conditional prompts show or hide questions based on previous answers, while autocomplete prompts filter options as users type. This Skill provides templates for both patterns, including dynamic field dependencies and cross-field validation to create guided workflows.

What's the best way to scaffold interactive CLI wizards?

Use reusable prompt templates for common patterns—text, list, checkbox, password, and autocomplete—organized with validation and conditional logic. This Skill includes script-based boilerplate generation and real-world wizard examples to accelerate development.

Do I need to write custom validation for each prompt?

No. This Skill provides pre-built validation patterns and examples that cover common use cases like email format, required fields, and cross-field checks, reducing custom code and ensuring consistent error handling across prompts.