cli-help-writer

Generate POSIX-compliant CLI help text from raw command definitions.

3|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/sunny0826/open-source-skills --skill cli-help-writer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-help-writer
Source: https://github.com/sunny0826/open-source-skills/tree/main/skills/cli-help-writer
Command: npx skills add https://github.com/sunny0826/open-source-skills --skill cli-help-writer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Transform raw, unformatted command definitions into standardized, POSIX-compliant CLI help text that developers can drop into their tools.

Core Features & Use Cases

  • Analyze inputs (commands, flags, options) and produce a cohesive help layout with Usage, Description, Commands, Options, and Examples.
  • Align option descriptions for a clean, monospaced, copy-paste friendly output suitable for inclusion in code comments or docs.
  • Support bilingual outputs via language detection (English or Chinese) to match user prompts and documentation needs.
  • Use cases include building new CLI tools, refactoring existing help output, and generating Man Page snippets.

Quick Start

Generate a clean, POSIX-compliant CLI help output from a raw list of commands and options.

Frequently Asked Questions about cli-help-writer

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

FAQPage Schema
How do I generate POSIX-compliant CLI help text from raw command definitions?

To generate POSIX-compliant CLI help text, provide your raw arguments and options to be analyzed and formatted into standardized sections like Usage, Description, Commands, and Options for clean output.

What is the best way to format and align option descriptions for terminal output?

The best way to align option descriptions for terminal output is to process raw command definitions into a monospaced layout, ensuring columns match perfectly for copy-pasting into code comments or docs.

Can I generate bilingual CLI help output with automatic language detection?

Yes, you can generate bilingual CLI help output. The system applies language-detection rules to support both English and Chinese, matching your user prompts and documentation needs automatically.

Does this approach work for creating man page snippets and refactoring existing CLI tools?

Yes, this approach works for creating man page snippets and refactoring existing CLI tools. It transforms unformatted command definitions into standardized, POSIX-compliant text suitable for manual pages.

What sections are included when formatting standardized CLI help output?

Standardized CLI help output includes Usage, Description, Commands, Options, and Examples sections. It analyzes your raw inputs to produce a cohesive, aligned layout for developers.