CLI Cheat Sheet ASCII Panels
Intent
- •Provide glanceable command guides embedded in skills, PRs, or READMEs.
- •Keep macOS/Linux and Windows variants side by side for parity.
Inputs
- •Task categories (setup, sync, review, deploy).
- •Command variants (bash/zsh vs PowerShell/CMD).
- •Notes on flags, prerequisites, environment vars.
Workflow
- •Select layout
- •Use table-like boxes:
code
+------------------------+ | Action | macOS | Win | +------------------------+
- •Use table-like boxes:
- •Populate commands
- •Keep lines ≤ 70 chars; escape PowerShell variables properly.
- •Example row:
code
| Clone | gh repo clone org/repo ~/code | gh repo clone org/repo $env:USERPROFILE\code |
- •Highlight critical flags
- •Use
*or uppercase label; footnotes for risky commands.
- •Use
- •Add legend + context
- •Explain placeholders (
<branch>), environment setups.
- •Explain placeholders (
- •Reuse
- •Store panels in
.factory/cheatsheets/<topic>.txtand link from relevant skills.
- •Store panels in
Verification
- •Panels align properly in fixed-width fonts (test in GH preview).
- •Include both macOS/Linux and Windows commands where relevant.
- •Commands tested recently; update date noted in panel footer.