make-a-doc

Featured

Page-style document, printable out of the box

AI & Automation 64,796 stars 10637 forks Updated yesterday CC0-1.0

Install

View on GitHub

Quality Score: 92/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Make a doc Create a document (resume, one-pager, memo, letter, report, guide, paper). First decide which of two shapes the user wants — they export completely differently: **Flowing pages** — text that pours onto standard sheets (Letter/A4) and breaks wherever needed: reports, memos, letters, papers, guides. START by calling `copy_starter_component` with `kind: "doc_page.js"`, then write the whole document as normal flowing HTML inside `<doc-page size="letter" margin="0.75in">`. The component owns the sheet, the desk background, and all print geometry — do NOT write your own `@page` rule, body background, page-card divs, `break-after: page` fake sheets, or `break-inside: avoid` on items inside multi-column grids (a grid only breaks between rows, so a kept row that doesn't fit leaves a blank band). Print rules for flowing pages: multi-column text uses CSS columns (`column-count` + `column-gap`; `column-span: all` on a heading that spans; `hyphens: auto` in narrow columns — it needs `lang` on the html element), never side-by-side flex/grid columns — only real CSS columns flow and break across pages. Use `break-before: page` on anything that must start a new page (a chapter, an appendix); add custom kept-together blocks (callouts, stat tiles, cards) to a `break-inside: avoid` rule and keep each shorter than a page — the component already keeps headings with their content, keeps figures/code/table rows whole, and suppresses orphans and widows (extend `orphans: 3; widows: 3` ...

Details

Author
asgeirtj
Repository
asgeirtj/system_prompts_leaks
Created
1 years ago
Last Updated
yesterday
Language
JavaScript
License
CC0-1.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

make-a-doc

Use when formatting technical documentation, whitepapers, or long-form reports

4 Updated today
imMamdouhaboammar
Data & Documents Listed

docx-builder

Use this skill to create professional, fully-editable Word (.docx) documents — reports, letters, contracts, memos, manuals. Design the document as flowing HTML/CSS (preview it as an Artifact to iterate visually with the user), then run the included Playwright + python-docx pipeline to convert the HTML into native, editable Word content (real headings, paragraphs with per-run formatting, lists, tables, images) — not a screenshot dump. Trigger on "make a Word document", "build a docx", "write a report", "draft a letter/contract", "create documentation".

0 Updated 1 months ago
Julien339
Data & Documents Listed

writing-documents

Write structured technical documents — design-doc, adr, spec, api-contract, architecture, handoff, design-handoff, discovery, test-report, postmortem, proposal, runbook, onboarding, tutorial, how-to, reference, explanation, mulesoft — as Markdown in the repo by default. Use when asked to write or restructure one of those types, including RFCs, ADRs, developer handoffs, API writeups, test summaries, discovery briefs, or MuleSoft project docs. Produce designed HTML or PDF only when asked. Do not use for casual edits to existing markdown, metric-led reports (analytical-document-design), slides (presentation-design), standalone charts or diagrams, restyling a file into HTML unprompted, or Mule markdown refresh when mule-docs is installed.

2 Updated 2 weeks ago
Avinava