AgentSkillsCN

tools-visual-cheatsheets

打造便携式的 ASCII 命令面板,精简汇总各类 CLI 工作流(如 GitHub CLI、部署脚本等),方便随时查阅。

SKILL.md
--- frontmatter
name: tools-visual-cheatsheets
description: Build portable ASCII command panels summarizing CLI workflows (e.g., GitHub CLI, deployment scripts) for quick reference.

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

  1. Task categories (setup, sync, review, deploy).
  2. Command variants (bash/zsh vs PowerShell/CMD).
  3. Notes on flags, prerequisites, environment vars.

Workflow

  1. Select layout
    • Use table-like boxes:
      code
      +------------------------+
      | Action | macOS | Win  |
      +------------------------+
      
  2. 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 |
      
  3. Highlight critical flags
    • Use * or uppercase label; footnotes for risky commands.
  4. Add legend + context
    • Explain placeholders (<branch>), environment setups.
  5. Reuse
    • Store panels in .factory/cheatsheets/<topic>.txt and link from relevant skills.

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.