shell-snippet-fmt

Installation
SKILL.md

shell-snippet-fmt

Always format shell snippets so each line fits within 120 columns. Where a line would exceed the limit, break at a safe point and continue with a trailing \.

Why

A 120-column cap keeps snippets readable in narrow terminals, GitHub diffs, side-by-side review panes, and chat windows. Explicit \ continuation is the only portable way to wrap a shell command without changing its semantics — the shell preserves whitespace inside quoted strings and heredocs verbatim, so wrapping there would alter the program.

Rule

Installs
13
First Seen
May 15, 2026
shell-snippet-fmt — petr-korobeinikov/skills