ink-tui-wizard

Create interactive Ink-based wizard interfaces for Node.js CLI applications.

180|40|Updated Feb 25, 2025
One-click install
npx skills add https://github.com/PostHog/wizard --skill ink-tui-wizard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ink-tui-wizard
Source: https://github.com/PostHog/wizard/tree/main/.claude/skills/ink-tui
Command: npx skills add https://github.com/PostHog/wizard --skill ink-tui-wizard

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Ink-based TUIs help developers create immersive, interactive terminal installation wizards and setup flows with a reactive, session-driven architecture.

Core Features & Use Cases

  • Reactive session management, with a WizardSession, WizardRouter, and a screen registry to drive multi-step CLI flows.
  • Declarative screen flow with overlays for interruptions, and injectable services to keep components testable.
  • Real-world use: building CLI installers that guide users through configuration with real-time progress and error handling.

Quick Start

Install and run in a Node.js project to boot a guided setup flow with Ink.

Frequently Asked Questions about ink-tui-wizard

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

FAQPage Schema
How do I build a multi-step interactive CLI wizard in Node.js?

Build an interactive CLI wizard using Ink with a reactive session-driven architecture. A centralized store, screen registry, and router manage multi-step flows, overlays for interruptions, and injectable services to keep components testable.

Does Ink support reactive routing and centralized state management for terminal applications?

Ink supports reactive routing and centralized state management for terminal applications through a WizardSession and WizardRouter. This architecture drives multi-step CLI flows while maintaining a screen registry and injectable services for testability.

What is the best way to create a guided installation flow with real-time progress in a terminal?

Create a guided installation flow in a terminal using an Ink-based wizard. It provides a reactive, session-driven architecture with declarative screen flows and overlays to handle real-time progress, errors, and user interactions.

Can I handle interruptions and errors in an interactive terminal setup wizard?

Handle interruptions and errors in an interactive terminal setup wizard using declarative screen flows with overlays. The reactive architecture manages these interruptions while injectable services ensure components remain testable.

How does a centralized store and screen registry work in a Node.js TUI wizard?

A centralized store and screen registry drive multi-step CLI flows in a Node.js TUI wizard. The WizardRouter manages navigation between screens, while the store maintains reactive state across the session.

Do I need React experience to build Ink-based CLIs with a wizard?

React experience is helpful to build Ink-based CLIs with a wizard, as the architecture uses declarative screen flows and reactive components. Injectable services keep components testable within the terminal environment.