AGENT SKILL

make-a-doc

Page-style document, printable out of the box

License 许可
CC0-1.0
最近更新
2026-11-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
make-a-doc
description
Page-style document, printable out of the box
user-invocable
true

03 SKILL.md 正文

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 to custom text blocks). Long tables get a <thead> so the header repeats on every page. No position: fixed/sticky and no viewport units in content — fixed elements stamp every printed page (running headers/footers go in the component's slots) and 100vh mis-sizes at print.

Fixed sheet — a design that must fill exactly one page of fixed dimensions: poster, infographic, social graphic, certificate. No starter component — build it at its true pixel size with an explicit px width (and height if fixed) on the top-level element; the export sizes the PDF page to it automatically. Do not write any @page rule for it.

Styling (both shapes): body type 14–16px with generous line-height (1.55–1.7); clear heading hierarchy; restrained palette. Tables get a header row and hairline borders; figures and code blocks each carry a short caption. Open with the document's own h1 as the first body element (use any header-shaped first line of pasted content as that h1 rather than rendering it as a separate masthead).

04 同仓库更多 Skills

raaOS
raaOS/system_prompts_leaks

model-council

暂无简介

★ 0
raaOS
raaOS/system_prompts_leaks

writing-style

Draft or edit writing in the user's voice for the person who will read it and where it will appear. Use for messages, emails, documents or slides written on their behalf, not for your own replies.

★ 0
raaOS
raaOS/system_prompts_leaks

write-page

Create or edit requested Page/Space content, or use for prose you have already decided to save as a standalone Markdown file, only if the user did not explicitly request a Markdown file. Honor established formats, destinations, and repository documentation. A selected Page alone does not authorize a write.

★ 0
raaOS
raaOS/system_prompts_leaks

software-engineering

For use only in threads for this proactive personal assistant. Investigate software issues; inspect, write, review, or test code; work on a repository or local engineering file; or create, fix, or monitor a pull request or CI run. Use for actual engineering or product QA work, not a general programming explanation.

★ 0
raaOS
raaOS/system_prompts_leaks

slides-artifact

Use when the user asks to create, edit, or review slides or a presentation (PowerPoint or Google Slides), including when the task clearly calls for an audience-ready slide deck. Also use to answer questions that require inspecting an existing deck; not for general presentation advice or a chat-only outline.

★ 0
raaOS
raaOS/system_prompts_leaks

slack

Use when reading Slack conversations, deciding when to respond, or sending messages, files, and reactions in Slack.

★ 0