cheatsheet-md

JSON in, one page out

Turn a short JSON file into a dense, beautiful one-page cheat sheet.

Tell your coding agent what the card is for. It writes a small JSON file. You get one HTML page: sections packed into even columns, text sized to fit, ready to print.

npx github:isatimur/cheatsheet-md render sheet.json

A landscape A4 cheat sheet of git commands in the terminal theme: a dark shell window with eight panes of green and amber commands. A portrait A4 sheet of text editor shortcuts in the textbook theme: navy headings, key caps for Mac above Windows, three even columns. A pocket card of espresso ratios in the blueprint theme: white line work on blue, a ratio table and four boxed sections. real output, not a mock-up pocket card, 4 × 6 in

01 What you get

Dense, but easy to scan.

  • Even columns. Sections flow into two to four columns. The page measures each one and packs them so the columns end together.
  • One page, exactly. The text grows or shrinks until it fits. If it cannot fit at a readable size, the page says so.
  • Real key caps. Write Cmd+Shift+P. Get ⌘⇧P for Mac and CtrlShiftP for Windows.
  • Code, tables, notes. Key and description rows, code blocks, small tables, tips and warnings.
  • Made for paper. A4 or US Letter, portrait or landscape, a pocket card, one side or two.
  • Any script. Arabic and Hebrew run right to left. All text is escaped. No dependencies.

02 How it works

Ask. Check. Print.

  1. Ask your agent

    “Make a one-page git cheat sheet, landscape. Commands I use every day.”

    The agent asks for what it lacks, then shows your sheet in three themes so you can pick.

  2. It writes a short file

    { "title": "Git basics",
      "paper": "a4", "orientation": "landscape",
      "sections": [{
        "title": "Save work",
        "items": [
          { "term": "git add -p",
            "text": "Pick changes to stage" },
          { "warning": "One idea per commit." }
        ] }] }

    It checks the file and fixes every problem.

  3. You print one page

    npx github:isatimur/cheatsheet-md render git.json --out git.html

    Open the HTML file. Print with margins set to none. Or save it as a PDF.

03 Five themes

Same words. Five voices.

Each theme has its own type, layout and ink. Every image is real engine output for the same file. Open one to see the page itself.

Terminal theme: a dark shell window, green prompt title, amber commands, one pane per section.
terminalA dark shell window. Monospace, green and amber.
Textbook theme: white page, navy serif title with a double rule, numbered sections and hairlines.
textbookA clean study reference. Serif text, numbered sections.
Blueprint theme: white lines on blue, a fine grid, boxed sections with corner ticks.
blueprintA drafting sheet. White lines, fine grid, boxed sections.
Pastel theme: dotted paper, a hand-lettered title with a yellow highlighter stroke, a pastel card for each section.
pastelStudy notes. A soft colour for every section.
Print-saver theme: black on white, no fills, ruled columns, outlined key caps.
printsaverHigh contrast. No fills, so it prints sharp and light on ink.

04 Paper

Sized for the page you have.

A4 portrait3 columns
A4 landscape4 columns
US Letter3 or 4 columns
Pocket, 4 × 6 in2 or 3 columns

Choose one side or two. A two-sided sheet splits your sections across front and back, and sizes both sides alike.

05 Examples

Five sheets, all invented.

No real products, no made-up numbers. Open any card to see the page and print it yourself.

Pilcrow editor shortcuts, an A4 portrait sheet in the textbook theme.

A4 portrait · textbook

Editor shortcuts

A made-up text editor. Mac caps above Windows caps, chords, and a snippet table.

Open the page →
Git basics, an A4 landscape sheet in the terminal theme.

A4 landscape · terminal

Git basics

Commands by task, a reset table, code blocks and a warning about force-push.

Open the page →
Spanish verb endings, a US Letter sheet in the pastel theme.

US Letter portrait · pastel

Spanish verb endings

Ending tables for three tenses, plus ser or estar, stem changes and tips.

Open the page →
Espresso brew ratios, a pocket card in the blueprint theme.

Pocket card · blueprint

Espresso brew ratios

Dose and yield, timing, and what taste tells you. Small enough for a shirt pocket.

Open the page →
First aid quick reference, the front of a two-sided pocket card in the print-saver theme.

Pocket card, two-sided · print-saver

First aid quick reference

Front and back of one card. Illustrative only, and not medical advice.

Open the page →

06 Install

Pick one.

Claude Code plugin

/plugin marketplace add isatimur/cheatsheet-md
/plugin install cheatsheet-md@cheatsheet-md

Any agent, via skills.sh

npx skills add isatimur/cheatsheet-md

Command line

npx github:isatimur/cheatsheet-md render sheet.json --out sheet.html

Node 20 or newer. Nothing else to install. PDF export needs Playwright and is optional.