Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

unix-cli

БесплатноБез исполняемых скриптовНе проверен

UNIX command-line interface guidelines for building tools that follow POSIX conventions, proper exit codes, stream handling, and the UNIX philosophy. This…

pproencaот pproenca★ 231 звезда на GitHub

Об этом скилле

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)

2. Exit Codes (CRITICAL)

3. Output Streams (CRITICAL)

4. Error Handling (HIGH)

5. I/O & Composition (HIGH)

6. Help & Documentation (MEDIUM-HIGH)

7. Signals

Полный SKILL.md на GitHub

Установить unix-cli в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/args-never-read-secrets-from-flags.mdreferences/args-prefer-flags-over-positional.mdreferences/args-provide-long-options.mdreferences/args-require-help-version.mdreferences/args-support-double-dash.mdreferences/args-support-option-bundling.mdreferences/args-use-getopt.mdreferences/args-use-standard-flag-names.mdreferences/config-env-naming.mdreferences/config-follow-xdg.mdreferences/config-never-store-secrets.mdreferences/config-precedence-order.mdreferences/config-respect-standard-vars.mdreferences/error-actionable-messages.mdreferences/error-avoid-stack-traces.mdreferences/error-include-program-name.mdreferences/error-use-strerror.mdreferences/error-validate-early.mdreferences/exit-distinguish-error-types.mdreferences/exit-partial-success.mdreferences/exit-signal-codes.mdreferences/exit-use-standard-codes.mdreferences/exit-zero-for-success.mdreferences/help-include-examples.mdreferences/help-show-defaults.mdreferences/help-show-usage-on-error.mdreferences/help-structure-help-output.mdreferences/help-version-format.mdreferences/io-atomic-writes.mdreferences/io-be-stateless.mdreferences/io-handle-binary-safely.mdreferences/io-handle-multiple-files.mdreferences/io-support-stdin.mdreferences/io-write-to-stdout.mdreferences/output-detect-tty.mdreferences/output-line-based-text.mdreferences/output-provide-machine-format.md

FAQ

Что делает скилл unix-cli?

UNIX command-line interface guidelines for building tools that follow POSIX conventions, proper exit codes, stream handling, and the UNIX philosophy. This skill should be used when writing, reviewing, or designing CLI tools to ensure they integrate properly with the UNIX tool chain. Triggers on tasks involving CLI tools, command-line arguments, exit codes, stdout/stderr, signals, or shell scripts.

Как установить скилл unix-cli?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл unix-cli запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить unix-cli с