cli

Design and guide modern CLI tool creation in TypeScript or Go.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/alexanderchan/cli-skill --skill cli-alexanderchan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli
Source: https://github.com/alexanderchan/cli-skill/tree/main
Command: npx skills add https://github.com/alexanderchan/cli-skill --skill cli-alexanderchan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing and building modern CLI tools across different stacks can be overwhelming without a cohesive blueprint. This guide helps you choose between TypeScript (Node.js or Bun) or Go, plan configuration, safety patterns, and distribution strategies to deliver production-ready CLIs.

Core Features & Use Cases

  • Stack selection guidance for TypeScript with Node.js, TypeScript with Bun, or Go.
  • Built-in patterns for safety, confirmations, dry-run, and robust configuration management.
  • Distribution setup guidance for npm packages or standalone binaries, with build and release considerations.

Quick Start

Generate a new CLI using this skill to outline stack, config, and safety defaults.

Frequently Asked Questions about cli

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

FAQPage Schema
How do I build a modern CLI tool using TypeScript or Go?

Building a modern CLI tool involves selecting a stack like TypeScript with Node.js, TypeScript with Bun, or Go, then configuring build settings, safety patterns, and distribution methods for npm packages or standalone binaries.

What is the best way to structure a CLI project for both interactive and non-interactive modes?

Structuring a CLI project for interactive and non-interactive modes requires implementing specific safety patterns, confirmations, and dry-run support, which this skill outlines alongside robust configuration management defaults.

Should I choose TypeScript with Bun or Go for my next CLI application?

Choosing between TypeScript with Bun or Go for a CLI application depends on your stack preferences; this skill provides comparative selection guidance and outlines build configurations and distribution setups for both approaches.

How do I set up release automation workflows for a standalone binary CLI?

Setting up release automation workflows for a standalone binary CLI is supported by this skill through distribution setup guidance, which covers build considerations and release strategies for production-ready tools.

What safety patterns should I include when scaffolding a new CLI tool?

When scaffolding a new CLI tool, you should include built-in safety patterns such as user confirmations, dry-run support, and robust configuration management to ensure secure and predictable command execution.