unix-cli

Installation
SKILL.md

UNIX/POSIX Standards CLI Best Practices

Comprehensive guidelines for building command-line tools that follow UNIX conventions, designed for AI agents and LLMs. Contains 44 rules across 8 categories, prioritized by impact from critical (argument handling, exit codes, output streams) to incremental (configuration and environment).

When to Apply

Reference these guidelines when:

  • Writing new CLI tools in any language
  • Parsing command-line arguments and flags
  • Deciding what goes to stdout vs stderr
  • Choosing appropriate exit codes
  • Handling signals like SIGINT and SIGTERM

Rule Categories by Priority

Priority Category Impact Prefix
1 Argument & Flag Design CRITICAL args-
2 Exit Codes CRITICAL exit-
Related skills

More from pproenca/dot-skills

Installs
173
GitHub Stars
141
First Seen
Jan 25, 2026