cli-patterns

Community

Battle-tested CLI patterns for fast tooling

Authorvanman2024
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides battle-tested CLI patterns and templates for building reliable command-line tools across Go, TypeScript, Python, and Rust. It emphasizes simplicity, maintainability, and fast iteration for production CLIs.

Core Features & Use Cases

  • Basic CLI Structure: Single-command CLIs with flags, help text, and error handling.
  • Subcommands & Hooks: Multi-command CLIs with before/after hooks, categorization, and shared context.
  • Language Templates: Core templates and scripts for Go (urfave/cli), TypeScript (commander/oclif), Python (Click/Typer), and Rust (Clap).

Quick Start

Use this Skill to scaffold pattern templates and example CLIs, then adapt to your domain and language of choice.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cli-patterns
Download link: https://github.com/vanman2024/cli-builder/archive/main.zip#cli-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.