stacks-cli

Create and manage CLI commands with argument parsing in the Stacks framework.

2|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/bughq/bughq --skill stacks-cli-bughq
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stacks-cli
Source: https://github.com/bughq/bughq/tree/main/.claude/skills/stacks-cli
Command: npx skills add https://github.com/bughq/bughq --skill stacks-cli-bughq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the development of command-line interfaces by providing a structured framework for argument parsing, option handling, and standardized output, removing the boilerplate overhead of building CLI tools from scratch.

Core Features & Use Cases

  • Command Scaffolding: Quickly generate new CLI commands using the buddy system.
  • Rich Output Formatting: Utilize built-in color and styling utilities for professional terminal feedback.
  • Event-Driven Architecture: Implement custom logic using CLI event listeners and wildcard handlers for flexible command execution.

Quick Start

Use the stacks-cli skill to scaffold a new command named user-sync within the application.

Frequently Asked Questions about stacks-cli

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

FAQPage Schema
How do I build a command-line interface with TypeScript and avoid boilerplate?▼

The Stacks framework provides structured argument parsing, option handling, and standardized output for building command-line interfaces, removing the boilerplate overhead of creating CLI tools from scratch in TypeScript.

How do I scaffold new CLI commands using the buddy system?▼

You can quickly generate new CLI commands using the buddy system within the Stacks ecosystem, which supports event-driven console interactions and custom application tooling for flexible command execution.

Do I need Bun runtime to use the Stacks CLI framework?▼

Yes, you need the Bun runtime and TypeScript configuration to integrate with the @stacksjs/cli package for argument parsing and event-driven console interactions within the Stacks framework ecosystem.

What is the best way to format terminal output for custom application tooling?▼

The best way to format terminal output is using the Stacks CLI framework's built-in color and styling utilities, which provide professional terminal feedback for custom application tooling without manual formatting code.

Can I implement event listeners for CLI command execution in TypeScript?▼

Yes, you can implement custom logic using CLI event listeners and wildcard handlers within the Stacks framework, enabling flexible, event-driven command execution for your TypeScript application tooling.