| name | cheat-sheet |
| description | Create a 1-2 page cheat sheet / quick reference for a tool, language, or framework. |
| argument-hint | <topic> [--pdf] [--output <path>] |
| allowed-tools | Read, Write, WebSearch, WebFetch, Task, AskUserQuestion, Skill |
| disable-model-invocation | true |
Cheat Sheet Creator
Create concise, high-quality cheat sheets for any tool, technology, language, framework, or concept. Output a practical 1-2 page reference document focusing on the most commonly used commands, features, and key information users look up repeatedly.
$ARGUMENTS
Step 1: Parse the Request
Extract from the arguments:
- Topic: The subject of the cheat sheet (required)
- Format: Markdown file (default) or PDF (if
--pdf flag or user requests PDF)
- Output path: Custom save location (if
--output specified), otherwise save to the current working directory
If the topic is ambiguous or too broad, use AskUserQuestion to clarify scope. For example, "Git" could mean basic commands, advanced workflows, or configuration — ask which aspect to focus on.
Step 2: Research the Topic
Conduct focused research to identify the most practical, commonly-referenced information.
- Search for official documentation: Quick-start guides, command references, API summaries
- Search for existing cheat sheets: Find what others consider essential for this topic
- Search for common usage patterns: Tutorials, Stack Overflow answers, blog posts showing frequent use cases
- Fetch key pages: Read 2-3 authoritative sources in full using WebFetch for precise syntax, flags, and options
Prioritize sources that reveal the most commonly used features, typical workflows, and critical gotchas.
Step 3: Plan the Cheat Sheet
Before writing, distill the research into a concrete plan:
- Select the 5-10 most commonly used commands/features to include
- Identify critical syntax patterns users frequently reference
- Group entries into 4-8 logical sections, ordered from most to least common
- Decide what to exclude — avoid comprehensive coverage; focus on high-value items only
Step 4: Write the Cheat Sheet
Follow the formatting guidelines in references/formatting-guide.md for structure templates, entry formatting rules, length targets, content priorities, and exclusion rules.
Key principles:
- Start with a one-sentence description of the topic
- Organize into clear sections with headers, most important first
- Target 1-2 printed pages — prefer density over completeness
- One line per entry — actionable, brief, code-formatted where appropriate
Step 5: Save the Output
Markdown Output (Default)
Save the cheat sheet as a markdown file:
- Filename:
<topic>-cheat-sheet.md (kebab-case)
- Location: Current working directory, or custom path if
--output specified
- Report the saved file path to the user
PDF Output (When Requested)
When the user requests PDF output (via --pdf flag or explicit request):
- Use the
latex skill to create the cheat sheet as a .tex file
- Apply the cheat-sheet-specific LaTeX adjustments from
references/formatting-guide.md (compact margins, small font, two-column layout, reduced spacing)
- Compile to PDF using the latex skill's compilation workflow
- Report the saved PDF path to the user
Additional Resources
Reference Files
references/formatting-guide.md — Detailed formatting rules, section templates, and examples of well-structured cheat sheet entries