CreateCLI

Generate TypeScript CLIs with argument parsing and documentation.

12|Updated Aug 16, 2019
One-click install
npx skills add https://github.com/phatblat/dotfiles --skill createcli-phatblat
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: CreateCLI
Source: https://github.com/phatblat/dotfiles/tree/main/.claude/skills/CreateCLI
Command: npx skills add https://github.com/phatblat/dotfiles --skill createcli-phatblat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the creation of production-ready TypeScript command-line interfaces, transforming requirements into functional tools with comprehensive documentation and adherence to best practices.

Core Features & Use Cases

  • Automated CLI Generation: Creates CLIs from simple requests, handling everything from argument parsing to documentation.
  • Tiered Complexity: Supports simple CLIs (Tier 1, llcli-style) and more complex ones (Tier 2, Commander.js).
  • Use Case: Generate a CLI tool to interact with a new internal API, complete with help messages, configuration, and examples, in minutes instead of hours.

Quick Start

Use the CreateCLI skill to generate a new CLI tool for the GitHub API.

Frequently Asked Questions about CreateCLI

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

FAQPage Schema
How do I generate a TypeScript CLI from scratch?▼

Generate a TypeScript CLI by providing your requirements to the CreateCLI skill, which outputs production-ready command-line tools with argument parsing, type safety, and documentation.

What is the difference between manual parsing and Commander.js for CLIs?▼

Manual parsing creates zero-dependency CLIs for simple use cases, while Commander.js supports more complex command-line tools requiring advanced argument parsing and tiered complexity management.

Does this CLI generator include error handling and help messages?▼

Yes, this CLI generator includes error handling and automated documentation generation, ensuring production-ready tools have comprehensive help messages and adhere to CLI-First Architecture principles.

Can I use this to build a command-line tool for an internal API?▼

Yes, you can generate a CLI tool to interact with an internal API, complete with help messages, configuration, and examples, in minutes instead of hours.

When should I choose a zero-dependency CLI over Commander.js?▼

Choose a zero-dependency CLI for simple, lightweight tools requiring no external packages, and choose Commander.js when your command-line tool needs complex argument parsing and multi-tier architecture.