Content Cheatsheet
@alvagante/content-cheatsheetv2026.06.17.2
01README
Generate dense, visually structured cheatsheets on any technical topic. Outputs print-to-PDF-ready HTML (Cmd-P → Save as PDF) or GitHub-flavoured Markdown. Configurable skill level (novice→guru), verbosity, and completeness. Uses Claude or any OpenAI-compatible endpoint, or stores agent-written content keylessly.
02Models
@alvagante/content-cheatsheetv2026.06.17.2content_cheatsheet.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| apiKey? | string | |
| baseUrl? | string | |
| outputDir? | string |
fn generate(topic: string, details?: string, model: string, outputDir?: string, filename?: string)
Call the configured LLM to generate a cheatsheet on the given topic. Outputs a print-ready HTML file (outputFormat=html, default) or a Markdown file (outputFormat=markdown).
| Argument | Type | Description |
|---|---|---|
| topic | string | The subject of the cheatsheet (e.g. 'git', 'awk', 'Kubernetes RBAC') |
| details? | string | Additional context, constraints, or focus areas for the cheatsheet |
| model | string | LLM model ID to use for generation |
| outputDir? | string | Override the global outputDir for this run |
| filename? | string | Override the output filename (e.g. 'cheatsheet.html'). Defaults to '{title-slug}-cheatsheet.html'. Only applies to html and markdown outputFormats. |
fn save(topic: string, content: string, title?: string, details?: string, model: string, outputDir?: string)
Store agent-written cheatsheet content without making an LLM call. Wraps HTML bodies in the page shell; stores Markdown as-is.
| Argument | Type | Description |
|---|---|---|
| topic | string | The subject of the cheatsheet |
| content | string | Cheatsheet body — HTML component markup for html format, or Markdown for markdown format |
| title? | string | Override the title; otherwise derived from the first heading in content |
| details? | string | Context recorded in the cheatsheet resource |
| model | string | Identifier of whatever produced the content |
| outputDir? | string |
Resources
cheatsheet(infinite)— Cheatsheet metadata: topic, skill level, verbosity, completeness, word count, model, and generation timestamp
03Previous Versions
2026.06.17.1Jun 16, 2026
04Stats
A
100 / 100
Downloads
0
Archive size
22.2 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels