Unix CLI Best Practices

•
3.1k
•

Executes safe, portable, and high-performance Unix command-line operations across macOS and BSD environments.

This skill guides Claude Code to formulate efficient, robust command-line workflows using modern high-performance utilities like ripgrep and fd alongside native macOS/BSD Unix tools including grep, find, sed, awk, and xargs. It prevents common pitfalls such as inefficient filesystem traversal, unhandled filename spaces, and GNU vs. BSD syntax incompatibilities, ensuring code search, text processing, and batch script executions run safely and at peak speed.

主な機能

01Leverages high-speed modern alternatives like ripgrep and fd with .gitignore awareness
02Executes safe null-terminated pipelines and parallel workloads with xargs
03Handles BSD sed in-place replacement syntax differences and extended regex cleanly
043,092 GitHub stars
05Integrates macOS-specific utilities like mdfind, pbcopy, and open into shell tasks
06Optimizes native BSD find and grep commands with filesystem pruning and exclusions

ユースケース

01Locating project files and directory patterns while skipping heavy folders like node_modules
02Refactoring text and performing pattern-based replacements safely across large codebases
03Constructing parallel command pipelines to process files and logs without syntax bugs