Unix Cli
Reference guidelines for building UNIX-style command-line tools with POSIX conventions, exit codes, and stream handling.
- CCM score
- 50 of 100
- skills.sh installs
- 337
- GitHub stars
- 228
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers 44 rules across 8 categories, from argument design and exit codes to signals and configuration, ordered by impact
- Includes per-rule reference files with explanations and code examples, plus category definitions and a template for new rules
- Guides decisions on stdout versus stderr,
NO_COLORsupport, XDG config paths, and handling of SIGINT, SIGTERM, and SIGPIPE - Designed for writing, reviewing, or designing CLI tools that must integrate cleanly with the UNIX tool chain
Install
$ npx -y skills add pproenca/dot-skills --skill unix-cli -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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- |
| 3 | Output Streams | CRITICAL | output- |
| 4 | Error Handling | HIGH | error- |
| 5 | I/O & Composition | HIGH | io- |
| 6 | Help & Documentation | MEDIUM-HIGH | help- |
| 7 | Signals & Robustness | MEDIUM | signal- |
| 8 | Configuration & Environment | MEDIUM | config- |
Quick Reference
1. Argument & Flag Design (CRITICAL)
Details
- Repository
- github.com/pproenca/dot-skills
- Category
- CLI & Terminal
- First seen
- Jun 3, 2026
Questions
What does the unix-cli skill do?
The unix-cli skill gives UNIX command-line interface guidelines for building tools that follow POSIX conventions, proper exit codes, stream handling, and the UNIX philosophy. It covers 44 rules across eight categories, from argument and flag design to signals and configuration.
Who should use the unix-cli skill and when does it apply?
The unix-cli skill is for developers and AI agents writing, reviewing, or designing command-line tools in any language. It applies to tasks involving command-line arguments, exit codes, stdout and stderr, signals, or shell scripts.
How do I install the unix-cli skill?
Run npx -y skills add pproenca/dot-skills --skill unix-cli -y in your project. After that, the agent can apply the unix-cli rules when it writes or reviews CLI code, such as choosing exit codes and deciding what goes to stdout versus stderr.
Where does unix-cli stand in the CLI and Terminal category?
The unix-cli skill is listed in the CLI and Terminal category on Claude Marketplaces, alongside herdr, gws-shared, opentui, cf-cli and pnpm. It stands apart by focusing on POSIX conventions and how tools fit the UNIX tool chain.
More from pproenca/dot-skills
All 100- 12 Factor App336
- Rust Refactor334
- Python332
- Ios Design System331
- Js Google327
- Tailwind Refactor324
- Pulumi320
- Harness Engineering315
- Ios Hig313
- Rails Testing312
- Ios Xcode310
- Ruby Refactor310
- Think310
- Restful Hateoas307
- Ios Ui Refactor303
- Rails Dev302
- Swift Optimise296
- Ruby Optimise295
- Ios Testing292
- Swift Refactor292
- Dev Rfc289
- Ios Taste286
- Swift Ui Architect286
- Ios Storyboard280
Similar to Unix Cli
More CLI & Terminalshellpproenca/dot-skills717 installsShell scripting guide of 49 rules for safe, portable, and maintainable bash and POSIX sh scripts.
dart-build-cli-appdart-lang/skills20.2K installsStructured guide for building Dart command-line apps: entrypoints, exit codes, output routing, and argument parsing.
domain-cliactionbook/rust-skills3.6K installsDomain guide for building Rust CLI tools, covering argument parsing, config layering, and terminal output conventions.
cli-developerjeffallan/claude-skills5.3K installsGuide for building command-line tools with commander, click, typer, or cobra, covering argument parsing and UX.
posix-shell-prosickn33/agentic-awesome-skills250 installsStrict POSIX sh scripting guide that keeps shell scripts portable across dash, ash, and bash --posix.