Generate a single-file HTML horizontal-swipe magazine from product metadata and brand guidelines.
/magazine-generator [product-name]
/magazine-generator acme-pro
What you’ll see: a short brand questionnaire (tagline, colors, fonts, product copy), then a self-contained output/magazine-acme-pro.html — a 10-page horizontal-swipe magazine you can open in any browser, email, or host as a static asset (Google Fonts requires internet access to load; offline viewing falls back to system fonts).
/magazine-generator # collect all inputs interactively
/magazine-generator acme-pro # use "acme-pro" as the product name, collect the rest
/magazine-generator acme-pro --fast # skip optional inputs, use sensible defaults
| Flag | Values | Default | What it does |
|---|---|---|---|
[product-name] |
— | asked interactively | Product name; also drives the output filename slug |
--fast |
— | off | Skips optional inputs and uses sensible defaults |
.claude/knowledge/shared/domain.md and CLAUDE.md if they exist, for product description, audience, differentiators, and any documented color/font preferences. Anything found here pre-fills the questions in the next step — you won’t be asked for it again.[PLACEHOLDER] text, and no secrets in the output./share the file.output/magazine-<product-name-slug>.html — the complete magazine (slug = product name lowercased, spaces → hyphens); the output/ directory is created if needed| Problem | Fix |
|---|---|
| Fonts don’t load when viewing | Google Fonts needs internet access — for offline viewing, expect fallback fonts |
| Swipe feels off in Firefox | Known Firefox quirk with smooth scroll + snap — the built-in JS navigation (arrows/dots) handles it correctly; Chrome and Safari are the primary targets |
| Mobile users don’t find the navigation | Horizontal swipe is non-standard on mobile — ask to add visible left/right arrow buttons for small viewports |
| No traction numbers to show | Leave them out — the launch page falls back to “Private Beta” or “Coming [Quarter Year]” copy instead of invented stats |
| Stakeholder raises accessibility concerns | The fixed-page horizontal-scroll format deliberately trades off WCAG 2.1 vertical-scroll compliance for the magazine aesthetic — flag this before publishing |