using-modern-cli
Installation
SKILL.md
Modern CLI Tools
Use faster, ergonomic command-line tools installed on this system. Pick the tool
by target, not habit. Habit is how grep -R survives.
Quick Reference
- Search code structure —
ast-grep/sg(vs grep): AST-aware patterns, language constructs, safer refactor candidate search. - Search text —
rg(vs grep): fast literal/regex search, respects.gitignore. - Find files —
fd(vs find): simpler syntax, ignores.git. - View files —
bat(vs cat): syntax highlighting, line numbers. - List files —
eza(vs ls): icons, git status, tree view. - Replace text —
sd(vs sed): intuitive regex, preview mode. - Disk usage —
dust(vs du): visual tree, sorted by size. - Processes —
procs(vs ps): tree view, sortable columns. - Diff files —
delta(vs diff): syntax highlighting, side-by-side.