generate-docslisted
Install: claude install-skill primelogiclabio/claude-generate-docs
# Generate docs
Produces a doc for a technical topic in up to four formats, all from the same source material — write the content once, then render it once per format:
- **HTML** — one self-contained `.html` file people can just double-click open.
- **Markdown** — the same content in a plain `.md` file (for pasting into a wiki, diffing in git, or reading in a terminal).
- **PDF** — a print of the HTML, for attaching, emailing or printing.
- **Claude artifact** — the same HTML published as a private page at a claude.ai link, which the user can share from claude.ai. Only offered when this session has the artifact publishing tools (`publish_files` / `publish_version`).
## Pick the formats first
Before writing anything, settle which formats to produce:
- **If the request already says** ("just the HTML", "markdown only", "and a PDF", "as an artifact", "give me a link"), use that and don't ask.
- **Otherwise ask once**, as a multi-select question with HTML, Markdown and PDF as the choices (plus Claude artifact when the publishing tools are available) and HTML + Markdown preselected / marked recommended. Any non-empty combination is valid (HTML only, Markdown only, HTML + PDF, artifact only…).
- **If you can't ask** (a non-interactive or scheduled run), produce HTML + Markdown.
## Why these shapes
The HTML version is the one people actually read: it's visual, it follows the reader's system light/dark setting (with a toggle to override it, and a choice of accent colour), and i